Mcp Rest Sample
@BeaverHouse
关于 Mcp Rest Sample
Python sample code for MCP server + REST API (FastAPI) integration
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mcp Rest Sample?
Python sample code that demonstrates how to integrate an MCP (Model Context Protocol) server with a FastAPI REST API. It is designed as a template for developers building similar integrations.
How to use Mcp Rest Sample?
Refer to the project's documentation for local development commands (docs/local-commands-python.md) and instructions to run or connect to the MCP server (docs/connect-mcp.md). The project uses uv for dependency management.
Key features of Mcp Rest Sample
- Uses
uvfor dependency management. - Integrates FastAPI for both the REST API and MCP server.
- Built with the official Python SDK for MCP.
- Includes separate documentation for local setup and connection.
- Structure inspired by another FastAPI MCP SSE project.
Use cases of Mcp Rest Sample
- Learning how to combine an MCP server with a FastAPI REST API.
- Starting point for building custom MCP servers with REST endpoints.
- Reference implementation for using the MCP Python SDK.
FAQ from Mcp Rest Sample
What is the purpose of this project?
It is sample code that shows how to integrate an MCP server with a FastAPI REST API.
What are the main dependencies?
The project depends on Python, FastAPI, the MCP Python SDK, and uses uv for package management.
How do I run the server locally?
See the "Commands for local development" documentation file for detailed instructions.
How do I connect to the MCP server?
Refer to the "How to run or connect to the MCP server" documentation page.
Is there a license?
Yes, the project is licensed under the terms shown in the LICENSE file.
开发工具 分类下的更多 MCP 服务器
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Grafana MCP server
grafanaMCP server for Grafana
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
评论