Servers
MCP Client Toolkit
@tileshq
TypeScript client library and utilities for remote Model Context Protocol (MCP) servers
Overview
What is MCP Client Toolkit?
A TypeScript client library and utilities for connecting to and interacting with remote Model Context Protocol (MCP) servers, including OAuth authentication, tool discovery, and CLI commands.
How to use MCP Client Toolkit?
Import the library and create an MCPClient instance with an OAuth handler and callback port, then call connect() with the server URL. Use the exported CLI utility functions (listTools, showToolDetails, callTool) to interact with the connected server.
Key features of MCP Client Toolkit
- OAuth 2.0 authentication support (BrowserOAuthHandler, CustomOAuthHandler)
- Automatic transport fallback (HTTP → SSE)
- Connection management via ConnectionManager
- Tool discovery and execution
- Real-time notifications
- CLI utilities for listing, viewing, and calling tools
Use cases of MCP Client Toolkit
- Connect to a remote MCP server with OAuth authentication
- Discover and