Cloudflare mcp server
Build MCP (Model Context Protocol) servers on Cloudflare Workers with tools, resources, and prompts.From its SKILL.md
npx -y skills add VRIL-LABS/skill-jam --skill cloudflare-mcp-serverAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, 446 tokens by cl100k_base, as published. Nobody here has run it
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
Core Documentation
references/quick-start-guide.md(704 lines) - Official Cloudflare templates, complete step-by-step workflow, 5-minute setupreferences/core-concepts.md(66 lines) - MCP fundamentals: tools, resources, prompts, transportsreferences/worker-basics.md(326 lines) - Worker & Durable Objects basics, transport selection, HTTP fundamentalsreferences/stateful-servers.md(246 lines) - Durable Objects integration, WebSocket hibernation, cost optimization, common patternsreferences/production-deployment.md(814 lines) - Deployment & testing, configuration reference, authentication patterns, 22 known errors with solutions
Templates
templates/basic-mcp.ts- Minimal MCP servertemplates/tools-example.ts- Tool definitionstemplates/durable-object-mcp.ts- Stateful MCP with DOtemplates/websocket-mcp.ts- WebSocket transport
Official Docs: https://modelcontextprotocol.io | Cloudflare: https://developers.cloudflare.com/workers/runtime-apis/durable-objects/
What ships with it: 26 files
190.8 KB alongside SKILL.md, 8 of them executable
references/
- authentication.md9.1 KB
- common-issues.md6.8 KB
- core-concepts.md1.6 KB
- debugging-guide.md12.7 KB
- error-catalog.md268 B
- http-transport-fundamentals.md10.3 KB
- oauth-providers.md4.6 KB
- official-examples.md4.2 KB
- production-deployment.md17.6 KB
- quick-start-guide.md16.9 KB
- stateful-servers.md5.0 KB
- transport-comparison.md9.4 KB
- transport.md2.6 KB
- worker-basics.md7.0 KB
templates/
- basic-mcp-server.tsruns6.4 KB
- basic-mcp.tsruns257 B
- claude_desktop_config.json751 B
- mcp-bearer-auth.tsruns16.0 KB
- mcp-http-fundamentals.tsruns8.4 KB
- mcp-oauth-proxy.tsruns9.1 KB
- mcp-stateful-do.tsruns8.2 KB
- mcp-with-d1.tsruns19.0 KB
- mcp-with-workers-ai.tsruns11.0 KB
- package.json557 B
- wrangler-basic.jsonc923 B
- wrangler-oauth.jsonc2.1 KB