MCP Catalogs
Home

mcp-forge

by achetronic·90·Score 47

Production-ready MCP server template in Go with OAuth authentication and deployment examples.

developer-toolssecurityops-infra
31
Forks
0
Open issues
4 mo ago
Last commit
2d ago
Indexed

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:

you:Building secure MCP servers with OAuth authentication for enterprise deployments
you:Creating custom MCP tools and resources in Go with minimal setup
you:Deploying MCP servers to Kubernetes with Helm charts
you:What OAuth standards does MCP Forge support?
you:Can I deploy MCP Forge to production?

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

mcp-gomcp-remotemcp-server-template

Installation

Installation

  1. Clone the repository:
git clone https://github.com/achetronic/mcp-forge.git
cd mcp-forge
  1. Prerequisites:
  • Go 1.24+
  1. Run the server:
make run

For 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.