MCP servers and chat-host apps

Templates for building MCP servers and apps that run inside chat hosts such as ChatGPT.

mcp-typescript-template leads with 60, ahead of template-mcp-server (47) and mcp-for-next.js (41). 5 projects ranked by score.

The ranking

MCP servers and chat-host apps: full ranking
RankProjectAdoptionFreshnessMaintenanceEasy to runAgent-readyScore
1mcp-typescript-templateExpress and Effect template for a stateless remote MCP server58 stars, MIT, last commit Oct 2026010099508560 out of 100
2template-mcp-serverPython FastMCP server template with OAuth, OpenShift manifests and CI66 stars, Apache-2.0, last commit Aug 2026131003550047 out of 100
3mcp-for-next.jsStateless MCP server route for a Next.js App Router app Live demo ↗ (opens in a new tab)373 stars, MIT, last commit Jul 202647100440041 out of 100
#4openai-apps-sdk-examplesExample MCP servers and widgets for ChatGPT apps on the Apps SDK2.4k stars, MIT, last commit Apr 2026736810033 out of 100
#5mcp-forgeGo MCP server template with OAuth discovery and JWT validation98 stars, Apache-2.0, last commit Jan 20262735033024 out of 100

Momentum, Verified build, Docs and Privacy are not measured yet; their weight goes to the signals shown. A dash means the signal is not scored for that kind of project. Hover a number for its rating in words.

Reviews

160 out of 100

mcp-typescript-template

Express and Effect template for a stateless remote MCP server

58 stars, MIT, last commit Oct 2026

TypeScript 7 project serving a stateless MCP endpoint at /mcp on port 3000 via Express and createMcpHandler from the MCP TypeScript SDK, with Effect for config, logging and errors. Ships echo and elicit_echo tools with outputSchema, structuredContent and annotations, HTTP-boundary and in-memory tests, a Dockerfile and compose with a /health check. For TypeScript teams starting a remote MCP server; no auth.

Strengths

  • Stateless per the 2026-07-28 spec with SDK fallback for older clients
  • Tests at the HTTP boundary and against an in-memory client
  • Typed tool I/O via Effect Schema adapted to MCP Standard Schema
  • Dockerfile and docker-compose with health check

Weaknesses

  • No auth or OAuth; remote hosts will need it
  • Effect is a hard dependency with a learning curve
  • TypeScript 7 compiler plus a TS6 alias for ESLint is unusual tooling
  • TypeScript, MCP TypeScript SDK (@modelcontextprotocol/server)
  • GitHub template
  • Docker
247 out of 100

template-mcp-server

Python FastMCP server template with OAuth, OpenShift manifests and CI

66 stars, Apache-2.0, last commit Aug 2026

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.

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
  • Python, FastMCP, MCP Python SDK
  • Needs PostgreSQL (OAuth token storage)
  • GitHub template
  • Docker
  • env example file
341 out of 100

mcp-for-next.js

Stateless MCP server route for a Next.js App Router app

Live demo ↗ (opens in a new tab)373 stars, MIT, last commit Jul 2026

Next.js App Router project where app/mcp/route.ts hosts a stateless MCP server through mcp-handler 2 and the MCP TypeScript SDK v2, serving the 2026-07-28 protocol natively with a compatibility layer for 2025-era Streamable HTTP clients. Includes a sample client script that lists tools and calls echo. For teams adding an MCP endpoint to an existing Next.js app on Vercel; no auth is wired.

Strengths

  • Stateless Streamable HTTP; no Redis or session store required
  • Current 2026-07-28 protocol plus 2025 Streamable HTTP compatibility
  • Sample client script for smoke-testing the endpoint

Weaknesses

  • No auth; remote MCP clients will need OAuth added
  • Deprecated HTTP+SSE transport is not supported
  • Only an echo tool; the README is a few lines
  • No tests or Docker
  • JavaScript, MCP TypeScript SDK v2, mcp-handler 2
#433 out of 100

openai-apps-sdk-examples

Example MCP servers and widgets for ChatGPT apps on the Apps SDK

2.4k stars, MIT, last commit Apr 2026

pnpm workspace with React widget sources, a Vite build that emits hashed HTML/JS/CSS bundles served on port 4444, and paired MCP servers in Node and Python (Pizzaz, kitchen-sink-lite, solar system, shopping cart, an OAuth-gated example). Widgets use the window.openai host API and _meta.ui.resourceUri to render inside ChatGPT. For developers building ChatGPT apps; test via developer mode and an ngrok tunnel.

Strengths

  • Node and Python MCP servers for the same widgets
  • kitchen-sink-lite covers the full window.openai host API surface
  • Shopping-cart example shows widgetSessionId state across tool calls
  • Authenticated server demonstrates OAuth-gated tools

Weaknesses

  • Examples only; no persistence or deploy config beyond BASE_URL
  • Requires ChatGPT developer mode and a public tunnel to test
  • Chrome 142+ needs a flag change to render widgets locally
  • Maintainers may not review all PRs
  • TypeScript, OpenAI Apps SDK, MCP TypeScript SDK, MCP Python SDK
  • Needs ChatGPT developer mode, ngrok or a public host for testing
#524 out of 100

mcp-forge

Go MCP server template with OAuth discovery and JWT validation

98 stars, Apache-2.0, last commit Jan 2026

Go 1.24+ template on mcp-go that runs as an HTTP or stdio MCP server from a YAML config, with RFC 8414 and 9728 OAuth discovery endpoints and JWT validation either delegated to a proxy like Istio or done locally via JWKS and CEL claim rules. Ships a Dockerfile, Helm chart, GitHub Actions and example configs for Claude Web, OpenAI and local clients through mcp-remote. You add tools under internal/tools.

Strengths

  • OAuth discovery endpoints and JWT middleware for remote clients like Claude Web
  • Helm chart, Dockerfile and CI workflows included
  • Same binary serves HTTP or stdio by swapping the YAML config
  • Access logs can redact or drop fields

Weaknesses

  • Needs an external OIDC provider with dynamic client registration (Keycloak suggested)
  • Author recommends a proxy for JWT validation and a hashring router for sessions
  • Last commit 2026-01; no tests mentioned in the README
  • Go, mcp-go
  • Needs OIDC provider (e.g. Keycloak), Kubernetes for the Helm chart (optional)
  • GitHub template
  • Docker

Written from each project's README and checked facts. Spot something wrong? Report it on GitHub (opens in a new tab).