AI-powered semantic search for your codebase in GitHub Copilot, Kiro, and other MCP-compatible editors
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add codebase-index-ngotaico --env REPO_PATH='<REPO_PATH>' --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y @ngotaico/mcp-codebase-index~/.codex/config.toml
[mcp_servers.codebase-index-ngotaico]
command = "npx"
args = ["-y", "@ngotaico/mcp-codebase-index"]
env = { REPO_PATH = "<REPO_PATH>", GEMINI_API_KEY = "<GEMINI_API_KEY>" }
# codex mcp add codebase-index-ngotaico --env REPO_PATH='<REPO_PATH>' --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y @ngotaico/mcp-codebase-index~/.cursor/mcp.json
{
"mcpServers": {
"codebase-index-ngotaico": {
"command": "npx",
"args": [
"-y",
"@ngotaico/mcp-codebase-index"
],
"env": {
"REPO_PATH": "<REPO_PATH>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"codebase-index-ngotaico": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ngotaico/mcp-codebase-index"
],
"env": {
"REPO_PATH": "<REPO_PATH>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codebase-index-ngotaico": {
"command": "npx",
"args": [
"-y",
"@ngotaico/mcp-codebase-index"
],
"env": {
"REPO_PATH": "<REPO_PATH>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codebase-index-ngotaico": {
"command": "npx",
"args": [
"-y",
"@ngotaico/mcp-codebase-index"
],
"env": {
"REPO_PATH": "<REPO_PATH>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"codebase-index-ngotaico": {
"command": "npx",
"args": [
"-y",
"@ngotaico/mcp-codebase-index"
],
"env": {
"REPO_PATH": "<REPO_PATH>",
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}Environment variables
REPO_PATHGEMINI_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.