typescript-sdk
View on GitHubThe official TypeScript SDK for Model Context Protocol servers and clients
Official TypeScript SDK implementing the Model Context Protocol, split into @modelcontextprotocol/server and /client packages. Provides stdio and Streamable HTTP transports, OAuth helpers, framework middleware, and runnable examples for building MCP servers and clients.
Use Cases
Build MCP servers exposing tools, resources, and prompts to LLMsBuild MCP clients that connect to servers over stdio or Streamable HTTPAdd OAuth auth helpers to MCP servers and clientsWire MCP into Express, Fastify, Hono, or Node.js HTTP appsImplement the MCP specification in TypeScriptShip schema-validated tool inputs with Zod, Valibot, or ArkTypeRun MCP servers on Node.js, Bun, or Deno
Built With
- Language
- TypeScript
- Frameworks
- Express · Fastify · Hono · Node.js · Bun · Deno · Zod · Valibot · ArkType · Standard Schema · VitePress · TypeDoc · Vitest · pnpm
Tags
mcp · typescript · sdk · mcp-server · mcp-client · streamable-http · stdio · oauth · json-rpc · tool-calling · middleware · monorepo · nodejs · bun · deno · standard-schema