SuperiorAPIs MCP Server Tool
Herramienta de servidor MCP SuperiorAPIs
📖 Descripción
Este proyecto es un servidor MCP basado en Python que obtiene dinámicamente definiciones de complementos de SuperiorAPIs y genera automáticamente funciones de herramientas MCP basadas en esquemas OpenAPI.
El servidor hará lo siguiente:
Obtener metadatos del complemento
Analizar el esquema
Generar funciones de herramientas dinámicamente
Ejecutar el servidor MCP
Related MCP server: mcp-api-gateway
🚀 Características
Carga dinámica de complementos desde SuperiorAPIs
Generación automática de modelos
pydanticy funciones asíncronasEjecución asincrónica de API mediante
aiohttpRegistro de la herramienta MCP en tiempo de ejecución
Admite configuración basada en el entorno
Listo para la implementación de la plataforma UVX
📂 Estructura del proyecto
.
├── main.py # MCP server core logic
├── requirements.txt # Python dependency list
├── setup.py # Packaging setup
├── Dockerfile # (Optional) Docker container build file
└── README.md # Project documentation⚙️ Instalación
Clonar el proyecto e instalar las dependencias:
git clone https://your-repo-url.git
cd your-repo
pip install -r requirements.txt🌍 Variables de entorno
Antes de ejecutar, configure las siguientes variables de entorno:
Linux/macOS
export TOKEN=your_token_here
export APPLICATION_ID=your_application_id_hereCMD de Windows
set TOKEN=your_token_here
set APPLICATION_ID=your_application_id_here🖥️ Uso
Ejecute el servidor MCP:
python main.pyEl servidor hará lo siguiente:
Obtener datos del complemento de SuperiorAPIs
Generar dinámicamente funciones de herramientas MCP
Registrar las herramientas
Iniciar el servidor MCP
Punto final de API
Las definiciones de complementos se obtienen de:
https://superiorapis-creator.cteam.com.tw/manager/module/plugins/list_v2Se requiere autorización a través del encabezado token .
🧠 Ejemplo de función de herramienta generada
@mcp.tool()
async def post_example_tool(param1: Optional[str] = None, param2: Optional[int] = None) -> str:
"""
Tool description | API summary.
# Args:
param1 (string, optional): Description of param1.
param2 (integer, optional): Description of param2.
# Returns:
200 (object): API response.
"""📜 Requisitos
aiohttp>=3.8.6
pydantic>=2.5.3
mcp-sdk>=0.1.0❗ Manejo de errores
Si la llamada API falla o devuelve status: 0 , el programa saldrá con:
❌ Error: API returned no data or status is 0. Please check if the API is working properly.📦 Embalaje (opcional)
Construya el paquete:
python setup.py sdist bdist_wheelInstalar el paquete:
pip install dist/mcp-superiorapis-1.0.0-py3-none-any.whlEjecutar usando Docker (si es necesario):
docker build -t superiorapis-mcp .
docker run -e TOKEN=your_token -e APPLICATION_ID=your_app_id superiorapis-mcp📄 Licencia
Licencia MIT (o su licencia personalizada)
👨💻 Autor
Su nombre / Su empresa
Contacto: your_email@example.com
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
- Alicense-qualityCmaintenanceTurns any OpenAPI specification into a fully working MCP server with a single command, enabling AI agents to call APIs without writing any glue code.8MIT
- FlicenseAqualityDmaintenanceA universal MCP server that integrates any API with Claude Desktop by pointing it at a Swagger/OpenAPI spec, automatically generating tools for interaction.342
- Flicense-qualityBmaintenanceA plugin-based MCP server built on FastAPI that supports dynamic tool loading, hot reloading, and API key authentication for extensible AI tool integrations.
- Alicense-qualityBmaintenanceAutomatically generates MCP server tools from OpenAPI specifications, enabling LLMs to interact with any API defined by an OpenAPI spec through natural language.19MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI dialogue using various LLM models via AceDataCloud
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/CTeaminfo/mcp_superiorapis_local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server