22nd of 5 in MCP servers and chat-host apps
template-mcp-server
Python FastMCP server template with OAuth, OpenShift manifests and CI
- Stars
- 66
- License
- Apache-2.0
- Last commit
- Aug 2026
- Language
- Python
Overview
Python 3.12+ package on FastMCP and FastAPI with HTTP, SSE and streamable-HTTP transports on port 5001, a /health endpoint, Pydantic settings, structlog JSON logs, optional SSL and OAuth with PostgreSQL token storage. Ships three example tools, a UBI Containerfile, compose.yaml, OpenShift manifests, CI for tests, lint, security and releases. For teams standardizing MCP servers on Red Hat tooling.
Who it is for: Python teams building MCP servers for OpenShift
Strengths
- HTTP, SSE and streamable-HTTP transports selectable by env var
- OAuth with PostgreSQL token storage and a documented auth guide
- Containerfile, compose.yaml and OpenShift manifests included
- CI runs tests, linting, security scans and releases
Weaknesses
- ENABLE_AUTH defaults differ between .env.example and code
- Rename checklist touches nine files after cloning
- OAuth mode needs PostgreSQL
- Red Hat UBI base image and OpenShift focus may not fit other platforms
What it needs
- Python, FastMCP, MCP Python SDK
- Needs PostgreSQL (OAuth token storage)
- GitHub template
- Docker
- env example file
Also in MCP servers and chat-host apps
See all 5| Rank | Project | Score |
|---|---|---|
| 1 | mcp-typescript-templateExpress and Effect template for a stateless remote MCP server | 60 out of 100 |
| 3 | mcp-for-next.jsStateless MCP server route for a Next.js App Router app | 41 out of 100 |
| #4 | openai-apps-sdk-examplesExample MCP servers and widgets for ChatGPT apps on the Apps SDK | 32 out of 100 |
| #5 | mcp-forgeGo MCP server template with OAuth discovery and JWT validation | 24 out of 100 |