Cloudflare MCP Server — Code Mode
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Cloudflare MCP Server — Code Mode
Serverless starter for building a remote Model Context Protocol (MCP) server on Cloudflare Workers.
The project is designed for code mode: clients can discover capabilities and compose tool calls with structured responses. Arbitrary code execution is not enabled in the starter; it should only be added after defining a sandbox, authentication, limits, and auditing.
Goals
Run on the edge via Cloudflare Workers.
Expose an MCP endpoint at
/mcp.Keep tools small, typed, and composable.
Prepare OAuth authentication and Cloudflare bindings.
Evolve to secure code execution in an isolated sandbox.
Related MCP server: remote-mcp-server-authless01
Local development
Prerequisites: Node.js 18+ and a Cloudflare account with Workers enabled.
npm install
npm run devThe local server is available at http://localhost:8788/mcp.
To validate with the MCP Inspector:
npx @modelcontextprotocol/inspector@latestDeploy
npx wrangler login
npm run deployAfter deploying, the endpoint will be:
https://<worker>.<account>.workers.dev/mcpStructure
src/index.ts: Worker HTTP routing.src/mcp.ts: MCP server and tools.wrangler.jsonc: Worker configuration.PLAN.md: implementation plan and acceptance criteria.
Security
Do not add eval, new Function, or a code interpreter directly to the Worker. For code mode with real execution, use an appropriate sandbox, strong authentication, API allowlists, CPU/memory/time limits, per-user isolation, and logs without secrets.
Next steps
See PLAN.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Cloudflare Workers MCP server: agent-workflow-engine
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDeploy a stateless remote MCP server on Cloudflare Workers without authentication, enabling tool calls via MCP protocol.-
- FlicenseNot gradedqualityCmaintenanceA stateless remote MCP server on Cloudflare Workers without authentication, supporting custom tool registration and integration with MCP clients like Cloudflare AI Playground and Claude Desktop.-
- FlicenseNot gradedqualityDmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, implementing the MCP 2026-07-28 specification and compatible with legacy clients for tool calls.-
- FlicenseNot gradedqualityFmaintenanceEnables deploying a stateless remote MCP server on Cloudflare Workers without authentication, implementing the MCP 2026-07-28 specification while remaining compatible with legacy clients for tool calls.-