Isometric server architecture as stacked amber tower-anvils radiating tool icons (wrench, scroll, eye, shield, gauge, key, gear, lightning) connected by data streams
Chapter 11

MCP Server & Tools

105 MCP tools across 8 categories, Core, LiveGuard, Watcher, Crucible, Tempering, Bug Registry, Testbed, Forge-Master, plus REST API, WebSocket hub, telemetry, and cost tracking. The integration layer.

What is MCP?
MCP (Model Context Protocol) is a standard that lets AI agents call functions. When Copilot needs to run a plan, check costs, or scan for secrets, it calls the MCP server, which executes the command and returns structured results. MCP is the API layer between your AI agent and Plan Forge's capabilities.
LiveGuard tools — 14 additional MCP tools for post-coding intelligence: drift detection, incident capture, secret scanning, env diff, health trending, regression guards, and alert triage. They follow the same MCP tool and REST endpoint patterns described in this chapter. See Chapter 16 — What Is LiveGuard? for the overview and Chapter 17 for the full reference.

Architecture

A single Node.js process runs three subsystems, the nervous system that lets all your tools talk to each other:

MCP (stdio)

105 MCP tools across 8 categories (Core, LiveGuard, Watcher, Crucible, Tempering, Bug Registry, Testbed, Forge-Master) exposed via Model Context Protocol. Copilot, Claude, Cursor call these as function calls.

Express (HTTP :3100)

Dashboard UI, REST API, static files. ~100 endpoints for programmatic access.

WebSocket (:3101)

Real-time events. Dashboard subscribes for live slice progress.

In This Chapter

This chapter is split across three pages for clarity:

Discovery first: Call forge_capabilities before anything else, it returns the full live API surface including tool schemas, config options, available extensions, and per-tool error codes. Always authoritative.

📄 Full reference: capabilities, EVENTS.md on GitHub, tools.json on GitHub