
mcp client
MCP REST 客户端,可以使用 REST API 与每个代理集成,如光标、Vercel AI。
Repository Info
About This Server
MCP REST 客户端,可以使用 REST API 与每个代理集成,如光标、Vercel AI。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Client
Overview
This is a Model Context Protocol (MCP) client project designed to facilitate advanced interactions with AI models and services.
Prerequisites
- Node.js (version 16 or higher)
- pnpm (package manager)
Installation
- Clone the repository
git clone https://github.com/your-username/mcp-client.git
cd mcp-client
- Install dependencies
pnpm install
Configuration
- Copy
mcp_config.json.exampletomcp_config.json - Modify the configuration file with your specific server and tool settings
Usage
- 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.
curl --location 'http://localhost:3000/call-tool' \
--header 'Content-Type: application/json' \
--data '{
"serverName": "server_name",
"toolName": "tool_name",
"args": {
// Arguments must match the inputSchema from the list-tools response
// Required fields must be included
// Optional fields can be omitted
// Example based on above schema:
// "issue_key": "PROJ-123" // Required
// "expand": "..." // Optional
}
}'
Cursorrules
All tool calls will be logged in the .cursorrules file.
IMPORTANT:
- YOU MUST COPY CURSORRULES TO YOUR OWN REPO AND EDIT IT TO YOUR OWN NEEDS.
- YOU MUST COPY "mcp_config.json" TO YOUR OWN REPO AND EDIT IT TO YOUR OWN NEEDS.
- YOU MUST USE COMPOSER WITH AGENT.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Your Name - your.email@example.com
Project Link: https://github.com/your-username/mcp-client
Quick Start
Clone the repository
git clone https://github.com/vurtnec/mcp-clientInstall dependencies
cd mcp-client
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.