Indexed C/C++ code navigation for AI agents โ GNU Global (gtags) lookups over MCP, not grep scans.
Connect Runs on your machine
claude mcp add mcp-gtags-server -e GTAGS_MCP_ROOT=<GTAGS_MCP_ROOT> -e GTAGS_MCP_AUTO_SETUP=<GTAGS_MCP_AUTO_SETUP> -- uvx mcp-gtags-server==2.0.0
{
"mcpServers": {
"mcp-gtags-server": {
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<GTAGS_MCP_AUTO_SETUP>"
}
}
}
}
{
"mcpServers": {
"mcp-gtags-server": {
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<GTAGS_MCP_AUTO_SETUP>"
}
}
}
}
{
"servers": {
"mcp-gtags-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<GTAGS_MCP_AUTO_SETUP>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
GTAGS_MCP_ROOTOptional | Optional pinned project root. Usually unnecessary: the server uses the client's workspace roots or auto-detects the repo from its working directory. |
GTAGS_MCP_AUTO_SETUPOptional | Set to 0 to disable the automatic user-space install of the gtags/ctags toolchain on first use. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 17 Sep 2026 |
| Last updated | 17 Sep 2026 |
| Registry name | io.github.harshithsunku/mcp-gtags-server |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
