#8080th of 95 in Agent and MCP starters
template-mcp-server
Python FastMCP server template with example tools and OAuth
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 72
- License
- Apache-2.0
- Last commit
- Oct 2026
- Language
- Python
50 on 28 Mar 202672 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Python template for building MCP servers on FastMCP and FastAPI, with three example tools: a multiply calculator, a code review prompt generator and a Red Hat logo tool. It supports HTTP, SSE and streamable-HTTP transports, optional SSL, structlog JSON logging and Pydantic configuration from environment variables. It also ships a Containerfile, compose file, OpenShift manifests and GitHub Actions workflows.
Who it is for: Python developers starting a new MCP server, especially for OpenShift
Strengths
- Transport selectable with one env var: http, sse or streamable-http
- Includes UBI-based Containerfile, compose file, OpenShift manifests and CI workflows
- Optional OAuth with PostgreSQL token storage already wired in
- Rename checklist and a five-minute first-tool tutorial
Weaknesses
- ENABLE_AUTH is False in .env.example but True in code; skipping .env enables auth
- Example tools are trivial, so all real tool logic is yours to write
- Renaming package, Makefile, manifests and workflows is a manual checklist
- Defaults assume Red Hat conventions such as UBI images and OpenShift
What it needs
- Python
- Needs Python 3.12+, PostgreSQL (OAuth token storage)
- GitHub template
- Docker
- env example file
Also in Agent and MCP starters
See all 95| Rank | Project | Score |
|---|---|---|
| #78 | new-langgraph-projectBlank Python LangGraph scaffold with config, tests and Studio support | 42 out of 100 |
| #79 | new-langgraphjs-projectEmpty TypeScript LangGraph.js scaffold with message history and tests | 42 out of 100 |
| #81 | agents-starterCloudflare Agents SDK chat starter with Durable Object state and scheduling | 40 out of 100 |
| #82 | deer-workflowTypeScript runtime that runs coding agents as nodes in workflow graphs | 40 out of 100 |
| #83 | code-modeTypeScript library that lets an LLM call many tools through one code-execution tool | 38 out of 100 |