sync: auto-sync from GURU-5070 at 2026-06-14 20:04:14

Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-06-14 20:04:14
This commit is contained in:
2026-06-14 20:05:02 -07:00
parent 30933bd35d
commit c5d4d3527c
119 changed files with 5204 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "grepai_index_status",
"description": "Check the health and status of the grepai index. Returns statistics about indexed files, chunks, and configuration.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"verbose": {
"description": "Include additional debug details when available (optional).",
"type": "boolean"
},
"workspace": {
"description": "Workspace name to check status for (optional)",
"type": "string"
}
},
"required": [],
"type": "object"
}
}

View File

@@ -0,0 +1,19 @@
{
"name": "grepai_list_projects",
"description": "List all projects within a workspace. Use this to discover project names and file paths relative to their project roots, which informs how to use the --path parameter in grepai_search.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"workspace": {
"description": "Name of the workspace to list projects for (optional when mcp-serve was started with --workspace)",
"type": "string"
}
},
"required": [],
"type": "object"
}
}

View File

@@ -0,0 +1,15 @@
{
"name": "grepai_list_workspaces",
"description": "List all available workspace names. Use this to discover valid values for tools that accept the workspace parameter.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
}
},
"required": [],
"type": "object"
}
}

View File

@@ -0,0 +1,37 @@
{
"name": "grepai_rpg_explore",
"description": "Explore the RPG graph using BFS traversal from a starting node with configurable depth and edge type filtering.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"depth": {
"description": "Maximum BFS depth (default: 2)",
"type": "number"
},
"direction": {
"description": "Traversal direction: 'forward', 'reverse', or 'both' (default: 'both')",
"type": "string"
},
"edge_types": {
"description": "Comma-separated edge types to follow: feature_parent, contains, invokes, imports, maps_to_chunk, semantic_sim",
"type": "string"
},
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"limit": {
"description": "Maximum nodes to return (default: 100)",
"type": "number"
},
"start_node_id": {
"description": "Starting node ID for graph traversal",
"type": "string"
}
},
"required": [
"start_node_id"
],
"type": "object"
}
}

View File

@@ -0,0 +1,21 @@
{
"name": "grepai_rpg_fetch",
"description": "Fetch detailed information about a specific RPG node including hierarchy, edges, and context.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"node_id": {
"description": "Node ID to fetch (e.g., 'sym:main.go:HandleRequest')",
"type": "string"
}
},
"required": [
"node_id"
],
"type": "object"
}
}

View File

@@ -0,0 +1,33 @@
{
"name": "grepai_rpg_search",
"description": "Search RPG nodes using Jaccard-based semantic matching with scope and kind filtering.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"kinds": {
"description": "Comma-separated node kinds to filter: area, category, subcategory, file, symbol, chunk (default: symbol)",
"type": "string"
},
"limit": {
"description": "Maximum number of results to return (default: 10)",
"type": "number"
},
"query": {
"description": "Natural language or feature query to search for",
"type": "string"
},
"scope": {
"description": "Area/category path to narrow search (e.g., 'cli', 'rpg/query')",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
}

View File

@@ -0,0 +1,41 @@
{
"name": "grepai_search",
"description": "Semantic code search. Search your codebase using natural language queries. Returns the most relevant code chunks with file paths, line numbers, and similarity scores.\n\nExamples:\n- workspace-only mode: workspace='acme', path='src/'\n- workspace + projects mode: workspace='acme', projects='backend,shared', path='api/'",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"compact": {
"description": "Return minimal output without content (default: false)",
"type": "boolean"
},
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"limit": {
"description": "Maximum number of results to return (default: 10)",
"type": "number"
},
"path": {
"description": "Path prefix to filter results. When projects is set, path is relative to each selected project root (not workspace root). Examples: workspace-only path='src/' and workspace+projects path='MM32/src' or 'api/'.",
"type": "string"
},
"projects": {
"description": "Comma-separated list of project names to search within workspace (requires workspace)",
"type": "string"
},
"query": {
"description": "Natural language search query (e.g., 'user authentication flow', 'error handling middleware')",
"type": "string"
},
"workspace": {
"description": "Workspace name for cross-project search (optional)",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
}

View File

@@ -0,0 +1,19 @@
{
"name": "grepai_stats",
"description": "Show token savings summary achieved by using grepai instead of grep-based workflows. Returns aggregated metrics from local stats.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"history": {
"description": "Include per-day history breakdown (default: false)",
"type": "boolean"
},
"limit": {
"description": "Max days in history (default: 30, only used when history=true)",
"type": "number"
}
},
"required": [],
"type": "object"
}
}

View File

@@ -0,0 +1,33 @@
{
"name": "grepai_trace_callees",
"description": "Find all functions called by the specified symbol. Useful for understanding what a function depends on.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"compact": {
"description": "Return minimal output without context (default: false)",
"type": "boolean"
},
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"project": {
"description": "Project name within workspace (requires workspace)",
"type": "string"
},
"symbol": {
"description": "Name of the function/method to find callees for",
"type": "string"
},
"workspace": {
"description": "Workspace name for cross-project trace (optional)",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
}
}

View File

@@ -0,0 +1,33 @@
{
"name": "grepai_trace_callers",
"description": "Find all functions that call the specified symbol. Useful for understanding code dependencies before modifying a function.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"compact": {
"description": "Return minimal output without context (default: false)",
"type": "boolean"
},
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"project": {
"description": "Project name within workspace (requires workspace)",
"type": "string"
},
"symbol": {
"description": "Name of the function/method to find callers for",
"type": "string"
},
"workspace": {
"description": "Workspace name for cross-project trace (optional)",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
}
}

View File

@@ -0,0 +1,33 @@
{
"name": "grepai_trace_graph",
"description": "Build a complete call graph around a symbol showing both callers and callees up to a specified depth.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"depth": {
"description": "Maximum depth for graph traversal (default: 2)",
"type": "number"
},
"format": {
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
"type": "string"
},
"project": {
"description": "Project name within workspace (requires workspace)",
"type": "string"
},
"symbol": {
"description": "Name of the function/method to build graph for",
"type": "string"
},
"workspace": {
"description": "Workspace name for cross-project trace (optional)",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
}
}