runfabric

RunFabric MCP Server

The RunFabric MCP (Model Context Protocol) server exposes plan, deploy, doctor, remove, and invoke as tools for AI agents and IDEs (e.g. Cursor, Claude Code).

Quick navigation

Scope

Running the server

From the repo root:

cd protocol/mcp && npm install && npm run build && node dist/index.js

Or after build, run the binary:

node protocol/mcp/dist/index.js

Ensure runfabric is on PATH (e.g. export PATH="$PWD/bin:$PATH" from repo root after make build).

Adding to Cursor

In Cursor settings (or .cursor/mcp.json), add an MCP server that runs the RunFabric MCP process:

The exact configuration format depends on your Cursor/MCP client; use the stdio transport and point to the built dist/index.js (or npm start from protocol/mcp).

Tool parameters

Tool Parameters
runfabric_doctor configPath (optional), stage (optional)
runfabric_plan configPath, stage, provider (optional)
runfabric_build configPath, stage, provider (optional)
runfabric_deploy configPath, stage, preview, provider (optional)
runfabric_remove configPath, stage, provider (optional)
runfabric_invoke configPath, stage, function (required), payload (optional), provider (optional)
runfabric_logs configPath, stage, function (optional), all (optional), provider (optional)
runfabric_list configPath, stage, provider (optional)
runfabric_inspect configPath, stage, provider (optional)
runfabric_releases configPath, stage, provider (optional)
runfabric_generate configPath (optional), stage (optional), args (optional string array; forwarded after runfabric generate)
runfabric_state configPath (optional), stage (optional), command (required), args (optional string array)
runfabric_workflow configPath (optional), stage (optional), command (required), args (optional string array)

All tools run the CLI with --json, --non-interactive, and --yes so output is machine-readable and no prompts or confirmations appear. Results are the combined stdout/stderr as text content. When the exit code is non-zero, the result is marked with isError: true.

See also