Skip to main content

CoreforgedMCP

One MCP server to dock them all.

CoreforgedMCP is a gateway that consolidates multiple MCP servers behind a single endpoint. Instead of configuring 5 separate servers in your .mcp.json, you configure one — and control which plugins load with a single environment variable.

Before: 5 servers × 5 processes × 5 config blocks
After:  1 server  × 1 process  × 1 config block

Quick Start

pip install coreforged-mcp
coreforged-mcp init

This adds CoreforgedMCP to your .mcp.json. Restart Claude Code — you're running.

What You Get

The Gateway (free, open source)

  • Plugin docking — native Python plugins load in-process; proxy plugins spawn as subprocesses
  • Named loadouts — switch your entire tool stack by setting COREFORGED_LOADOUT=analytics
  • Plugin discovery — drop a plugin into ~/.coreforged/plugins/ and it auto-loads
  • Cross-platform — Windows, Mac, Linux

KeyRing — Free Secret Management

Your API keys never enter the conversation. KeyRing is bundled with the gateway:

pip install coreforged-mcp
coreforged-mcp setup     # creates keyring, wires MCP config

Secrets are encrypted at rest (Fernet/AES-128-CBC + HMAC-SHA256) with a machine-local master key. The keyring retrieves and decrypts the secret, makes the authenticated API call, and returns only the response data. Every checkout is logged. Outbound requests are restricted to an allowlist of known service domains.

Agent: "Call the GitHub API with my token"
  → KeyRing decrypts token from encrypted store
  → KeyRing validates target domain against allowlist
  → KeyRing makes the API call
  → KeyRing returns the response data
  → Token never appears in tool results or context

CLI tools: keyring_run_cli

Some tools read their credential from an environment variable, not an HTTP header: a deploy script, twine, gh. keyring_run_cli runs such a command with the secret in its environment and returns the output with the secret scrubbed out. The command never runs through a shell, and it is killed at its timeout. Every call is logged.

  • The caller comes from the launch configuration (COREFORGED_CALLER) and must be granted the secret.
  • An interpreter runs only the scripts its adapter pins.
  • Adapters are built in (cloudsql) or your own JSON files in ~/.coreforged/keyring/cli_adapters/.

To put a machine's own key on its ring without the value ever being printed:

python -m coreforged_mcp.plugins.keyring.intake add NAME --from-file PATH --grant CALLER

See guides/keyring/RUN_CLI.md for adapters, the security model, and a second-machine walkthrough.

Get KeyRing free at coreforged.com/products/keyring.

Usage

Basic (default plugins)

{
  "mcpServers": {
    "coreforged": {
      "command": "coreforged-mcp",
      "args": ["run"]
    }
  }
}

With a loadout

{
  "mcpServers": {
    "coreforged": {
      "command": "coreforged-mcp",
      "args": ["run"],
      "env": {
        "COREFORGED_LOADOUT": "analytics"
      }
    }
  }
}

Specific plugins only

{
  "mcpServers": {
    "coreforged": {
      "command": "coreforged-mcp",
      "args": ["run"],
      "env": {
        "COREFORGED_PLUGINS": "keyring,my-custom-plugin"
      }
    }
  }
}

Installing Plugins

From a zip file

coreforged-mcp install-plugin analytics-bundle.zip --key YOUR_LICENSE_KEY

Plugins install to ~/.coreforged/plugins/ and are discovered automatically on next restart.

From a directory

Drop any directory with a plugin.json manifest into ~/.coreforged/plugins/:

~/.coreforged/plugins/
├── my-plugin/
│   ├── plugin.json
│   └── server.py

Writing a Plugin

A plugin is any Python module with a FastMCP instance. If it runs standalone, it docks into the gateway.

1. Write the server

# my-plugin/server.py
from mcp.server.fastmcp import FastMCP

mcp = FastMCP("my-plugin", instructions="What this does.")

@mcp.tool()
def my_tool(query: str) -> str:
    """Tool description."""
    return do_something(query)

if __name__ == "__main__":
    mcp.run()

2. Add the manifest

// my-plugin/plugin.json
{
  "name": "my-plugin",
  "version": "0.1.0",
  "description": "What it does",
  "type": "native",
  "module": "server",
  "mcp_attr": "mcp",
  "default": false
}

3. Test

# Standalone
python my-plugin/server.py

# Docked
cp -r my-plugin ~/.coreforged/plugins/
coreforged-mcp status

A template plugin is included at src/coreforged_mcp/plugins/_template/.

Plugin Types

Type How It Works Best For
Native Python module imported in-process Python tools, zero overhead
Proxy External process spawned, tools bridged via JSON-RPC Node.js, Go, Rust servers

CLI Commands

Command What It Does
coreforged-mcp run Start the gateway server
coreforged-mcp status Show discovered plugins and loadouts
coreforged-mcp init Add CoreforgedMCP to .mcp.json
coreforged-mcp install-plugin <path> [--key KEY] Install a plugin from a zip
coreforged-mcp claim <shard> Claim an identity shard from your activation page
coreforged-mcp scan [--dir DIR] Discover credentials in your filesystem
coreforged-mcp consolidate [--dir DIR] Scan and load credentials onto your KeyRing
coreforged-mcp allow-domain <domain> Add a domain to the KeyRing request allowlist
coreforged-mcp list-domains Show all allowed domains
python -m coreforged_mcp.plugins.keyring.intake add NAME --from-file PATH --grant CALLER Put a key on the KeyRing from a file and grant it to a caller

Available Plugins

Plugin Source What It Does
KeyRing Free Sovereign secrets — API keys never enter context
Digital Analytics coreforged.com GA4 + Search Console + PageSpeed
SEO Bundle coreforged.com Keyword research + SERP analysis

License

MIT — the gateway is free and open source. Some plugins on coreforged.com are commercially licensed.

Contributing

PRs welcome. See CONTRIBUTING.md.

Built by CoreForged LLC.

Metadata

Release files for coreforged-mcp 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coreforged-mcp 1.1.0
File Size Uploaded
coreforged_mcp-1.1.0.tar.gz 118.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coreforged-mcp 1.1.0
File Interpreter ABI Platform
coreforged_mcp-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 234.7 kB

Release files / coreforged_mcp-1.1.0.tar.gz

Download URL coreforged_mcp-1.1.0.tar.gz
Size 118.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f298c214965d6f78c097475ee77c2acf291cbfdb0678806e46ee8d991bdaad8e
BLAKE2b-256 checksum
How to use checksums
55ef683ac93deb1e2430c05ee5571421f5f472a67bcd7763a5ea9db9a775c5ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / coreforged_mcp-1.1.0-py3-none-any.whl

Download URL coreforged_mcp-1.1.0-py3-none-any.whl
Size 116.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91a96826412fc996f1f7c1456db30ebc2dde3f0fbb340f4f16aecc87eee057d8
BLAKE2b-256 checksum
How to use checksums
a6db822e91c573e008025b2c3391e646621823df7c00c8596be904d50f7627f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release history Release notifications | RSS feed

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

This release

1.1.0 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

1 release file

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page