MCP Python Server — API Wrapper
@cdryampi
关于 MCP Python Server — API Wrapper
MCP de mi perfil
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-cdryampi": {
"command": "uv",
"args": [
"init",
"mcp-api-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Python Server — API Wrapper?
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.
How to use MCP Python Server — API Wrapper?
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.
Key features of MCP Python Server — API Wrapper
- 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)
Use cases of MCP Python Server — API Wrapper
- Let an AI assistant fetch live data from a public API
- Build a demo that queries a backend and returns results in chat
- Extend with additional tools (e.g., translation)
FAQ from MCP Python Server — API Wrapper
What are the dependencies?
Python 3.9+ and the mcp[cli] package. Optionally httpx for HTTP requests (included in the example).
How do I set the API endpoint?
Define API_URL and optionally API_KEY in a .env file, then load it with mcp install server.py -f .env.
What transport does the server use?
The server uses the Model Context Protocol default transport (stdio). It is configured via mcp run or the claude.json command line.
Can I add more tools?
Yes. The README shows an example traducir tool using the @mcp.tool() decorator.
开发工具 分类下的更多 MCP 服务器
Huoshan Test
volcengineUnity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
评论