RepoNav
RepoNav
RepoNav is a deterministic, read-only repository evidence service for local
MCP clients. It exposes a single repo_nav_locate tool that turns a repository
question, search terms, and optional anchors into verified evidence, follow-up
candidates, coverage details, and next actions.
RepoNav prefers CodeGraph when the target repository is indexed and falls back to text search when necessary. It does not modify the target repository.
Requirements
Node.js 20+
rg(ripgrep) for the text-search fallbackOptional: CodeGraph for indexed repository exploration
Related MCP server: MCP Indexer
Install and build
git clone https://github.com/gchigoo/repo-nav.git
cd repo-nav
npm ci
npm run buildAdd to Codex
Register the built stdio server with Codex:
codex mcp add repo_nav -- node <ABSOLUTE_REPO_PATH>\dist\main.js
codex mcp listThe server publishes one read-only MCP tool:
repo_nav_locateExample arguments:
{
"repoPath": "D:\\path\\to\\target-repository",
"question": "Where is the repository evidence service token used?",
"terms": ["REPOSITORY_EVIDENCE_SERVICE"],
"anchors": [
{ "kind": "symbol", "value": "REPOSITORY_EVIDENCE_SERVICE" }
]
}See the MCP getting-started guide and the
repo_nav_locate reference for the full
contract.
Debug CLI
npm run repo-nav -- --help
npm run repo-nav -- debug locate --help
npm run repo-nav -- debug probe --help
npm run repo-nav -- debug golden --helpSee the debug CLI guide for command details and exit-code semantics.
Verification
npm run build
npm run typecheck
npm test
npm run test:golden -- --all
npm run test:mcp -- --all
npm run test:docsThe MVP acceptance contract and evidence are documented in
docs/acceptance/mvp.md.
Design principles
Read-only repository access
Deterministic and typed output contracts
Explicit distinction between confirmed evidence and candidates
Bounded results with coverage and next-action metadata
Secret-like value redaction at public output boundaries
CodeGraph-first retrieval with a controlled fallback path
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gchigoo/repo-nav'
If you have feedback or need assistance with the MCP directory API, please join our Discord server