docs-to-mcp
Provides tools to search and retrieve documentation from Cloudflare AI Search (AutoRAG) instances, enabling AI agents to query documentation sets stored in Cloudflare R2 buckets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docs-to-mcpSearch the documentation for how to configure the API."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
docs-to-mcp
A Cloudflare Worker that turns any AI Search (AutoRAG) instance into an MCP server.
Setup
Create an AI Search instance in the Cloudflare dashboard
Create a R2 bucket and upload all your docs files - markdown, pdfs, text files etc.
Go to Computer & AI > AI Search(AutorRAG)
Create a new AI Search instance and select the R2 bucket as source (the one you previously created), just select the defaults.
Configure the Worker
Update
wrangler.jsoncwith your AI Search name:"vars": { "AI_SEARCH_NAME": "your-ai-search-name" }Install dependencies
pnpm installDeploy
pnpm run deploy
Related MCP server: sakutto-mcp-server
Usage
MCP Endpoints
Endpoint | Transport | Description |
| Streamable HTTP | Standard MCP HTTP transport |
How did I test this.
I trained it on a fictional TypeScript framework with APIs named after my cat, Ustaad, so I would know it's not hallucinating, you can find these files in fake-knowledge.md
Available Tools
search_docs
Search the documentation and return relevant chunks.
Parameters:
query(required): The search querymax_results(optional): Maximum results (1-50, default 10)rewrite_query(optional): Rewrite query for better retrievalscore_threshold(optional): Minimum score threshold (0-1)
ai_search_docs
Search documentation and get an AI-generated response with sources.
Parameters: Same as search_docs
Connect from MCP Clients
Claude Desktop / Cursor / etc:
{
"mcpServers": {
"docs": {
"command": "npx",
"args": ["mcp-remote", "https://your-worker.workers.dev/mcp"]
}
}
}Direct remote MCP (if client supports it):
https://your-worker.workers.dev/mcpLocal Development
npm run devThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceA CloudFlare Workers-based MCP server that provides semantic memory and journal capabilities with vector search. Enables users to store, search, and retrieve memories and journal entries using AI-powered semantic similarity without any local setup required.Last updated
- -license-quality-maintenanceA production-ready MCP server for AI agents, providing deep web research and RAG capabilities via Cloudflare Workers.Last updated
- Flicense-qualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling connection to Cloudflare AI Playground or local MCP clients.Last updated
- Flicense-qualityCmaintenanceA remote MCP server deployed on Cloudflare Workers without authentication, enabling integration with AI clients like Claude Desktop and Cloudflare AI Playground for tool execution.Last updated
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fayazara/docs-to-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server