FastMCP Server
FastMCP Server
Python FastMCP (Model Context Protocol) 服务器带 Bearer Token 认证
运行方法
本地运行
pip install -r requirements.txt
python server.pyDocker 运行
docker build -t fastmcp .
docker run -p 8000:8000 -e FASTMCP_AUTH_TOKEN=your-secret-token fastmcpRelated MCP server: MCP Server Node
部署
클라우드타입
选择模板:
FastMCP
部署
Python 3.12
环境变量
FASTMCP_AUTH_TOKEN: 设置用于认证的令牌(认证时使用的令牌)启动命令
uvicorn server:app --host 0.0.0.0 --port 8000
确认连接信息
MCP 连接地址 - https://<已部署的预览域名地址>/mcp
更新 代码提交并推送后,在
设置选项卡中点击部署按钮进行部署
YouTube 指南
部署自动化
认证
使用 Bearer 令牌认证:
环境变量:
FASTMCP_AUTH_TOKEN请求头:
Authorization: Bearer your-token
支持的工具
create_task:创建任务
complete_task:完成任务
list_tasks:查看任务列表
环境变量
FASTMCP_AUTH_TOKEN : Bearer 令牌(必需)
FASTMCP_HOST : 服务器主机(可选/默认:0.0.0.0)
FASTMCP_PORT : 服务器端口(可选/默认:8000)
使用方法
Porter AI
问题解决
许可证
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
- mcpOAuthnet.todoist
Official Todoist MCP server for AI assistants to manage tasks, projects, and workflows.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA simple MCP server for task management with Bearer token authentication, supporting create, complete, and list tasks operations.7MIT
- AlicenseNot gradedqualityDmaintenanceA Node.js MCP server example with user management, task management, and calculator tools. Supports authentication via bearer token and can be deployed locally or via Docker.17 npmMIT
- AlicenseNot gradedqualityDmaintenanceA Node.js MCP server with user, task, and calculator tools. Supports Bearer token authentication and Docker/Cloudtype deployment.17 npmMIT
- FlicenseBqualityCmaintenanceA task manager MCP server that enables creating, reading, updating, and deleting tasks persisted in a local JSON file.4-