This is a Model Context Protocol (MCP) client project designed to facilitate advanced interactions with AI models and services.
- Node.js (version 16 or higher)
- pnpm (package manager)
- Clone the repository
git clone https://github.com/your-username/mcp-client.git
cd mcp-client- Install dependencies
pnpm install- Copy
mcp_config.json.exampletomcp_config.json - Modify the configuration file with your specific server and tool settings
- To run the client:
pnpm start-
All your own servers will be registered when you run the client.
-
You can use the
list-toolsAPI to list all the tools available for a specific server.
curl --location 'http://localhost:3000/list-tools/{serverName}'- You can use the
call-toolAPI to call a specific tool.