MCP Tools

Tools available to your AI assistant when Gabb is enabled

gabb_symbol

Search for symbols by name across your workspace. Find where functions, classes, and methods are defined without text-based grep searches.

gabb_symbol name="handleRequest"
# Returns: symbol location with file path and line number

gabb_structure

Preview file structure before reading. Shows symbols with their types and line numbers. Useful for large files where you only need specific sections.

gabb_structure file="src/app.rs"
# Returns: symbol names, kinds, line numbers

Supported Languages

Language Extensions Symbol Types
Python .py, .pyi Functions, classes, methods, variables
TypeScript .ts, .tsx Functions, classes, interfaces, types
Rust .rs Functions, structs, traits, impls
Kotlin .kt, .kts Functions, classes, objects, interfaces
Go .go Functions, structs, interfaces, methods
C++ .cpp, .cc, .hpp, .hh Functions, classes, structs, namespaces

More languages coming soon. Request support on GitHub .

CLI Reference

Core Commands

gabb setup

Interactive setup wizard for one-command onboarding

gabb daemon

Manage the indexing daemon (start, stop, status)

gabb mcp-server

Start MCP server for AI assistant integration

gabb symbols

List symbols from an existing index

gabb definition

Find where a symbol is declared

gabb usages

Find usages of a symbol at a source position

gabb structure

Show the structure of a file (symbols with hierarchy)

gabb stats

Show index statistics (file counts, symbol counts)

Global Options

-v, --verbose

Increase output verbosity (-v, -vv)

-q, --quiet

Suppress non-essential output

-f, --format

Output format: text, json, jsonl, csv, tsv

-w, --workspace

Workspace root (auto-detected if not specified)