#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.

Releases and problems feed (RSS)

Stars
72
License
Apache-2.0
Last commit
Oct 2026
Language
Python
Stars, last 34 weeks+22
28 Mar 2026: 50 stars4 Apr 2026: 50 stars11 Apr 2026: 52 stars18 Apr 2026: 52 stars25 Apr 2026: 53 stars2 May 2026: 54 stars9 May 2026: 54 stars16 May 2026: 55 stars23 May 2026: 55 stars30 May 2026: 55 stars6 Jun 2026: 55 stars13 Jun 2026: 61 stars20 Jun 2026: 62 stars27 Jun 2026: 63 stars4 Jul 2026: 65 stars11 Jul 2026: 65 stars18 Jul 2026: 65 stars25 Jul 2026: 65 stars1 Aug 2026: 66 stars8 Aug 2026: 66 stars15 Aug 2026: 66 stars22 Aug 2026: 66 stars29 Aug 2026: 66 stars5 Sept 2026: 66 stars12 Sept 2026: 66 stars19 Sept 2026: 67 stars26 Sept 2026: 67 stars3 Oct 2026: 67 stars10 Oct 2026: 67 stars17 Oct 2026: 67 stars24 Oct 2026: 68 stars31 Oct 2026: 68 stars7 Nov 2026: 69 stars14 Nov 2026: 71 stars21 Nov 2026: 72 stars

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
Also in Agent and MCP starters
RankProjectScore
#78new-langgraph-projectBlank Python LangGraph scaffold with config, tests and Studio support302 starsMIT42 out of 100
#79new-langgraphjs-projectEmpty TypeScript LangGraph.js scaffold with message history and tests78 starsMIT42 out of 100
#81agents-starterCloudflare Agents SDK chat starter with Durable Object state and scheduling1.4k starsMIT40 out of 100
#82deer-workflowTypeScript runtime that runs coding agents as nodes in workflow graphs563 starsMIT40 out of 100
#83code-modeTypeScript library that lets an LLM call many tools through one code-execution tool1.7k starsMPL-2.038 out of 100