Skip to content

BeaverHouse/mcp-rest-sample

Repository files navigation

Logo

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

Python FastAPI uv Cursor License

Logo from Flaticon


Description

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

  • Used uv to manage the dependencies.
  • Used Python SDK for MCP to handle the MCP protocol.
  • Integrated with FastAPI to handle both the REST API and the MCP server.

This project's structure is inspired by panz2018/fastapi_mcp_sse.


Documentation

Contributing

See the CONTRIBUTING.md.

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks