typescript-sdk
6,987
The Model Context Protocol TypeScript SDK enables developers to build and interact with MCP servers, offering data and tools for AI applications in a standardized manner. It supports creating, managing, and connecting to servers through standardized communication channels.
Overview
The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements the full MCP specification, making it easy to:
- Build MCP clients that can connect to any MCP server
- Create MCP servers that expose resources, prompts and tools
- Use standard transports like stdio and Streamable HTTP
- Handle all MCP protocol messages and lifecycle events