package
Model Context Protocol implementation for TypeScript - Server package
npm install @modelcontextprotocol/serverGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Latest published Oct 23, 2026
latest
@modelcontextprotocol/serverThe MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that expose tools, resources, and prompts.
This is v2 of the MCP TypeScript SDK, the stable release line, implementing the 2026-07-28 MCP spec. It replaces the single
@modelcontextprotocol/sdkpackage from v1. Start with the documentation; coming from v1, see the migration guide. Found a problem? Open an issue.
npm install @modelcontextprotocol/serverTypeScript ≥6.0 no longer auto-includes @types/* — add "types": ["node"] to your tsconfig.json compilerOptions (the published .d.mts references Buffer).
Optional framework adapters: @modelcontextprotocol/express, @modelcontextprotocol/fastify, @modelcontextprotocol/hono,
@modelcontextprotocol/node.
pcarleton
paul@modelcontextprotocol.io
Estimated unpacked size across 3 packages.
13.9 MB
Includes dependencies.