Typescript SDK MCP Server
Build MCP servers and clients using TypeScript for Node.js, Bun, and Deno.
Data last scanned today · Reviewed today
Overview
This SDK provides the essential TypeScript packages, @modelcontextprotocol/server and @modelcontextprotocol/client, to implement the Model Context Protocol. It abstracts the complexities of context provision by offering standardized tools, resources, and prompt handling for AI applications. The library supports multiple runtimes including Node.js, Bun, and Deno. Developers can leverage built-in middleware for frameworks like Express, Fastify, and Hono, while also utilizing modular transports and authentication helpers.
Our verdict
The TypeScript SDK maintains a high risk level with a security score of 53/100. This assessment is primarily driven by its community-maintained status and the lack of an independent editorial review of its implementation. While the project is highly active with 13,076 GitHub stars and zero direct dependencies, potential adopters should proceed with caution regarding the undefined license state (NOASSERTION) and unverified OAuth and read-only mode security properties.
- Zero direct dependencies reduce the supply-chain attack surface.
- Active development with commits occurring daily.
- Broad compatibility across Node.js, Bun, and Deno runtimes.
- Comprehensive v2 documentation and ten-minute tutorials.
- Community-maintained status lacks formal vendor verification.
- License status is currently marked as NOASSERTION.
- Crucial security areas like OAuth support remain unreviewed.
- Read-only mode implementations have not been audited.
Setup
{
"mcpServers": {
"typescript-sdk": {
"args": [
"-y",
"@modelcontextprotocol/sdk"
],
"command": "npx"
}
}
}Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.
- No read-only mode — running this grants full read/write access.
- No built-in authentication — anyone with access to this config can invoke every tool it exposes.
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›Which JavaScript runtimes are supported by the TypeScript SDK?
The SDK is compatible with Node.js, Bun, and Deno.
›Can I use my preferred validation library for tool and prompt schemas?
Yes, the SDK uses Standard Schema, allowing you to use Zod v4, Valibot, ArkType, or any other compatible validation library.
›What is the purpose of the middleware packages?
Middleware packages act as thin adapters to help you wire MCP into specific runtimes or frameworks like Express, Fastify, Hono, or Node.js HTTP.
›Is the v2 SDK considered stable?
Yes, the v2 SDK is the stable release line implementing the 2026-07-28 MCP specification.
›Are security updates still provided for v1.x?
Yes, v1.x will continue to receive bug fixes and security updates for at least 6 months after the release of v2.
Alternatives
Changelog
- Fix1.30.0
2026-07-27
- Breaking@modelcontextprotocol/server@2.0.0
2026-07-27
- Fix
- Fix@modelcontextprotocol/node@2.0.0
2026-07-27
- Fix@modelcontextprotocol/hono@2.0.0
2026-07-27
- Fix@modelcontextprotocol/fastify@2.0.0
2026-07-27
- Fix@modelcontextprotocol/express@2.0.0
2026-07-27
- Breaking@modelcontextprotocol/core@2.0.0
2026-07-27
- Fix@modelcontextprotocol/codemod@2.0.0
2026-07-27
- Breaking@modelcontextprotocol/client@2.0.0
2026-07-27
Badge
Maintain this server? Add the live badge to your README.