outflow-mcp

v0.1.1
io.github.laurells/outflow-mcp Checked 3 days ago Published 4 months ago

MCP server exposing an Outflow workspace's live architecture graph as context for AI coding agents

Values you need

VariableWhat it is
OUTFLOW_BASE_URLoptional Base URL of your running Outflow instance. Defaults to http://localhost:3000 if omitted.
OUTFLOW_API_KEYrequired secret API key for the workspace to expose. Create one from workspace settings in Outflow (Settings → API Keys) — the raw key (ofk_...) is shown once.
OUTFLOW_WORKSPACE_IDrequired ID of the workspace to expose. Found in the workspace URL (.../workspace/<id>/...) or workspace settings.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add outflow-mcp -e 'OUTFLOW_API_KEY=<OUTFLOW_API_KEY>' -e 'OUTFLOW_WORKSPACE_ID=<OUTFLOW_WORKSPACE_ID>' -- npx -y outflow-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "outflow-mcp": {
      "args": [
        "-y",
        "outflow-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "OUTFLOW_API_KEY": "<OUTFLOW_API_KEY>",
        "OUTFLOW_WORKSPACE_ID": "<OUTFLOW_WORKSPACE_ID>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "outflow-mcp": {
      "args": [
        "-y",
        "outflow-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "OUTFLOW_API_KEY": "<OUTFLOW_API_KEY>",
        "OUTFLOW_WORKSPACE_ID": "<OUTFLOW_WORKSPACE_ID>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OUTFLOW_API_KEY",
      "id": "outflow-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "OUTFLOW_WORKSPACE_ID",
      "id": "outflow-workspace-id",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "outflow-mcp": {
      "args": [
        "-y",
        "outflow-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "OUTFLOW_API_KEY": "${input:outflow-api-key}",
        "OUTFLOW_WORKSPACE_ID": "${input:outflow-workspace-id}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.outflow-mcp]
command = "npx"
args = ["-y", "outflow-mcp@0.1.1"]
env = { "OUTFLOW_API_KEY" = "<OUTFLOW_API_KEY>", "OUTFLOW_WORKSPACE_ID" = "<OUTFLOW_WORKSPACE_ID>" }

For AI agents

  1. Ask the user for: OUTFLOW_API_KEY, OUTFLOW_WORKSPACE_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: find_node, list_nodes, get_dependencies, get_impact, find_path, get_architecture_health, find_architecture_smells, get_architecture_graph, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json