Gtags MCP Server
by harshithsunkuio.github.harshithsunku/mcp-gtags-serverv2.0.0
Indexed C/C++ code navigation for AI agents — GNU Global (gtags) lookups over MCP, not grep scans.
context tax
queued
security
queued
cold start
queued
freshness
Active20d ago
Install Gtags MCP server
Install in Claude Code
claude mcp add gtags -- uvx mcp-gtags-serverInstall in Cursor
{
"mcpServers": {
"gtags": {
"command": "uvx",
"args": [
"mcp-gtags-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gtags": {
"command": "uvx",
"args": [
"mcp-gtags-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gtags": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-gtags-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gtags": {
"command": "uvx",
"args": [
"mcp-gtags-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GTAGS_MCP_ROOT | — | — | 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 | — | — | Set to 0 to disable the automatic user-space install of the gtags/ctags toolchain on first use. |
Freshness
Active — last maintenance signal 20d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-19 · 20d ago · GitHub
Latest release
2026-09-17 · 22d ago · GitHub · v2.0.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-17 · 22d ago · official registry · v2.0.0
FAQ
›How do I install the Gtags MCP server in Claude Code?
Run: claude mcp add gtags -- uvx mcp-gtags-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gtags require an API key?
No required environment variables are declared in its published metadata.
›Can I use Gtags as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Gtags in the official MCP registry?
Yes, as io.github.harshithsunku/mcp-gtags-server.