关于
This TypeScript library facilitates communication with MCP servers, enabling LLM agents to access resources, tools, prompts, and sampling functionalities. It supports both stdio and HTTP+SSE transports, offers built-in server process management, and integrates seamlessly with Claude's native tool calling. With its type-safe API, event-based architecture, and promise-based async/await structure, it provides a robust foundation for developing advanced LLM applications.
主要功能
- Built-in MCP server process management
- 11 GitHub stars
- Type-safe API
- Full implementation of the MCP specification
- Supports stdio and HTTP+SSE transports
- Integrates with Claude's native tool calling
使用案例
- Building custom LLM applications leveraging resources, prompts, and tools from MCP servers.
- Connecting to MCP servers to access available tools.
- Integrating MCP tools with Claude for enhanced LLM functionality.