MCP Python Server — API Wrapper
About
It is a Python MCP server that exposes a tool to query an external HTTP API. Designed for use with Claude Desktop or ChatGPT Desktop that support the Model Context Protocol.
Details
- Author
- cdryampi
- Downloads
- 291
- Categories
- Developer Tools
Jump to
- Exposes an external API query as an MCP tool
- Built with FastMCP and httpx
- Direct integration via claude.json
- Supports optional environment variables (API_KEY, API_URL)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Python Server — API WrapperCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies (pip install "mcp[cli]" or uv add "mcp[cli]"), then run mcp dev server.py for development or mcp run server.py for production. Integrate with Claude Desktop by adding an entry in claude.json pointing to the server script. Once configured, you can ask the model to use the consultar_api tool with a parameter.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp python server \u2014 api wrapper": {
"mcp-cdryampi": {
"command": "uv",
"args": [
"init",
"mcp-api-server"
]
}
}
}
}
McpServers
{
"mcp-cdryampi": {
"command": "uv",
"args": [
"init",
"mcp-api-server"
]
}
}
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
``
.
├── servidores/profile.py # Servidor MCP con herramientas para interactuar con mi backend del curriculum.
├── server.py # Servidor MCP con herramienta "consultar_api".
├── .env # Variables opcionales para auth/API.
├── claude.json # Config. MCP para integrarlo directamente.
└── README.md # Este documento.
`
---
⚙️ Instalación
Con pip
`bash
pip install "mcp[cli]"
`
Con uv (recomendado)
`bash
uv init mcp-api-server
cd mcp-api-server
uv add "mcp[cli]"
`
Instación del MCP
`bash
mcp install mi_script.py
`
Inatalación con .env
`bash
mcp install mi_script.py -f .env
`
Instalación de dependencias
`bash
pip install -r requirements.txt
`
Variables de entorno
Crea un archivo .env en la raíz del proyecto para definir variables de entorno opcionales:
``envSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





