M

Marrow

by getmarrow.ai · ai.getmarrow/marrow

Marrow gives your agent a governance loop that compounds. With @getmarrow/mcp, any MCP-compatible client can ask Marrow before risky work, inspect live loop state during work, collect required proof, and commit outcomes when the work is done. That means your agent stops operating without accountability and starts carrying forward real decision history. Your agent stops repeating the same mistake

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "ai-getmarrow-marrow": {
      "command": "npx",
      "args": [
        "-y",
        "@getmarrow/mcp"
      ],
      "env": {
        "MARROW_API_KEY": "<YOUR_VALUE>",
        "MARROW_KEY": "<VALUE>",
        "MARROW_CLIENT": "<VALUE>",
        "MARROW_HARNESS": "<VALUE>",
        "MARROW_BASE_URL": "https://api.getmarrow.ai",
        "MARROW_AUTO_HOOK": "true",
        "MARROW_HOOK_DEBUG": "<VALUE>",
        "MARROW_SESSION_ID": "<VALUE>",
        "MARROW_AUTO_ENROLL": "true",
        "MARROW_AGENT_CLIENT": "<VALUE>",
        "MARROW_PASSIVE_BRIEF": "auto",
        "MARROW_FLEET_AGENT_ID": "<VALUE>",
        "MARROW_CONTEXT_HOOK_DEBUG": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MARROW_API_KEY secret Yes Your API key from getmarrow.ai. Either this or MARROW_KEY is required.
MARROW_KEY No Alias accepted by MCP for fleet runners and secret managers. Either this or MARROW_API_KEY is required.
MARROW_CLIENT No Harness/client label for per-client reporting (e.g., codex, claude-code, cursor, gemini, qwen, opencode, custom)
MARROW_HARNESS No Same as MARROW_CLIENT
MARROW_BASE_URL No Custom API URL (default: https://api.getmarrow.ai). Must use HTTPS. Default: https://api.getmarrow.ai
MARROW_AUTO_HOOK No PostToolUse auto-logging kill switch. Set to false to disable. Default: true
MARROW_HOOK_DEBUG No Set to true to enable one-line stderr diagnostics for hooks.
MARROW_SESSION_ID No Session identifier for multi-agent setups
MARROW_AUTO_ENROLL No Auto-enrollment prompt (default: true). Set to false to disable. Default: true
MARROW_AGENT_CLIENT No Same as MARROW_CLIENT
MARROW_PASSIVE_BRIEF No Passive decision-brief mode. Defaults to auto; set false to disable or always to brief every prompt. Default: auto
MARROW_FLEET_AGENT_ID No Agent identifier sent as X-Marrow-Agent-Id for fleet attribution
MARROW_CONTEXT_HOOK_DEBUG No Set to true to enable one-line stderr diagnostics for UserPromptSubmit context hook only.

Similar servers