NestDaddy

Mcp Gtags Server

io.github.harshithsunku/mcp-gtags-server ยท v2.0.0

Indexed C/C++ code navigation for AI agents โ€” GNU Global (gtags) lookups over MCP, not grep scans.

Connect Runs on your machine

Terminal
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
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
GTAGS_MCP_ROOT
Optional
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_SETUP
Optional
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 published17 Sep 2026
Last updated17 Sep 2026
Registry nameio.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.