A

Agent Interop Runtime

by Praket7 · io.github.Praket7/agent-interop-runtime

Connects supported coding agents through their native local interfaces, enabling coordinated message passing and session management while preserving provider isolation.

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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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": {
    "io-github-praket7-agent-interop-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "agent-interop-runtime"
      ],
      "env": {
        "CODEX_HOME": "<VALUE>",
        "FREEBUFF_CLI_PATH": "<VALUE>",
        "INTEROP_READ_ONLY": "0",
        "OPENCODE_AUTO_START": "true",
        "OPENCODE_SERVER_URL": "<VALUE>",
        "FREEBUFF_MCP_CLI_MODE": "<VALUE>",
        "FREEBUFF_PROJECT_ROOT": "<VALUE>",
        "INTEROP_TOOLS_PROFILE": "full",
        "OPENCODE_SERVER_PASSWORD": "<VALUE>",
        "OPENCODE_SERVER_USERNAME": "<VALUE>",
        "FREEBUFF_CLI_READY_PATTERN": "<VALUE>",
        "INTEROP_ALLOW_VERIFICATION": "0",
        "INTEROP_HANDOFF_TOKEN_BUDGET": "2000",
        "FREEBUFF_DESKTOP_READINESS_FILE": "<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
CODEX_HOME No Path to Codex configuration directory when using a nonstandard location.
FREEBUFF_CLI_PATH No Absolute path to the Freebuff executable (e.g., freebuff.exe on Windows). Used in CLI mode.
INTEROP_READ_ONLY No Set to '1' to enable read-only mode. Default: 0
OPENCODE_AUTO_START No Set to 'false' to disable automatic starting of the OpenCode local server. Default: true
OPENCODE_SERVER_URL No URL for an existing OpenCode server. Set to another local port or remote URL.
FREEBUFF_MCP_CLI_MODE No Set to 'pty' for explicit Freebuff CLI mode. CLI mode always wins over Desktop discovery.
FREEBUFF_PROJECT_ROOT No Absolute path to the project root for CLI mode.
INTEROP_TOOLS_PROFILE No Toolset profile: 'core', 'legacy', or 'full' (default 'full'). Default: full
OPENCODE_SERVER_PASSWORD No Password for remote OpenCode server.
OPENCODE_SERVER_USERNAME No Username for remote OpenCode server.
FREEBUFF_CLI_READY_PATTERN No Custom regular expression for Freebuff CLI readiness detection.
INTEROP_ALLOW_VERIFICATION No Set to '1' to allow local verification (disabled by default). Default: 0
INTEROP_HANDOFF_TOKEN_BUDGET No Token budget for handoff packets (default 2000). Default: 2000
FREEBUFF_DESKTOP_READINESS_FILE No Path to a readiness file containing a loopback URL/port and a current launch ID for Freebuff Desktop. Records older than ten minutes are ignored.

Similar servers