Overview

by anix001

272 downloads
Not rated
GitHub

About

The Model Context Protocol (MCP) allows applications to provide context for large language models in a standardized way. This TypeScript SDK implements the full MCP specification, making it easy to build MCP clients and servers, and to expose resources, prompts, and tools.

Details

Author
anix001
Downloads
272
Categories
Developer Tools

- 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 SSE.
- Handle all MCP protocol messages and lifecycle events.

Install the package via npm: npm install @modelcontextprotocol/sdk. You can then create an MCP server by writing a JavaScript file and configuring it in tools like Cursor AI using a JSON entry under mcpServers, specifying the Node.js command and path to your server script.

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:

1. Build MCP clients that can connect to any MCP server
2. Create MCP servers that expose resources, prompts and tools
3. Use standard transports like stdio and SSE
4. Handle all MCP protocol messages and lifecycle events

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.