mcp-gtags-server
An MCP server that provides indexed C/C++ code navigation for AI agents using GNU Global (gtags). It replaces slow and noisy grep scans with fast, indexed lookups, offering ~100x faster query times and significantly less context noise. It supports kernel-scale codebases, handles #ifdef guards, and requires no sudo privileges or pre-installed toolchains, installing itself into user space.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find function definitions in large C/C++ codebases
- Locate references to specific symbols
- Navigate code without full tree scans
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-gtags-server 2.0.0
{
"version": "2.0.0",
"transport": "stdio",
"identifier": "mcp-gtags-server",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "GTAGS_MCP_ROOT",
"format": "string",
"description": "Optional pinned project root. Usually unnecessary: the server uses the client's workspace roots or auto-detects the repo from its working directory."
},
{
"name": "GTAGS_MCP_AUTO_SETUP",
"format": "string",
"description": "Set to 0 to disable the automatic user-space install of the gtags/ctags toolchain on first use."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-gtags-server": {
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<YOUR_GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<YOUR_GTAGS_MCP_AUTO_SETUP>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-gtags-server": {
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<YOUR_GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<YOUR_GTAGS_MCP_AUTO_SETUP>"
}
}
}
}VS Code
{
"servers": {
"mcp-gtags-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<YOUR_GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<YOUR_GTAGS_MCP_AUTO_SETUP>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-gtags-server": {
"command": "uvx",
"args": [
"mcp-gtags-server==2.0.0"
],
"env": {
"GTAGS_MCP_ROOT": "<YOUR_GTAGS_MCP_ROOT>",
"GTAGS_MCP_AUTO_SETUP": "<YOUR_GTAGS_MCP_AUTO_SETUP>"
}
}
}
}Let your agent find its tools
Find servers like mcp-gtags-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.