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
基本信息
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
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"fastapi-with-fatmcp-agent": {
"command": "uv",
"args": [
"pip",
"install",
"-e",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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.

MCP server for the Pocket Network agentic marketplace: search our catalog of data services and utilities and call them, paying per request in USDC on Base with x402. No account or API key. Search and describe are free; p
Open-source Node.js FHIR MCP server with SMART Backend Services, metadata-aware search/CRUD tools, compact responses, FHIRPath filtering, safe pagination, audit events, and terminology lookup.

Secure infrastructure for AI agents: sealed microVM sandboxes you can checkpoint, rewind and fork.

Amazon Seller Central MCP server. Connect Seller Central, Vendor Central and Amazon Ads to Claude, ChatGPT, Gemini or Cursor, and ask for net profit per SKU with your own COGS, VAT and FBM shipping costs, PPC down to the

Extract, search and tag any document — invoices, receipts, contracts, forms, or your own templates. 13 tools, one sign-in (OAuth 2.1) or API key, free FileTag tier, data residency in the EU, US, Israel or Asia.
评论