You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds documentation for the new Agents SDK Documentation MCP server that provides token-efficient search of Cloudflare Agents SDK documentation.
Related to cloudflare/agents#643
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: src/content/docs/agents/model-context-protocol/mcp-servers-for-cloudflare.mdx
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,38 @@ These MCP servers allow your MCP Client to read configurations from your account
30
30
|[DNS Analytics server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dns-analytics)| Optimize DNS performance and debug issues based on current set up |`https://dns-analytics.mcp.cloudflare.com/mcp`|
31
31
|[Digital Experience Monitoring server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dex-analysis)| Get quick insight on critical applications for your organization |`https://dex.mcp.cloudflare.com/mcp`|
32
32
|[Cloudflare One CASB server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/cloudflare-one-casb)| Quickly identify any security misconfigurations for SaaS applications to safeguard users & data |`https://casb.mcp.cloudflare.com/mcp`|
33
-
|[GraphQL server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql/)| Get analytics data using Cloudflare’s GraphQL API |`https://graphql.mcp.cloudflare.com/mcp`|
33
+
|[GraphQL server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql/)| Get analytics data using Cloudflare's GraphQL API |`https://graphql.mcp.cloudflare.com/mcp`|
34
+
|[Agents SDK Documentation server](https://github.com/cloudflare/agents/tree/main/site/agents)| Token-efficient search of the Cloudflare Agents SDK documentation |`https://agents.mcp.cloudflare.com/mcp`|
34
35
35
36
Check our [GitHub page](https://github.com/cloudflare/mcp-server-cloudflare) to know how to use Cloudflare's remote MCP servers with different MCP clients.
36
37
38
+
## Agents SDK Documentation server
39
+
40
+
The Agents SDK Documentation server provides a token-efficient search tool for the Cloudflare Agents SDK documentation. This server is particularly useful when building with the Agents SDK, allowing you to quickly find relevant documentation without consuming excessive tokens.
41
+
42
+
### Available tools
43
+
44
+
The server exposes one tool:
45
+
46
+
-**search-agent-docs**: Search the Cloudflare Agents SDK documentation using natural language queries
47
+
-**query** (string): Query string to search for (for example, `agent hibernate`, `schedule tasks`)
48
+
-**k** (number, optional): Number of results to return (default: 5)
49
+
50
+
### How it works
51
+
52
+
The server fetches documentation from GitHub, chunks it using a recursive chunker, and indexes it with Orama. The index is cached in KV for one day. Search uses BM25 with stemming enabled, which allows natural language queries like "hibernation" to match with "hibernate" for better results.
53
+
54
+
### Usage example
55
+
56
+
Connect to the server at `https://agents.mcp.cloudflare.com/mcp` in your MCP client. You can then use queries like:
57
+
58
+
-`agent hibernate` - Find information about agent hibernation
59
+
-`schedule tasks` - Learn about task scheduling
60
+
-`tool calling` - Discover how to implement tool calling
61
+
62
+
The server returns relevant documentation chunks with their file names and full content URLs, making it easy to find the information you need while building agents.
63
+
64
+
### Rate limiting
65
+
66
+
The server is designed to avoid GitHub rate limiting by caching documentation. If you are self-hosting this server, you can set the `GITHUB_TOKEN` environment variable to increase your rate limits.
0 commit comments