MCP.so
登录

MCP Rest Sample

@BeaverHouse

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

BeaverHouse

关于 MCP Rest Sample

Python sample code for MCP server + REST API (FastAPI) integration

MCP Rest Sample 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Rest Sample 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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 uv for 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.

常见问题

1

What is the purpose of this project?

It is sample code that shows how to integrate an MCP server with a FastAPI REST API.

2

What are the main dependencies?

The project depends on Python, FastAPI, the MCP Python SDK, and uses `uv` for package management.

3

How do I run the server locally?

See the "Commands for local development" documentation file for detailed instructions.

4

How do I connect to the MCP server?

Refer to the "How to run or connect to the MCP server" documentation page.

5

Is there a license?

Yes, the project is licensed under the terms shown in the LICENSE file.

评论

开发工具 分类下的更多 MCP 服务器