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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_node Find a node by file path

Look up nodes in Outflow's live architecture graph by file path (exact or partial match). Use this first to check whether a file is tracked, or to resolve a path before calling get_dependencies, get_impact, or find_path.

ParameterTypeDescription
path *stringA file path or partial path, e.g. "src/ApiClient.ts" or "ApiClient"

list_nodes List / filter architecture nodes

List nodes in the live architecture graph, optionally filtered by status (draft/stable/deprecated/ghost/warning), node type, or health score range. Useful for questions like "what's deprecated" or "what has low health".

ParameterTypeDescription
limitnumberMax results (default 1000)
maxHealthnumberOnly nodes with health score <= this value
minHealthnumberOnly nodes with health score >= this value
nodeTypestringFilter by type: function, component, backend_route, database, external_api, frontend_component, test, or method
statusstringFilter by status: draft, stable, deprecated, ghost, or warning

get_dependencies What does this file depend on

List everything a file imports/calls, transitively up to N hops — its dependencies. Use this to understand what a file relies on before refactoring it.

ParameterTypeDescription
path *stringFile path (or partial path) to inspect
depthnumberHow many hops to traverse (1-6, default 3)

get_impact What breaks if I change this file (blast radius)

List everything that depends on a file, transitively up to N hops — i.e. the blast radius of changing it. Call this BEFORE modifying a file's exported interface, function signatures, or behavior, so you know what else might break and don't change something without seeing its full impact.

ParameterTypeDescription
path *stringFile path (or partial path) you are about to change
depthnumberHow many hops to traverse (1-6, default 3)

find_path Find how two files are connected

Find the shortest chain of imports/calls connecting two files in the dependency graph. Useful for understanding an indirect relationship between two parts of the codebase.

ParameterTypeDescription
from *stringStarting file path (or partial path)
to *stringTarget file path (or partial path)

get_architecture_health Get overall architecture health

Get the workspace's overall architecture health grade (A-F), score distribution, and the highest-risk nodes.

find_architecture_smells Detect architecture problems

Detect architecture problems in the live graph: circular dependencies, god nodes (too many connections), isolated/dead code, deprecated code still in use, and stable code depending on unstable code. Call this after making a batch of changes to check you have not introduced new problems.

get_architecture_graph Get the full architecture graph

Get the full architecture graph (all nodes and edges) at a given zoom level. Use "overview" for a high-level domain summary, "domain" for grouped modules (default), or "detail" for every individual file/function — detail can be large, prefer list_nodes or get_dependencies/get_impact for targeted questions instead.

ParameterTypeDescription
zoomstringZoom level (default "domain")

get_last_session_recap What happened in the last coding session

Get the most recent session-recap notification for this workspace: how many files changed, what was added/removed, the health-score delta, and whether any new circular dependencies were introduced. Outflow generates one automatically when a burst of 3+ file saves settles (e.g. after an AI coding agent finishes a multi-file change). Use this to check what your last session actually did, or whether a previous batch of AI-generated changes introduced a problem.