What prerequisites are needed to run the application?
Python 3.7+ and pip are required for local setup. For the `/openai` endpoint, an OpenAI API key must be set as an environment variable. Docker is optional for containerized deployment.
@xxradar
基本信息
A test repository created using the GitHub MCP server
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-fastapi-learning": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A simple Hello World API built with FastAPI and MCP SSE support. It provides basic greeting endpoints, integrates with OpenAI’s GPT-4o for AI-powered chat completions, and includes automatic API documentation via Swagger UI and ReDoc.
Clone the repository, create a Python virtual environment, install dependencies from requirements.txt, then run with uvicorn main:app --reload or python main.py. Alternatively, build a Docker image and run the container on port 8000. Access endpoints via curl or browser, or connect to the MCP Inspector using npx @modelcontextprotocol/inspector.
/hello/{name} endpointPython 3.7+ and pip are required for local setup. For the `/openai` endpoint, an OpenAI API key must be set as an environment variable. Docker is optional for containerized deployment.
Export the key as the `OPENAI_API_KEY` environment variable before running the application locally (`export OPENAI_API_KEY=your_key_here`). For Docker, pass it using `-e OPENAI_API_KEY=your_key_here` when running the container.
`GET /` (hello world), `GET /hello/{name}` (personalized greeting), `GET /openai` (chat completion with optional `prompt` parameter), `GET /docs` (Swagger UI), and `GET /redoc` (ReDoc documentation).
Open `/docs` in your browser for Swagger UI, or `/redoc` for ReDoc.
Start the server and connect using the MCP Inspector by running `npx @modelcontextprotocol/inspector` in your terminal.

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP
OrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.

Free, public vulnerability feed for coding agents. One deduplicated entry per CVE, GHSA or OSV id, merged from the CVE List, GitHub Advisories, OSV, NVD, CISA KEV, EPSS and Exploit-DB. check_stack scans a lockfile for kn

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
评论