Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,10 @@ The MCP server exposes StakGraph's graph intelligence to AI agents running in Cu
| Tool | What it does |
| ------------------------- | ------------------------------------------------------------------------------- |
| `stakgraph_search` | Fulltext or vector (semantic) search across the codebase graph |
| `stakgraph_get_nodes` | Retrieve nodes by type, name, or file |
| `stakgraph_get_edges` | Retrieve edges connecting nodes |
| `stakgraph_map` | Visual map of code relationships from any node (configurable depth & direction) |
| `stakgraph_repo_map` | Directory/file tree of the repository |
| `stakgraph_code` | Retrieve actual code from a subtree |
| `stakgraph_shortest_path` | Find shortest path between two nodes in the graph |
| `stakgraph_explore` | Autonomous AI agent that explores the codebase and answers questions |
| `stakgraph_rules_files` | Fetch rules/instructions files (.cursorrules, AGENTS.md, etc.) |

### Built-in agents

Expand Down
16 changes: 0 additions & 16 deletions mcp/src/tools/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ server
const fa = stakgraph.SearchSchema.parse(args);
return await stakgraph.search(fa);
}
case stakgraph.GetNodesTool.name: {
const fa = stakgraph.GetNodesSchema.parse(args);
return await stakgraph.getNodes(fa);
}
case stakgraph.GetEdgesTool.name: {
const fa = stakgraph.GetEdgesSchema.parse(args);
return await stakgraph.getEdges(fa);
}
case stakgraph.GetMapTool.name: {
const fa = stakgraph.GetMapSchema.parse(args);
return await stakgraph.getMap(fa);
Expand All @@ -69,17 +61,9 @@ server
const fa = stakgraph.ShortestPathSchema.parse(args);
return await stakgraph.shortestPath(fa);
}
case stakgraph.RepoMapTool.name: {
const fa = stakgraph.RepoMapSchema.parse(args);
return await stakgraph.repoMap(fa);
}
case stakgraph.GetRulesFilesTool.name: {
return await stakgraph.getRulesFiles();
}
case stakgraph.ExploreTool.name: {
const fa = stakgraph.ExploreSchema.parse(args);
return await stakgraph.explore(fa);
}
default:
if (name.startsWith("stagehand_")) {
return await stagehand.call(name, args || {}, extra.sessionId);
Expand Down
30 changes: 0 additions & 30 deletions mcp/src/tools/stakgraph/explore.ts

This file was deleted.

52 changes: 0 additions & 52 deletions mcp/src/tools/stakgraph/get_edges.ts

This file was deleted.

53 changes: 0 additions & 53 deletions mcp/src/tools/stakgraph/get_nodes.ts

This file was deleted.

12 changes: 0 additions & 12 deletions mcp/src/tools/stakgraph/index.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
import { GetCodeTool } from "./get_code.js";
import { GetEdgesTool } from "./get_edges.js";
import { GetMapTool } from "./get_map.js";
import { GetNodesTool } from "./get_nodes.js";
import { GetRulesFilesTool } from "./get_rules_files.js";
import { RepoMapTool } from "./repo_map.js";
import { ShortestPathTool } from "./shortest_path.js";
import { SearchTool } from "./search.js";
import { ExploreTool } from "./explore.js";

export * from "./search.js";
export * from "./get_nodes.js";
export * from "./get_edges.js";
export * from "./get_map.js";
export * from "./get_code.js";
export * from "./get_rules_files.js";
export * from "./repo_map.js";
export * from "./shortest_path.js";
export * from "./explore.js";

export const ALL_TOOLS = [
SearchTool,
GetNodesTool,
GetEdgesTool,
GetMapTool,
RepoMapTool,
GetCodeTool,
ShortestPathTool,
GetRulesFilesTool,
ExploreTool,
];
48 changes: 0 additions & 48 deletions mcp/src/tools/stakgraph/repo_map.ts

This file was deleted.

Loading