secondsky avatar

Cloudflare Mcp Server

This is a solid foundation for building MCP servers on Cloudflare's edge infrastructure. You get tools, resources, and prompts working on Workers, with proper templates for stateful servers using Durable Objects and WebSocket support. The quick start guide is thorough at 704 lines, and the production deployment reference covers 22 known errors with solutions, which honestly saves you hours of debugging. Best for when you want your AI integrations running globally distributed rather than on a single server. The stateful patterns with Durable Objects are where this gets interesting, letting you maintain conversation context or session state without spinning up traditional infrastructure.

skills.sh installs
388
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill cloudflare-mcp-server --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloudflare MCP Server

Last Updated: 2025-11-21

Quick Start

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

server.tool('searchDocs', {
  description: 'Search documentation',
  parameters: {
    type: 'object',
    properties: {
      query: { type: 'string' }
    }
  },
  handler: async ({ query }) => {
    return { results: [...] };
  }
});

Resources

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1levnikolaevich avatarln-722-backend-generatorlevnikolaevich/claude-code-skillsGenerates .NET Clean Architecture backend structure from entity definitions. Use when bootstrapping .NET backend projects.376skills.sh installs
2bobmatnyc avatarbetter-auth-integrationsbobmatnyc/claude-mpm-skillsBetter Auth framework integrations for TypeScript. Use when wiring route handlers in Next.js, SvelteKit, Remix, Express, Hono, or other web frameworks.363skills.sh installs
3sickn33 avatarcc-skill-backend-patternssickn33/antigravity-awesome-skillsbackend patterns351skills.sh installs
4bobmatnyc avatarphoenix-api-channelsbobmatnyc/claude-mpm-skillsPhoenix controllers, JSON APIs, Channels, and Presence on the BEAM348skills.sh installs
5vercel avatarrouting-middlewarevercel/vercel-pluginrouting middleware338skills.sh installs
6incept5 avatareve-auth-and-secretsincept5/eve-skillpacksAuthenticate with Eve, manage project secrets, and add SSO login to Eve-deployed apps.332skills.sh installs