About io.github.harshithsunku/mcp-gtags-server
io.github.harshithsunku/mcp-gtags-server is an MCP server published by harshithsunku in the Blockchain category: indexed C/C++ code navigation for AI agents — GNU Global (gtags) lookups over MCP, not grep scans.
The repository has 1 stars and 0 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
uvx mcp-gtags-serverpip install mcp-gtags-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (7)
blast_radius**What does my diff impact?** Takes `git diff <ref>`, maps changed lines to their enclosing functions via the index, then walks callers outward — results ranked by distance (changed functions first, direct callers next). The pre-merge "what else must I re-check" answer, tied to real git state.
Parameters not published.
find_callees**The outgoing call graph.** What does this function call? Body-extracted call sites, each verified against the index, split into in-tree (with locations) and external.
Parameters not published.
find_callers**The call graph, deduplicated.** Every reference mapped to its enclosing function with call counts: 245 raw lines for `ext4_mark_inode_dirty` collapse to 62 callers. Iterate it to walk the caller graph as deep as you need.
Parameters not published.
get_symbol_body**Just the source of a definition.** The 271-line `tcp_v4_rcv` function — not the 3,500-line file it lives in. Handles functions, structs, and multi-line macros.
Parameters not published.
reachability**"Can this function end up in that one?"** — BFS over the caller graph returns the *shortest* call chain from A to B with the file:line of every call site (`ksys_read → vfs_read → rw_verify_area`), or an honest "no static path" that names the function-pointer caveat. One call instead of a dozen find_callers rounds.
Parameters not published.
summarize_references**A ranked per-file count.** The cheap first move for hot symbols — `kmalloc`'s 2,744 references become one screen of "where usage concentrates".
Parameters not published.
symbol_info**A one-shot overview card** — definitions (with kind, signature, scope, and `#ifdef` guard), reference count, hottest files, `EXPORT_SYMBOL*` status, and which tool to use next. Multiply-defined symbols are explained as "N definitions under M distinct guards"; macro-generated ones resolve with a `resolved_via` flag. The best first query for any unfamiliar symbol.
Parameters not published.
Ask AI
Ask AI about io.github.harshithsunku/mcp-gtags-server
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.