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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA simple MCP server for task management with Bearer token authentication, supporting create, complete, and list tasks operations.7MIT
- AlicenseNot gradedqualityCmaintenanceA 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.7MIT
- FlicenseNot gradedqualityBmaintenanceA lightweight task management MCP server that enables CRUD operations on tasks stored in a single JSON file, including listing, creating, updating progress, and setting priorities.133
- AlicenseNot gradedqualityCmaintenanceA Node.js MCP server with user, task, and calculator tools. Supports Bearer token authentication and Docker/Cloudtype deployment.7MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/legotec73/FastMCPserver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server