
MCP客户
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
MCP Client
Een Python webapplicatie voor het interacteren met Large Language Models en het verbinden met Model Context Protocol (MCP) servers.
Wat is MCP Client?
MCP Client is een applicatie die een browser-gebaseerde interface biedt voor gebruikers om te chatten met verschillende LLMs (zoals Claude, GPT, etc.) en de functionaliteit van deze LLMs uit te breiden door verbinding te maken met MCP servers. MCP (Model Context Protocol) is een open standaard die clients en servers in staat stelt om gestructureerd te communiceren over context, tools, en andere capabilities voor LLMs.
Deze applicatie maakt het mogelijk om:
- Met verschillende LLMs te chatten in een gebruiksvriendelijke interface
- MCP servers te configureren en ermee te verbinden
- Tools van MCP servers aan te roepen via LLM chat
- Bestanden en andere resources te delen met LLMs
- Herbruikbare prompts te gebruiken
Status van het Project
Dit project is in ontwikkeling. Momenteel zijn de volgende onderdelen geïmplementeerd:
- Basisstructuur van het project
- FastAPI backend met MCP API endpoints
- Mock MCP client implementatie
- LLM integratie abstracties
- Configuratiebeheer
- Chat interface
- Frontend implementatie
- Echte MCP SDK integratie
- Gebruikersauthenticatie
Installatie
Vereisten
- Python 3.10 of hoger
- Node.js 16 of hoger (voor frontend ontwikkeling)
Lokale ontwikkelomgeving
# Python environment setup
uv venv
source .venv/bin/activate # Op Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"
# Start de applicatie
python main.py
De webinterface is nu beschikbaar op: http://127.0.0.1:8000
Test API Endpoints
De volgende API endpoints zijn beschikbaar:
-
GET /api/v1/health
- Health check endpoint -
GET /api/v1/mcp/servers
- Lijst van verbonden MCP servers -
GET /api/v1/mcp/tools
- Lijst van beschikbare tools -
GET /api/v1/mcp/resources
- Lijst van beschikbare resources -
GET /api/v1/mcp/prompts
- Lijst van beschikbare prompts
Ontwikkeling
Zie VOLGENDE_STAPPEN.MD voor meer informatie over de geplande ontwikkeling.
Project Structuur
mcp-client/
├── mcp_client/ # Python package
│ ├── api/ # FastAPI endpoints
│ ├── core/ # Core functionality
│ │ ├── mcp/ # MCP client implementation
│ │ └── transport/ # Transport implementations
│ ├── config/ # Configuration handling
│ ├── llm/ # LLM integration
│ ├── static/ # Static web files
│ └── utils/ # Utility functions
├── mcp_client_config/ # Configuration files
├── tests/ # Test suite
├── frontend/ # Frontend code (React/TypeScript)
├── .env # Environment variables
├── PLANNING.MD # Project planning document
├── TAKEN.MD # Project tasks list
└── README.md # This file
Configuratie
De applicatie gebruikt environment variabelen die kunnen worden ingesteld in het .env
bestand. Zie .env.example
voor een voorbeeld.
MCP Servers Configureren
MCP servers kunnen worden geconfigureerd in het mcp_client_config/servers.json
bestand:
{
"servers": [
{
"name": "Example MCP Server",
"url": "http://localhost:3000",
"transport_type": "sse",
"auth_token": null,
"enabled": true,
"metadata": {
"description": "Example MCP server for demonstration"
}
}
]
}
Licentie
Dit project is gelicenseerd onder de MIT-licentie.
Gerelateerde Projecten
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_pSYpbQ18
As a loyal mcp-client user, I must say that this tool, developed by ealgera, has significantly streamlined my workflow. The intuitive interface and seamless integration with existing systems make it an indispensable resource. The welcoming information keeps users engaged right from the start. Highly recommended for efficiency enthusiasts!

user_0RgXF3F4
I have been using mcp-client by ealgera for a while now, and I must say it has significantly improved my work efficiency. The user-friendly interface and seamless integration make it an indispensable tool for any project. Highly recommended for anyone looking for reliable and effective solutions!

user_FL0Ali4f
I've been using the mcp-client by ealgera and it has been a game changer for me. The interface is extremely user-friendly, making it easy to navigate and utilize all its features. The integration is seamless and the performance is top-notch. Highly recommended for anyone looking for reliability and efficiency!

user_tb8Q9F77
The mcp-client by ealgera is an outstanding tool that's incredibly user-friendly and efficient. It offers a seamless experience that is both intuitive and robust. From its well-crafted welcome information to its effectiveness in executing tasks, it’s a must-have for those who appreciate quality software. Highly recommended!

user_1K3X4qB5
As a dedicated user of mcp-client, I must say this tool is a game-changer! Developed by ealgera, it provides a seamless and efficient experience. The intuitive interface and robust functionality make it an indispensable resource in my workflow. Highly recommended for anyone looking to streamline their processes!

user_qxKr8y2H
As a dedicated user of mcp-client developed by ealgera, I must say it has significantly enhanced my workflow. The tool is intuitive, and the welcome message makes the onboarding process smooth. Highly recommended for anyone looking to streamline their tasks efficiently!

user_hw5RwtFd
The mcp-client by ealgera is an outstanding tool for seamless client management. It offers a user-friendly interface that makes navigation a breeze, and the overall design is intuitive. The welcome information provided at the start is very helpful for first-time users. Being a loyal user, I appreciate the consistent updates and robust performance of the application. Highly recommend this for anyone looking for a reliable client management solution!

user_IeTfufAl
As a dedicated user of mcp-client created by ealgera, I must say this tool has significantly enhanced my workflow. The user-friendly interface and seamless integration with my existing systems have made tasks much more efficient. I highly recommend this client to anyone looking for a reliable and robust solution.

user_084cB6Om
I've been using mcp-client by ealgera and it has significantly streamlined my workflow. Its user-friendly interface and reliable performance make it a standout tool. Whether you are a beginner or an advanced user, mcp-client offers robust features that cater to all your needs. Highly recommended for anyone looking to enhance productivity!