outflow-mcp
v0.1.1MCP server exposing an Outflow workspace's live architecture graph as context for AI coding agents
Values you need
| Variable | What it is | |
|---|---|---|
OUTFLOW_BASE_URL | optional | Base URL of your running Outflow instance. Defaults to http://localhost:3000 if omitted. |
OUTFLOW_API_KEY | required 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_ID | required | 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.1Add 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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