typescript-sdk

typescript-sdk

Official TypeScript SDK for Model Context Protocol, supporting the development of MCP servers and clients.

MCPDevOpen source
Type
MCP
Open source
Yes
GitHub Stars
★ 12.7k
Source
mcp-github

Overview

Model Context Protocol (MCP) enables applications to provide context to LLMs in a standardized way. This TypeScript SDK runs on Node.js, Bun, and Deno, offering both server and client libraries for MCP. It includes tools/resources/prompts, Streamable HTTP, stdio, authentication helpers, and more. Ideal for developers needing to supply context to AI models.

Capabilities

  • Build MCP servers
  • Build MCP clients
  • Support multiple transport protocols
  • Provide authentication helper functions

Use cases

Build a weather serviceBuild an LLM-based chatbotIntegrate MCP into specific runtimes or frameworks

Setup

Requires: Node.jsBunDeno
npm install @modelcontextprotocol/server @modelcontextprotocol/client

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I get started with the MCP TypeScript SDK?

Refer to the quickstart tutorials, such as building a weather service or an LLM-based chatbot.

Does the SDK support other runtimes?

Currently supports Node.js, Bun, and Deno.

Related skills