任务管理API服务

一个基于FastAPI和MCP服务器的任务管理API服务,提供创建和管理待办事项的功能,适用于开发测试和API集成场景。

  • by haniyya-h
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 haniyya-h/MCP

使用说明

FastAPI+MCP服务器演示

此仓库包含:

  • 一个小型的FastAPI Todo应用程序(app/main.py)
  • MCP服务器(MCP_server.py),它公开工具并通过HTTP调用FastAPI端点
  • 要创建的脚本 ~/.mcp/config.json 并运行演示

快速启动:

  1. python-m venv.venv&&source.venv/bin/activate
  2. pip安装-r要求.txt
  3. bashsetup_mcp_config.sh
  4. 在终端运行中:bash run_demo.sh
  5. 在另一个终端测试中: gemini mcp list 和 gemini mcp call fastapi-mcp list_todos '{}'

demo/(空)