Basic information
About MCP FastAPI Server
# MCP FastAPI Server\n\nA FastAPI-based async API server that communicates with Model Context Protocol (MCP) servers.\n\n## Features\n\n- List available MCP servers\n- List tools available from MCP servers\n- Invoke tools on MCP servers\n\n## API Endpoints\n\n- `POST /api/list-mcp-servers`: List all available MCP servers\n- `POST /api/list-tools`: List all tools available from an MCP server\n- `POST /api/invoke-tool`: Invoke a tool on an MCP server\n\n## Prerequisites\n\n- Python 3.8 or higher\n- An accessible MCP server (local or remote)\n\n## Installation\n\n1. Clone this repository:\n ...
MCP FastAPI Server is a MCP client in the Other category listed in the AddMCP.net directory, published by karthikv2k. Runtime: python. The repository has 4 GitHub stars. Source code is hosted on github.com.
MCP FastAPI Server config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
MCP FastAPI Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP FastAPI Server?
MCP FastAPI Server is a FastAPI-based async API server that communicates with Model Context Protocol (MCP) servers. It runs locally and enables users to list available MCP servers, list tools, and invoke tools via REST API endpoints.
How to use MCP FastAPI Server?
Install Python 3.8 or higher, clone the repository, create a virtual environment, install dependencies, and configure the .env file with the MCP server URL. Start the server with uvicorn app.main:app --reload, then call the provided API endpoints using HTTP clients like curl.
Key features of MCP FastAPI Server
- Lists available MCP servers
- Lists tools available from an MCP server
- Invokes tools on an MCP server
- Provides interactive Swagger UI and ReDoc documentation
- Built with FastAPI for async performance
Use cases of MCP FastAPI Server
- Querying which MCP servers are reachable in your environment
- Discovering tools exposed by a specific MCP server
- Calling a tool on an MCP server from a REST client
- Integrating MCP capabilities into web applications or scripts
Frequently asked questions
1 What platforms does MCP FastAPI Server run on?
It requires Python 3.8 or higher and runs on any platform that supports Python (Windows, macOS, Linux).
2 How do I connect to a MCP server?
Set the MCP server URL in the .env file (e.g., http://localhost:5000) before starting the API server. The server URL can also be passed in the request body for tool listing and invocation.
3 What is the license for MCP FastAPI Server?
MCP FastAPI Server is licensed under the MIT license.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In