mcp-forge
by achetronic·★ 90·Score 47
Production-ready MCP server template in Go with OAuth authentication and deployment examples.
Overview
MCP Forge is a comprehensive MCP server template built in Go that provides production-ready features including OAuth authentication (RFC 8414 and RFC 9728 compliant), JWT validation methods, and configurable access logs. It includes examples for both remote providers like Claude Web and OpenAI, as well as local providers like Claude Desktop. The project offers a Dockerfile, Helm Chart, and GitHub Actions for CI/CD, making it easy to deploy and extend with custom tools and resources.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this template when building a production MCP server in Go that requires OAuth authentication and needs to support both local and remote AI providers.
When NOT to choose this
Don't choose this if you need a server in a language other than Go, or if you require simpler authentication without OAuth complexity.
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/achetronic/mcp-forge.git
cd mcp-forge- Prerequisites:
- Go 1.24+
- Run the server:
make runFor local development with Claude Desktop, use either stdio or HTTP mode as described in the README.
Claude Desktop Configuration (HTTP mode)
// file: claude_desktop_config.json
{
"mcpServers": {
"local-proxy-remote": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8080/mcp",
"--transport",
"http-only",
"--header",
"Authorization: Bearer ${JWT}",
"--header",
"X-Validated-Jwt: ${JWT}"
],
"env": {
"JWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6..."
}
}
}
}FAQ
- What OAuth standards does MCP Forge support?
- MCP Forge supports OAuth RFC 8414 and RFC 9728, with configurable .well-known/oauth-protected-resource and .well-known/oauth-authorization-server endpoints.
- Can I deploy MCP Forge to production?
- Yes, MCP Forge is production-ready with deployment examples, Dockerfile, Helm Chart, and GitHub Actions for CI/CD. It also includes recommendations for using proxies like Istio for JWT validation.
Compare mcp-forge with
Last updated · Auto-generated from public README + GitHub signals.