Pick a tutorial
Start at the top if you are new. The first three need no MCP key at all.DeepWiki — repo Q&A
The starting point. No API key. Ask questions about any public GitHub repo.
Model:
Model:
claude-sonnet-5GitMCP — one-repo docs bot
Turn a single repository into its own documentation server. No API key.
Model:
Model:
gemini/gemini-2.5-proMicrosoft Learn — grounded answers
Ground an agent in official Azure/.NET docs instead of training data. No API key.
Model:
Model:
groq/llama-3.3-70b-versatileExa — live web search
Real-time web search with citations. Free-tier key, sent as a query parameter.
Model:
Model:
gpt-5.4Firecrawl — scrape pages to markdown
Render JavaScript, strip the chrome, hand the model clean markdown. Key in the URL path.
Model:
Model:
claude-opus-5Hugging Face — find models
Search the Hub for models and datasets. Optional token — anonymous access still works.
Model:
Model:
claude-haiku-4-5Semgrep — security review
A real static analyzer finds the bugs; the model triages and patches them. Bearer token.
Model:
Model:
gpt-5.4Several servers at once
mcp_urls=[...] — one agent, the union of every server’s tools, routing handled for you.
Model:
claude-sonnet-5MCP in a multi-agent workflow
One server per agent in a
Models: mixed, one per stage
SequentialWorkflow, and why splitting beats piling them on.
Models: mixed, one per stage
Dynamic tool loading
A server with 40 tools should not put 40 schemas in every request. It does not have to.
Model:
Model:
gpt-5.4-miniAuthentication patterns
Query parameter, Bearer header, URL path segment, custom header, OAuth 2.1.
Build your own server
Expose your own Python functions over MCP with
Model:
FastMCP, then point an agent at them.
Model:
gpt-5.4-miniWhich server needs a key?
Servers change their auth requirements over time — Semgrep was open and is now token-gated. Verify before you depend on one.
The full catalog lives in
FREE_MCP_SERVERS.md.
Setup, once
Every tutorial links to the runnable script it is based on, under
examples/mcp/ in the swarms repo.See also
- Model Context Protocol (MCP) — the reference: connection objects, transports, caching,
MCPManager. - MCPManager API — calling MCP directly, without an agent.
- Dynamic tool usage — deferred tool loading for local Python tools.