Skip to main content
Glama
legotec73

FastMCP Server

by legotec73

FastMCP Server

Python FastMCP (Model Context Protocol) servidor con autenticación Bearer Token

Método de ejecución

Ejecución local

pip install -r requirements.txt
python server.py

Ejecución con Docker

docker build -t fastmcp .
docker run -p 8000:8000 -e FASTMCP_AUTH_TOKEN=your-secret-token fastmcp

Related MCP server: MCP Server Node

Despliegue

클라우드타입

  1. Seleccionar plantilla : FastMCP

  1. Desplegar

  • Python 3.12

  • Variables de entorno FASTMCP_AUTH_TOKEN : Establece el token a usar para la autenticación (token usado al autenticar)

  • Comando de inicio uvicorn server:app --host 0.0.0.0 --port 8000

  1. Verificar información de conexión

    Dirección de conexión MCP - https://<배포된 프리뷰 도메인 주소>/mcp

  1. Actualizar Después de hacer commit y push del código, despliega con el botón Desplegar en la pestaña Configuración.

Guía de YouTube

Automatización de despliegue

Autenticación

Se utiliza autenticación con token Bearer:

  • Variables de entorno: FASTMCP_AUTH_TOKEN

  • Encabezado: Authorization: Bearer your-token

Herramientas compatibles

  • create_task : Crear tarea

  • complete_task : Completar tarea

  • list_tasks : Ver lista de tareas

Variables de entorno

  • FASTMCP_AUTH_TOKEN : Token Bearer (obligatorio)

  • FASTMCP_HOST : Host del servidor (opcional/por defecto: 0.0.0.0)

  • FASTMCP_PORT : Puerto del servidor (opcional/por defecto: 8000)

Métodos de uso

Porter AI

Solución de problemas

License

MIT License

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Node.js MCP server with user, task, and calculator tools. Supports Bearer token authentication and Docker/Cloudtype deployment.
    17 npm
    MIT
  • F
    license
    B
    quality
    C
    maintenance
    A task manager MCP server that enables creating, reading, updating, and deleting tasks persisted in a local JSON file.
    4
    -