Typescript MCP

Building MCP (Model Context Protocol) servers in TypeScript on Cloudflare Workers with the official @modelcontextprotocol/sdk: registering tools, resources, and prompts, Hono HTTP routing, StreamableHTTPServerTransport setup, authentication (API keys, OAuth, Zero Trust), Cloudflare D1/KV/R2/Vectorize integration, wrangler deployment, and testing. Prevents common failures including export syntax errors, Zod schema validation failures, memory leaks from unclosed transports, CORS misconfiguration, and missing rate limiting. Use when exposing APIs, tools, or data to LLMs as a stateless serverless MCP server on the edge. Not for Python MCP servers (see FastMCP), stateful WebSocket agents (Cloudflare Agents SDK), or local stdio CLI tools.

jackspace Updated

File contents

jackspace/ClaudeSkillz/tree/main/skills/typescript-mcp commit c71d52ade1

Frequently asked questions

npx skillmds@latest add jackspace/typescript-mcp