MCP Client

by 1999AZZAR

284 downloads
Not rated
GitHub

About

TypeScript client for interacting with MCP (Model Context Protocol) servers

Details

Author
1999AZZAR
Downloads
284
Categories
Other

- 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

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.

MCP Client

A TypeScript client for interacting with MCP (Model Context Protocol) servers, including specialized clients for Wikipedia, Dictionary, Google Search, and LRU Caching services.

Features

- TypeScript support with full type definitions
- Support for JSON-RPC 2.0 protocol
- Batch request support
- Configurable timeouts and headers
- Comprehensive error handling
- Specialized clients for different MCP services
- Promise-based API

Installation

```bash
npm install @your-org/mcp-client

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.