Skip to main content
The repository ships runnable example applications covering every framework integration, OAuth provider, and observability backend. Every example has its own go.mod and a short README. The framework and multi-provider examples (chi-app, gin-app, echo-app, stdlib-app, oauth-multi-provider) also include docker-compose.yml, .env.example and a Makefile; the rest run with go run . and read their settings from environment variables.

Running an example

The chi-app listens on :8080 by default. Check its README for the environment variables it reads.

MCP server example

The examples/mcp-server example is the shortest demonstration of the mcpresource middleware on a chi server. It shows the one-import claim: middleware wiring plus principal extraction in roughly ten lines of Go. See Resource Server (mcpresource) for the walkthrough.
Last modified on October 8, 2026