Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A read-only MCP server that provides Claude Code with structured knowledge about the Forge repository, including templates, project structure, documentation, validation rules, doctor checks, and generated-project conventions.

README.md

forge-mcp

Read-only MCP server that gives Claude Code structured knowledge about the Forge repository, including its templates, project structure, documentation, validation rules, doctor checks, and generated-project conventions.

Forge remains the authoritative application. forge-mcp reads Forge; it does not modify it.

v0.1.1 has no write tools.

Tools

| Tool | Purpose | |---|---| | get_forge_overview | Forge version, CLI entry point, capabilities, templates, doc availability | | list_templates | Available local templates with metadata | | get_template_summary | One template: purpose, language, files, variables, output structure | | list_template_files | Sorted file listing for one template | | read_template_file | Read a text file inside a template | | get_project_structure | Generated-project conventions per template type | | get_validation_commands | Validation commands as inert strings (never executed) | | read_forge_document | Read approved Forge docs by stable identifier | | explain_forge_doctor | Doctor checks, required/optional, overall success rule | | get_template_change_checklist | Source-backed process for changing a Forge template |

Requirements

  • Python 3.10+
  • Forge repository at a known path
  • FORGE_REPOSITORY_ROOT environment variable or --forge-root CLI argument

Installation

cd forge-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Usage

# Set the Forge root and run the server over stdio
FORGE_REPOSITORY_ROOT=/srv/workspaces/projects/portfolio/forge forge-mcp

# Or pass it explicitly
forge-mcp --forge-root /srv/workspaces/projects/portfolio/forge

# Version check
forge-mcp --version
python -m forge_mcp --version

Claude Code setup

See docs/claude-code-setup.md and examples/claude-code.mcp.json.

Development

python -m pytest -q
python -m ruff check src/ tests/

Document availability

get_forge_overview distinguishes between documents that are approved in the allowlist and documents that are currently present on disk:

  • available_documents — approved identifiers whose files exist in the Forge repository right now
  • unavailable_documents — approved identifiers configured in the allowlist but whose files are absent

Both fields are always present. Both are sorted alphabetically by identifier. The union of the two sets always equals the full approved-document allowlist.

read_forge_document accepts only approved identifiers. It returns a structured error with code DOCUMENT_NOT_FOUND when the identifier is unknown or the file is absent, and DOCUMENT_ERROR for other read failures (binary content, size limit, encoding). It never accepts arbitrary paths.

Security

forge-mcp is strictly read-only. See docs/security-boundary.md.

Separation

Forge is a separate repository and application. forge-mcp does not modify Forge. forge-mcp does not import Forge modules, execute Forge commands, or touch Forge's Git history.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.