模型协议编排框架

集成Langflow和Python的模型上下文协议(MCP)服务器,提供计算器、利息计算、天气查询等功能。

  • by Adnanrizvi0242
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 Adnanrizvi0242/mcp-orchestration

使用说明

MCP编排框架(Langflow+Python)

此项目演示了一个自定义MCP(模型上下文协议)服务器 与Langflow集成,用于工具编排。

特性

  • 计算器(BODMAS)
  • 单利(SI)
  • 复利(CI)
  • EMI计算器
  • 天气工具(Weatherstack API)
  • 确定性刀具路径

技术栈

  • Python 3.11
  • 郎福
  • MCP(快速MCP)
  • Weatherstack API公司
  • 基于AST的安全数学评估

安装说明

git clone <repo-url>
cd mcp-orchestration
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt


Create .env:
    WEATHERSTACK_API_KEY=your_api_key_here


Run Langflow:
    langflow run


Import the flow from:

langflow/mcp_orchestration_flow.json

Import the flow from:

langflow/mcp_orchestration_flow.json



Example Prompts

2+2

SI 10000 5 2

CI 10000 5 2

EMI 500000 8 20

jamshedpur weather```