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.2.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.2.0
File Size Uploaded
coreforged_mcp-1.2.0.tar.gz 147.4 kB Details

Built distribution (wheel)

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

Total release size: 312.0 kB

Release files / coreforged_mcp-1.2.0.tar.gz

Download URL coreforged_mcp-1.2.0.tar.gz
Size 147.4 kB
Tags Source
SHA-256 checksum
How to use checksums
49654ffb9322eba290bed65158c2f064ab5964d144dc9465d4c0731a9a3b1332
BLAKE2b-256 checksum
How to use checksums
18f3d72f835aca35beb191548ae8c240f853b19eb9cba754afe017b1d1241516
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.2.0-py3-none-any.whl

Download URL coreforged_mcp-1.2.0-py3-none-any.whl
Size 164.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c711f910bf80fa6d8442b8dee5cf72b426971426bc93324cb5e0d1ffe1571a9
BLAKE2b-256 checksum
How to use checksums
e93752c06b97c389acb2db79989c82a554c746298c18add3a242e9ecca402c0d
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

This release

1.2.0 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

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