Skip to main content
Stop copy-pasting docs. If you’re vibe coding in Cursor, automating with Claude Code, or building an agent pipeline with Codex, you can give your agent instant, accurate access to the entire Swarms API either through a live MCP server it can query on-demand, or a single llms.txt file you drop into context. Both are free, require no API key, and take under a minute to set up.

Overview

Two ways to give your coding agent full access to the Swarms API documentation: No API key required for either. No installation needed.
The Swarms Documentation MCP Server is a hosted remote server that exposes the entire Swarms API documentation as a live searchable tool. Connect it once and your agent can look up API references, code examples, and architecture guides on-demand. MCP Server URL: https://docs.swarms.ai/mcp

Available Tool: SearchSwarmsApiDocumentation

Example queries your agent will run:
  • "agent completion API parameters"
  • "how to run a sequential workflow"
  • "mixture of agents example Python"
  • "authentication and API key setup"
  • "batch processing multiple agents"

Setup by Agent

Claude Code

Or add manually to your MCP config:

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

Cursor

Add to Cursor Settings → MCP, or to your project-level .cursor/mcp.json:

Windsurf

Open the MCP configuration panel and add:

OpenAI Codex / Agents SDK

VS Code (GitHub Copilot)

Add to your workspace .vscode/settings.json:

Continue.dev

Add to ~/.continue/config.json:

Any MCP-Compatible Agent

Point any agent or framework that supports remote MCP HTTP transport at:
No authentication. No API key. Just works.

Option 2: llms.txt (For Vibe Coders)

llms.txt is a plain-text file containing the full Swarms API documentation in a format optimized for LLMs. Drop it into your context window, paste it into your system prompt, or use it as a reference file in any AI-assisted coding workflow. URL: https://docs.swarms.ai/llms.txt

When to Use llms.txt

Use llms.txt when:
  • You’re in a one-shot vibe coding session and want to paste docs directly into the prompt
  • Your agent or IDE doesn’t support MCP yet
  • You want to seed a new conversation with full API knowledge before asking your agent to write Swarms code
  • You’re using a raw API call (OpenAI, Anthropic, Groq, etc.) and want docs in the system prompt

How to Use It

In a system prompt:
In Claude / ChatGPT / Gemini:
  1. Open https://docs.swarms.ai/llms.txt in your browser
  2. Copy the full content
  3. Paste it at the top of your conversation or into the system prompt field
  4. Start asking questions and generating Swarms code with full doc context
In Cursor / Windsurf (as a context file):
Add this reference at the top of your chat message. The agent will fetch and use the full docs as context. Via curl (download locally):
Then reference the local file in your IDE or agent config.

MCP Server Specification


Resources