What are the two run modes and how do they differ?
`api` mode runs the FastAPI server and requires a separately running MCP server. `mcp` mode runs the MCP server directly for testing or connection by other clients.
@ZhouhaoJiang
Basic information
A modular application API interface based on FastMCP, integrating a demo of the MCP server, FastAPI interface and LLM Agent processing capabilities | 一个基于FastMCP的模块化应用,集成了MCP服务器、FastAPI接口和LLM Agent 处理能力的 demo
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"fastapi-with-fatmcp-agent": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
}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.
This project demonstrates a modular application built with FastMCP, integrating an MCP server, a FastAPI interface, and LLM Agent capabilities. It is a demo for developers exploring FastMCP-based architectures.
Install dependencies (uv/pip recommended) and set the OPENAI_API_KEY environment variable. First start the MCP server with python main.py --mode mcp, then start the API server with python main.py --mode api. The API server connects to the MCP server via SSE and provides HTTP endpoints.
`api` mode runs the FastAPI server and requires a separately running MCP server. `mcp` mode runs the MCP server directly for testing or connection by other clients.
OpenAI is supported out of the box. The `BaseLLM` class can be extended to add other providers (e.g., Anthropic).
Extend `BaseMCPServer` and define new tools using the `@self.mcp.tool()` decorator in the `_register_tools` method. Then import and instantiate the server in `app/mcp_server/run.py`.
The default transport is SSE. You can switch to Standard I/O (stdio) with `--mcp-transport stdio`.
Yes, the API server provides `/health` for its own status and `/api/tools/health` for the connection status between the API server and the MCP server.

Magic Hour MCP lets AI agents create and edit images, videos, and audio using Magic Hour’s hosted generation tools.

Bring ideas to life with Fotor MCP: generate and edit images, enhance product photos, and create videos, voiceovers, and music.

Timestamp and verify evidence on-chain. Let your agent prove what it saw and when. bsv.cx gives an AI agent verifiable memory. Timestamp a hash of any output, archive a web page as it looked, or fetch a URL with a recei

Free MCP for live and historical pricing for 13,000+ agents and MCPs. Never knowingly pay too much... or charge too little. Know the going rate. https://agentery.com.
Run free live audience Q&A and polls from your agent: start an AskOne room, add and launch a poll, approve or hide questions and mark them answered, close the room, then read the questions as a FAQ draft and get the resu
Comments