Cover image
Try Now
2025-04-14

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

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • dmayboroda
  • 带有可配置容器的本地对话抹布

    Reviews

    2.4 (9)
    Avatar
    user_pSYpbQ18
    2025-04-26

    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!

    Avatar
    user_0RgXF3F4
    2025-04-26

    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!

    Avatar
    user_FL0Ali4f
    2025-04-26

    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!

    Avatar
    user_tb8Q9F77
    2025-04-26

    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!

    Avatar
    user_1K3X4qB5
    2025-04-26

    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!

    Avatar
    user_qxKr8y2H
    2025-04-26

    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!

    Avatar
    user_hw5RwtFd
    2025-04-26

    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!

    Avatar
    user_IeTfufAl
    2025-04-26

    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.

    Avatar
    user_084cB6Om
    2025-04-26

    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!