MCP_Modularity 项目 README
@kirintea
About MCP_Modularity 项目 README
Overview
What is MCP_Modularity?
MCP_Modularity 是一个用于与多个大语言模型(LLM)进行交互的客户端项目,支持 OpenAI、OpenRouter、DeepSeek、Siliconflow、Ollama、Claude 等多种 LLM 服务,提供统一的接口处理用户查询和工具调用。它适合需要在不同 LLM 之间灵活切换并调用预定义工具的开发者或应用场景。
How to use MCP_Modularity?
安装 Python 3.x 及依赖(requests、asyncio、mcp 等),在 start_client.py 中配置 MCP 服务器 URL、LLM API 地址、密钥和模型名称,然后运行 python start_client.py 启动客户端,在命令行中输入查询语句,输入 exit 退出。
Key features of MCP_Modularity
- 支持 OpenAI、DeepSeek、Ollama 等多种大语言模型。
- 允许模型调用预定义工具解决用户问题。
- 流式响应提供实时交互体验。
- 可通过配置文件或代码设置基本 URL、API 密钥、模型名称等。
Use cases of MCP_Modularity
- 在命令行中与多个 LLM 对话,并调用工具完成复杂任务。
- 测试不同 LLM 对同一工具调用的支持情况。
- 构建多模型兼容的 AI 助手原型。
FAQ from MCP_Modularity
MCP_Modularity 支持哪些 LLM 模型?
支持 OpenAI 兼容系列(OpenAI、OpenRouter、DeepSeek、Siliconflow、Ollama、Claude 等)以及本地部署的 Ollama。
如何配置 LLM 的 API 密钥和 URL?
在 start_client.py 的 config 字典中设置 llm_api_url、llm_api_key 和 llm_model 即可。
是否所有模型都支持工具调用?
不是,某些模型可能不支持工具调用,客户端会在日志中输出相应错误信息。
MCP_Modularity 的启动方式是什么?
直接运行 python start_client.py,启动后可在命令行输入查询。
项目是否开源?如何反馈问题?
项目在 GitHub 上开源,可通过提交 issue 或 pull request 反馈问题或贡献代码。
Basic information
Category
Other
Author
More Other MCP clients
Dify Connect MCP
difybaseMCP (Model Context Protocol) Frontend
shaharia-labFrontend for MCP (Model Context Protocol) Kit for Go - A Complete MCP solutions for ready to use

Banks to AI
upx.comBanks to AI gives any MCP-compatible agent (Claude, Cursor, or your own) secure, read-only access to real bank data — 12,000+ financial institutions across the US, Canada and beyond. How it works: authenticate via OAuth
Aura AI
auraai.appAccess 20+ AI video and image models from Google, OpenAI, xAI, ByteDance, and more. Generate and edit videos with Veo 3.1, Sora 2, Seedance, Kling O3, and images with FLUX, Nano Banana, Seedram 4, GPT Image — all in one
Anirudh's Chat
kamathA simple NextJS MCP client with sensible keybindings
Comments