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
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

    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!