Cover image
Try Now
2025-04-14

MCP客户使用Python

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Client Web App

A simple Python web application using FastAPI to connect to an MCP server, display status, and list available tools.

Requirements

  • Python 3.13 or higher
  • A virtual environment (recommended)
  • MCP client dependencies (see requirements.txt)

Installation

  1. Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

Running the App

Start the FastAPI server using Uvicorn:

uvicorn app:app --reload

Open your browser and navigate to http://127.0.0.1:8000

Usage

  1. In the web interface, enter the MCP server JSON block (e.g., Puppeteer):
{"Puppeteer": {"command": "npx", "args": ["-y", "@modelcontextprotocol/server-puppeteer"]}}
  1. Click Connect.
  2. View the connection status and the list of available tools supported by the server.

Refer to the Model Context Protocol Quickstart and FAQs for more information.

相关推荐

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

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

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

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

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

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

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

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

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

  • paulwing
  • 使用MCP服务创建的测试存储库

    Reviews

    5 (2)
    Avatar
    user_YYjSi6Hs
    2025-04-24

    AI-experiments-1 is a highly engaging and innovative application created by jol333. It offers a unique set of AI-driven experiments that showcase the power and versatility of modern AI technology. The user-friendly interface and detailed welcome information make it easy to explore and understand each experiment. As a loyal MCP user, I found it to be a valuable addition to the range of AI tools available. Highly recommended!

    Avatar
    user_NshJv7o7
    2025-04-24

    As an avid MCP app user, the AI-experiments-1 by jol333 is an excellent and innovative tool. It provides a seamless experience for conducting AI experiments with ease. Highly recommend it for all enthusiasts and professionals looking to push the boundaries of AI.