Documentation / User Guide
Complete documentation for using Codanna effectively.
- CLI Reference - All commands and flags
- MCP Tools - Available tools when using the MCP server
- Configuration - Lives in
.codanna/settings.toml - Search Guide - Semantic search best practices
| Command | Description | Example |
|---|---|---|
codanna init |
Set up .codanna directory with default configuration | codanna init --force |
codanna index <PATH> |
Build searchable index from your codebase | codanna index src --progress |
codanna config |
Display active settings | codanna config |
codanna serve |
Start MCP server for AI assistants | codanna serve --watch |
| Tool | Description | Example |
|---|---|---|
find_symbol |
Find a symbol by exact name | codanna mcp find_symbol main |
get_calls |
Show functions called by a given function | codanna mcp get_calls process_filecodanna mcp get_calls symbol_id:1883 |
find_callers |
Show functions that call a given function | codanna mcp find_callers initcodanna mcp find_callers symbol_id:1883 |
analyze_impact |
Analyze the impact radius of symbol changes | codanna mcp analyze_impact Parsercodanna mcp analyze_impact symbol_id:1883 |
| Tool | Description | Example |
|---|---|---|
search_symbols |
Search symbols with full-text fuzzy matching | codanna mcp search_symbols query:parse kind:function limit:10 |
semantic_search_docs |
Search using natural language queries | codanna mcp semantic_search_docs query:"error handling" limit:5 |
Tip: All tools return [symbol_id:123] in results. Use symbol_id:ID for unambiguous follow-up queries instead of symbol names.
- Set up Integrations with your AI assistant
- Explore Advanced Unix-native features
- Learn about the Architecture under the hood