Back to Home
ygorkouzak icon

amigo-mcp-server

by ygorkouzak

Overview

Exposing a set of specific business functions (tools) as an API endpoint, likely for integration with agents or other systems, focused on patient/system management for an 'Amigo' application.

Installation

Run Command
python server.py

Environment Variables

  • MCP_AUTH_TOKEN
  • MCP_ALLOWED_HOSTS
  • ALLOWED_HOSTS
  • FASTMCP_LOG_LEVEL

Security Notes

The core MCP endpoint `/sse`, which exposes all registered tools (e.g., `buscar_paciente`, `agendar_compromisso`, `status_sistema`), is explicitly excluded from the `SecurityMiddleware`'s authentication checks in `server.py`. Additionally, `main.py` exposes `/sse` without any middleware. This means the server's tools are accessible without any authentication, making it highly vulnerable if exposed to untrusted networks. While `MCP_AUTH_TOKEN` is used, it only protects routes *other* than `/sse`, `/health`, and `/`. `host="0.0.0.0"` and `forwarded_allow_ips="*"` further highlight the need for external network security.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Avg Tokens30
Stars0
Forks0
Last Update2025-12-21

Tags

MCPAPIBackendPythonMicroservices