Integrations
Supports configuration through environment variables for API keys and endpoints, allowing secure storage of authentication credentials
MCP Python Server — API Wrapper
Este proyecto crea un servidor MCP en Python que expone una herramienta para consultar una API externa. Compatible con Claude Desktop o ChatGPT Desktop que soporten el Model Context Protocol (MCP).
✨ Características
- Exposición de una herramienta (tool) vía MCP
- Consulta HTTP a una API externa
- Integración directa con Claude/Desktop vía claude.json
🚀 Requisitos
- Python 3.9+
- mcp[cli] (instalable vía pip o uv)
- Claude o ChatGPT Desktop (con soporte MCP)
📁 Estructura del proyecto
⚙️ Instalación
Con pip
Con uv (recomendado)
Instación del MCP
Inatalación con .env
Instalación de dependencias
Variables de entorno
Crea un archivo .env
en la raíz del proyecto para definir variables de entorno opcionales:
👷 Rápido Inicio (Quickstart)
Crear el servidor server.py
Ejecutar localmente en modo dev
Ejecutar en modo producción
O con uv:
🚀 Integración con Claude/Desktop
Ubica claude.json en la carpeta de configuración de Claude/Desktop:
- En Windows: %APPDATA%\Claude\claude.json
- En Linux/macOS: ~/.claude/claude.json
Ejemplo:
🤖 Uso dentro de Claude/Desktop
Puedes pedirle al modelo:
Usa la herramienta consultar_api con el parámetro "ping"
Y el modelo usará tu servidor MCP para hacer una llamada HTTP en tiempo real.
🎁 Bonus: extensión de herramientas
🔍 Recursos
- Documentación oficial MCP: https://docs.mcp.run/
- Repositorio SDK Python: https://github.com/modelcontextprotocol/mcp
✅ Hecho con amor y httpx 🚀
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Python server implementing the Model Context Protocol that exposes tools for querying external APIs, compatible with Claude Desktop and ChatGPT Desktop.
Related MCP Servers
- -securityAlicense-qualityA Python-based server that implements the Model Context Protocol to interface with Claude Desktop as an MCP client, supporting interaction through efficient memory management.Last updated -1PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -4Python
- -securityFlicense-qualityA Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.Last updated -462Python