cloudflare-mcp-server

Solid

Build MCP (Model Context Protocol) servers on Cloudflare Workers with tools, resources, and prompts.

DevOps & Infrastructure 162 stars 25 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
74
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
91
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Cloudflare MCP Server **Last Updated**: 2025-11-21 ## Quick Start ```typescript import { McpServer } from '@modelcontextprotocol/sdk'; const server = new McpServer({ name: 'my-server', version: '1.0.0' }); server.tool('getTodo', async ({ id }) => ({ id, title: 'Task', completed: false })); export default server; ``` ## Core Concepts - **Tools**: Functions AI can call - **Resources**: Data AI can access - **Prompts**: Reusable templates - **Transports**: SSE, HTTP, WebSocket ## Example Tool ```typescript server.tool('searchDocs', { description: 'Search documentation', parameters: { type: 'object', properties: { query: { type: 'string' } } }, handler: async ({ query }) => { return { results: [...] }; } }); ``` ## Resources ### Core Documentation - `references/quick-start-guide.md` (704 lines) - Official Cloudflare templates, complete step-by-step workflow, 5-minute setup - `references/core-concepts.md` (66 lines) - MCP fundamentals: tools, resources, prompts, transports - `references/worker-basics.md` (326 lines) - Worker & Durable Objects basics, transport selection, HTTP fundamentals - `references/stateful-servers.md` (246 lines) - Durable Objects integration, WebSocket hibernation, cost optimization, common patterns - `references/production-deployment.md` (814 lines) - Deployment & testing, configuration reference, authentication patterns, 22 known errors with solutions ### Templates - `templates/basic-mcp.ts` - Minima...

Details

Author
secondsky
Repository
secondsky/claude-skills
Created
6 months ago
Last Updated
2 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

mcp-server-patterns

Build MCP servers with Node/TypeScript SDK — tools, resources, prompts, Zod validation, stdio vs Streamable HTTP. Use Context7 or official MCP docs for latest API.

199,470 Updated yesterday
affaan-m
AI & Automation Solid

mcp-server-patterns

Build MCP servers with Node/TypeScript SDK — tools, resources, prompts, Zod validation, stdio vs Streamable HTTP. Use Context7 or official MCP docs for latest API.

148,923 Updated 1 months ago
affaan-m
AI & Automation Solid

mcp-developer

Use when building, debugging, or extending MCP servers or clients that connect AI systems with external tools and data sources. Invoke to implement tool handlers, configure resource providers, set up stdio/HTTP/SSE transport layers, validate schemas with Zod or Pydantic, debug protocol compliance issues, or scaffold complete MCP server/client projects using TypeScript or Python SDKs.

9,537 Updated 1 weeks ago
Jeffallan
AI & Automation Listed

building-mcp-servers

Guides creation of high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). Covers tool design, authentication, Docker deployment, and evaluation creation. NOT when consuming existing MCP servers (use the server directly).

335 Updated today
aiskillstore
AI & Automation Solid

mcp-builder

Use when creating a new MCP (Model Context Protocol) server, extending an existing one, or debugging tool discoverability/performance. Guides through research → implementation → test → eval phases with TypeScript-first guidance matching our stack. Trigger on phrases like "build an MCP server", "expose X as an MCP tool", "write MCP tools for Y", "integrate Z via MCP".

48 Updated 2 days ago
Kanevry