Tool Reference
Complete reference for all 43 MCP tools. Each tool is mapped to a semantic domain defined by the five connectome glyphs.
Find related nodes by propagating signal through the graph. Starts from a query, activates matching nodes, then spreads energy along weighted edges. Returns ranked results by activation strength. The core discovery mechanism of the connectome.
| Name | Type | Description |
|---|---|---|
| query | string | What to search for. Can be a concept, module name, or natural language question. |
| depth | 1-5 | How many hops to propagate. Higher = broader but noisier results. |
| threshold | 0.0-1.0 | Minimum activation energy to include in results. Higher = more precise. |
| agent_id | string | Calling agent identifier for multi-agent coordination. |
Parse a codebase or JSON data and build the connectome graph. Extracts modules, functions, types, and files as nodes. Discovers imports, calls, contains, and co-change relationships as edges. Supports full rebuild or incremental updates.
| Name | Type | Description |
|---|---|---|
| source | path | Path to the codebase directory or JSON file to ingest. |
| mode | full | incremental | Full rebuilds the entire graph. Incremental updates only changed files. |
| agent_id | string | Calling agent identifier. |
Strengthen or weaken graph connections based on usage feedback. When you use activate and the results are helpful, call learn with "correct". If results were off, use "wrong". The graph adapts over time, improving result quality through Hebbian plasticity.
| Name | Type | Description |
|---|---|---|
| query | string | The original query that produced results. |
| feedback | correct | wrong | partial | Was the result useful? Adjusts edge weights accordingly. |
| agent_id | string | Calling agent identifier. |
Pre-activate a relevant subgraph before starting focused work. Primes the spreading activation network so subsequent queries in the same domain return faster, more relevant results. Think of it as "warming up the neural pathways."
| Name | Type | Description |
|---|---|---|
| context | string | Description of the task you are about to work on. |
| agent_id | string | Calling agent identifier. |
Trace the dependency chain between two nodes in the graph. Answers "Why does A relate to B?" by finding the shortest weighted path and explaining each hop. Critical for understanding hidden coupling and non-obvious dependencies.
| Name | Type | Description |
|---|---|---|
| from | string | Source node (module, function, or file). |
| to | string | Target node. |
| max_hops | number | Maximum path length to search. |
| agent_id | string | Calling agent identifier. |
Follow all connections from a node in a given direction. Upstream shows what depends on it. Downstream shows what it depends on. Both gives the complete dependency web.
| Name | Type | Description |
|---|---|---|
| node | string | Starting node for the trace. |
| direction | upstream | downstream | both | Which direction to follow edges. |
| depth | number | How deep to trace. |
| agent_id | string | Calling agent identifier. |
View the temporal history of a node. Shows when it was created, modified, and what co-changed alongside it. Powered by the TemporalEngine's causal chain analysis.
| Name | Type | Description |
|---|---|---|
| node | string | Node to get the timeline for. |
| range | string | Time range filter (e.g. "7d", "30d", "all"). |
| agent_id | string | Calling agent identifier. |
A more targeted search than activate. Uses semantic ranking within a constrained scope. Best for when you know roughly where to look but need the graph to rank results intelligently.
| Name | Type | Description |
|---|---|---|
| query | string | What to search for. |
| scope | string | Constrain search to a subgraph region. |
| limit | number | Maximum results to return. |
| agent_id | string | Calling agent identifier. |
Identify gaps in the graph structure. Uses topology analysis (structural holes, betweenness centrality) to find places where connections should exist but do not. The signature capability -- "find what's missing" is what separates a graph engine from a search engine.
| Name | Type | Description |
|---|---|---|
| context | string | What domain to analyze for gaps. |
| scope | string | Constrain analysis to a subgraph. |
| agent_id | string | Calling agent identifier. |
Detect structurally similar or duplicate modules. Compares graph topology (not just code text) to find modules that serve the same purpose. Critical for consolidation and audit.
| Name | Type | Description |
|---|---|---|
| nodes | string[] | Nodes to fingerprint and compare. |
| threshold | 0.0-1.0 | Similarity threshold for matches. |
| agent_id | string | Calling agent identifier. |
Scan a region of the graph and report its structural properties: density, clustering coefficient, central nodes, isolated nodes, and community boundaries.
| Name | Type | Description |
|---|---|---|
| scope | string | Region to scan. |
| depth | number | Depth of structural analysis. |
| agent_id | string | Calling agent identifier. |
Compare two subgraphs to find where they diverge structurally. Useful for comparing feature branches, old vs new implementations, or cross-service boundaries.
| Name | Type | Description |
|---|---|---|
| a | string | First subgraph scope. |
| b | string | Second subgraph scope. |
| agent_id | string | Calling agent identifier. |
Determine what would be affected by changing a node. Propagates impact through dependency edges to show the "blast radius" of a modification. Essential before any refactoring.
| Name | Type | Description |
|---|---|---|
| node | string | The node you plan to modify. |
| depth | number | How far to propagate impact. |
| agent_id | string | Calling agent identifier. |
Given a set of changed nodes, predict what else needs to change. Uses co-change history from the TemporalEngine to identify files that historically change together.
| Name | Type | Description |
|---|---|---|
| changed_nodes | string[] | Nodes that have been or will be modified. |
| agent_id | string | Calling agent identifier. |
Simulate removing nodes from the graph and see what breaks. The CounterfactualEngine creates a shadow graph, removes specified nodes, and reports disconnections, orphans, and broken paths.
| Name | Type | Description |
|---|---|---|
| remove_nodes | string[] | Nodes to simulate removing. |
| agent_id | string | Calling agent identifier. |
Compare the graph at two different points in time or across two snapshots. Shows nodes added, removed, and edges that changed weight. Useful for understanding what happened between sessions.
| Name | Type | Description |
|---|---|---|
| baseline | string | Baseline snapshot or timestamp. |
| current | string | Current snapshot or "now". |
| agent_id | string | Calling agent identifier. |
Model hypothetical changes without actually modifying the graph. Describe a scenario and the engine simulates its effects on the connectome topology.
| Name | Type | Description |
|---|---|---|
| hypothesis | string | Description of the hypothetical change. |
| agent_id | string | Calling agent identifier. |
Check the health of the m1nd server. Reports node count, edge count, memory usage, uptime, query count, and persistence status.
| Name | Type | Description |
|---|---|---|
| agent_id | string | Calling agent identifier. |
Report what has changed in the graph since a given point. Essential for session recovery -- call at the start of every new session to understand what happened since your last context.
| Name | Type | Description |
|---|---|---|
| since | string | Timestamp or label (e.g. "last_session", "2h"). |
| agent_id | string | Calling agent identifier. |
Check whether a proposed implementation plan is consistent with the current graph state. Identifies missing dependencies, circular references, and unreachable goals.
| Name | Type | Description |
|---|---|---|
| plan | string | The plan to validate (JSON or description). |
| agent_id | string | Calling agent identifier. |
Create a snapshot lock on a subgraph region. While locked, you can track changes (lock.diff), rebase to current state (lock.rebase), or get notified of modifications (lock.watch).
| Name | Type | Description |
|---|---|---|
| scope | string | Region to lock. |
| agent_id | string | Calling agent identifier. |
Monitor a locked region for changes made by other agents. Choose a strategy: alert on any change, or only structural changes.
| Name | Type | Description |
|---|---|---|
| lock_id | string | Lock identifier from lock.create. |
| strategy | string | Watch strategy (any, structural). |
| agent_id | string | Calling agent identifier. |
Compare the current graph state against the locked baseline. Shows what changed while you held the lock.
| Name | Type | Description |
|---|---|---|
| lock_id | string | Lock identifier. |
| agent_id | string | Calling agent identifier. |
Update the lock baseline to the current graph state. Use after reviewing lock.diff to accept observed changes.
| Name | Type | Description |
|---|---|---|
| lock_id | string | Lock identifier. |
| agent_id | string | Calling agent identifier. |
Release a previously created lock, cleaning up the baseline snapshot.
| Name | Type | Description |
|---|---|---|
| lock_id | string | Lock identifier. |
| agent_id | string | Calling agent identifier. |
Save the current exploration trail (sequence of queries and activations) as a named bookmark. Resume later with trail.resume.
| Name | Type | Description |
|---|---|---|
| name | string | Name for this trail. |
| agent_id | string | Calling agent identifier. |
Resume a previously saved trail, restoring the activation state and exploration context.
| Name | Type | Description |
|---|---|---|
| trail_id | string | Trail identifier from trail.save. |
| agent_id | string | Calling agent identifier. |
Combine two exploration trails into one, merging their activation histories and context.
| Name | Type | Description |
|---|---|---|
| trail_a | string | First trail identifier. |
| trail_b | string | Second trail identifier. |
| agent_id | string | Calling agent identifier. |
List all saved exploration trails with their names, creation times, and activation summaries.
| Name | Type | Description |
|---|---|---|
| agent_id | string | Calling agent identifier. |
Find resonance patterns in the graph. The ResonanceEngine sends signals from seed nodes and detects standing wave patterns -- nodes that sustain high activation from multiple sources simultaneously. Reveals deep structural relationships invisible to regular search.
| Name | Type | Description |
|---|---|---|
| seeds | string[] | Seed nodes to emit from. |
| harmonics | number | Number of harmonic frequencies to analyze. |
| agent_id | string | Calling agent identifier. |
Query across multiple graph instances simultaneously. Useful for multi-repo projects or comparing different codebases. Returns unified results with source attribution.
| Name | Type | Description |
|---|---|---|
| query | string | What to search for across graphs. |
| graphs | string[] | Graph identifiers to query. |
| agent_id | string | Calling agent identifier. |
Begin an interactive graph exploration session. A perspective is a stateful walk through the graph -- you focus on a node, see its connections, navigate along edges, and build understanding through movement rather than querying.
| Name | Type | Description |
|---|---|---|
| focus | string | Starting node for the perspective. |
| agent_id | string | Calling agent identifier. |
List all navigable routes from the current perspective focus. Shows connected nodes grouped by edge type.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Get full details about the node at your current perspective focus. Properties, metadata, connection count, weight distribution, and community membership.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Preview a connected node without changing your perspective focus. Like peeking around a corner.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| node | string | Node to peek at. |
| agent_id | string | Calling agent identifier. |
Move your perspective focus along an edge to a connected node. Your navigation history is preserved for backtracking.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| route | string | Route/edge to follow. |
| agent_id | string | Calling agent identifier. |
Get intelligent suggestions for where to navigate next based on your exploration history and current position. The engine analyzes patterns in your traversal to suggest high-value next steps.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Find nodes with the strongest connection to your current focus. Unlike routes (which show direct connections), affinity considers multi-hop weighted paths.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Fork your current perspective into a new branch. Both branches share history up to this point but diverge from here. Compare later with perspective.compare.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Go back to the previous node in your perspective history. Like the back button in a browser.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Active perspective identifier. |
| agent_id | string | Calling agent identifier. |
Compare the paths and discoveries of two perspective sessions. Shows overlapping nodes, divergence points, and unique findings.
| Name | Type | Description |
|---|---|---|
| perspective_a | string | First perspective. |
| perspective_b | string | Second perspective. |
| agent_id | string | Calling agent identifier. |
List all active perspective sessions with their current focus, history length, and creation time.
| Name | Type | Description |
|---|---|---|
| agent_id | string | Calling agent identifier. |
Close and clean up a perspective session. Consider saving it as a trail first with trail.save if you want to resume later.
| Name | Type | Description |
|---|---|---|
| perspective_id | string | Perspective to close. |
| agent_id | string | Calling agent identifier. |