MCP Client
@1999AZZAR
关于 MCP Client
TypeScript client for interacting with MCP (Model Context Protocol) servers
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Client?
A TypeScript client for interacting with MCP (Model Context Protocol) servers. It includes specialized clients for Wikipedia, Dictionary, Google Search, and LRU Caching services, providing a promise-based API with full type definitions.
How to use MCP Client?
Install via npm (npm install @your-org/mcp-client) or yarn. Create a base MCPClient instance with a server URL, then call request(method, params) or batchRequest(requests). For specialized services, instantiate WikipediaClient, DictionaryClient, GoogleSearchClient, or LRUCacheClient with the appropriate server URL and use their dedicated methods.
Key features of MCP Client
- TypeScript support with full type definitions
- JSON-RPC 2.0 protocol and batch request support
- Configurable timeouts and custom headers
- Specialized clients for Wikipedia, Dictionary, Google Search, and LRU Cache
- Promise-based API with comprehensive error handling
Use cases of MCP Client
- Search Wikipedia and retrieve page content
- Look up word definitions, synonyms, and antonyms
- Perform web, image, and news searches via Google
- Set, get, and manage key-value entries in an LRU cache with TTL
- Make arbitrary JSON-RPC requests to any MCP server
FAQ from MCP Client
What protocols does the client support?
It supports the JSON-RPC 2.0 protocol, including batch requests.
How does error handling work?
Methods return Promises that reject on failure: network/HTTP errors provide status and data, while MCP protocol errors include an error code.
What are the runtime requirements?
A TypeScript/Node.js environment. Install the npm package (@your-org/mcp-client) and build with npm run build.
Where does data live?
All data resides on the MCP server specified by the url option; the client only sends requests and receives responses.
What are the transport and authentication options?
The client uses HTTP and accepts custom headers (e.g., for authentication) via the headers option in the constructor.
其他 分类下的更多 MCP 服务器
Codelf
unbugA search tool helps dev to solve the naming things problem.

EverArt
modelcontextprotocolModel Context Protocol Servers
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Nginx UI
0xJackyYet another WebUI for Nginx
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论