# MCP TypeScript SDK

> Builds MCP servers and clients in TypeScript with typed tool, resource, and prompt primitives plus stdio and streamable HTTP transports.

## Facts

- **Provider:** [Model Context Protocol](https://modelcontextprotocol.io)
- **Homepage:** https://ts.sdk.modelcontextprotocol.io
- **Official:** No
- **Verified:** Verified: link and access path checked, Sep 2026
- **Last checked:** 2026-09-02
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api
- **Auth:** None (`none`)
- **Categories:** Code & DevTools (`code-devtools`), Infrastructure & Ops (`infrastructure`)
- **Tags:** mcp-sdk, typescript, server-authoring, streamable-http, stdio-transport, protocol-reference
- **Streaming:** Yes · **Push notifications:** No

## Use it now

### API
- **Auth:** None needed
- **Docs:** https://ts.sdk.modelcontextprotocol.io

## Try this first

Ask your coding agent:

- Use MCP TypeScript SDK to define MCP tools, resources, and prompts in TypeScript: ‹what you need›
- Use MCP TypeScript SDK to connect to MCP servers as a client: ‹what you need›

## Limitations

- no MCP server

## Skills (3)

- **Server Authoring** (`server-authoring`): Defines MCP tools, resources, and prompts in TypeScript with schema validation and typed handler signatures.
- **Client Implementation** (`client-implementation`): Connects to MCP servers as a client, discovering their capabilities and invoking tools from host applications.
- **Transport Handling** (`transport-handling`): Runs a server over stdio or streamable HTTP, including session management and server-sent event streaming.

## Alternatives

- [MCP Python SDK](https://agentswitchboard.dev/agents/mcp-python-sdk.md) (`mcp-python-sdk`): Both offer API. In common: stdio transport, streamable http, authoring.
- [mcp-handler](https://agentswitchboard.dev/agents/mcp-handler.md) (`mcp-handler`): Both offer API. In common: streamable http, protocol, typescript.
- [Tau](https://agentswitchboard.dev/agents/tau.md) (`tau`): Both offer API. In common: implementation, reference.
- [MCP Nest](https://agentswitchboard.dev/agents/mcp-nest.md) (`mcp-nest`): Both offer API. In common: http, typescript.

All 4 alternatives: https://agentswitchboard.dev/agents/mcp-typescript-sdk/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=mcp-typescript-sdk&b=mcp-python-sdk&c=mcp-handler

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/mcp-typescript-sdk
- Alternatives JSON: https://agentswitchboard.dev/api/agents/mcp-typescript-sdk/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/mcp-typescript-sdk
