MCP TypeScript SDK

Active
GitHub TypeScript NOASSERTION

Description

MCP TypeScript SDK is the official TypeScript implementation for building MCP servers and clients, standardizing protocol integrations across JS/TS agent ecosystems.

Key Features

  • Official TypeScript implementation of MCP, supporting Node.js, Bun, and Deno
  • Split Server and Client packages for tools, resources, and prompts
  • Streamable HTTP and stdio transport layers
  • Middleware packages for Express, Hono, and Node.js HTTP frameworks
  • Standard Schema support for tool and prompt definitions
  • Complete examples and tutorials for building MCP servers from scratch

Use Cases

💡 Building MCP servers to provide tools and resources for LLMs
💡 Developing LLM-powered chatbot clients
💡 Standardizing tool protocol integration across JS/TS agent ecosystems
💡 Adding MCP-compatible data access layers to existing applications
💡 Building cross-platform AI agent interoperability infrastructure

Categories

Quick Start

Install with npm install @modelcontextprotocol/server, create an McpServer instance, register tools, and connect via StdioServerTransport. Follow the weather server tutorial at docs/server-quickstart.md.

Related Projects