repo-explorer-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@repo-explorer-mcpexplore the repo and explain how config loading works"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
repo-explorer-mcp
A Rust MCP server that exposes the explore_repository tool over an rmcp stdio
transport, shipped for Linux (x86_64-unknown-linux-gnu) and Windows
(x86_64-pc-windows-msvc). It drives an internal LLM exploration loop over a
codebase-memory-mcp backend and ripgrep/rtk text search.
Install (recommended: npx setup script)
The setup script detects your OS/arch, checks/installs runtime dependencies,
downloads and checksum-verifies the matching release archive, installs the
binary, reports PATH status, and prints a ready-to-use .mcp.json snippet.
npx github:kwitsch/repo-explorer-mcp
# After the package is published to npm:
# npx repo-explorer-mcp-setupFlags:
-y,--yes— non-interactive; auto-approve dependency installs.--force— reinstall even if an up-to-date binary is already present.--version <x.y.z>— install a specific release (default: latest).-h,--help— usage.
The script installs into ~/.local/bin (Linux) or
%LOCALAPPDATA%\repo-explorer-mcp (Windows). It never edits your shell profile
or system PATH — it only reports whether the install directory is on PATH.
ripgrep is installed automatically via apt/dnf/pacman on Linux or
winget on Windows; if none of those is available, the script warns and
points at ripgrep's own install docs instead of installing it itself. rtk and
codebase-memory-mcp are report-only: if missing, the script tells you and
points at their upstream install docs (rtk is optional; search falls back to
plain ripgrep).
Related MCP server: ast-outline-mcp
Install (manual fallback)
Build from source:
cargo build --release --workspace
# binary at target/release/repo-explorer-mcpOr download a release archive and its checksum, verify, and place the binary on
PATH (see docs/smoke-test.md for the verification commands). Release assets
follow the frozen naming contract:
repo-explorer-mcp-<version>-x86_64-unknown-linux-gnu.tar.gz (+ .sha256)
repo-explorer-mcp-<version>-x86_64-pc-windows-msvc.zip (+ .sha256)from https://github.com/kwitsch/repo-explorer-mcp/releases.
Verify the version:
repo-explorer-mcp --version # prints: repo-explorer-mcp 0.1.0Configuration
The server reads a TOML config. Path precedence: --config <path> →
REPO_EXPLORER_CONFIG env var → ./repo-explorer.toml. The launch working
directory is treated as the repository root to explore.
Example repo-explorer.toml:
[llm]
# Failover cooldown after a provider errors, in seconds.
cooldown_seconds = 90
# Providers are tried in file order (= failover order).
[[llm.providers]]
name = "primary"
kind = "anthropic"
api_key_env = "ANTHROPIC_API_KEY" # names an env var; never the key itself
model = "claude-sonnet-4"
[[llm.providers]]
name = "secondary"
kind = "openai"
api_key_env = "OPENAI_API_KEY"
model = "gpt-4o"
# Exactly one of `command`+`args` (stdio) XOR `endpoint` (network).
[codebase_memory]
command = "codebase-memory-mcp"
args = ["--stdio"]
[search]
prefer_rtk = false # true prefers `rtk rg`; false uses plain ripgrep
timeout_seconds = 45
# rtk_path / ripgrep_path may be set explicitly; omitted => auto-detected on PATH.
[logging]
level = "info" # trace | debug | info | warn | errorThe env var named by each api_key_env must actually be set in the environment,
or config loading fails with MissingEnvVar.
.mcp.json
Installed-binary form (what the setup script prints):
{
"mcpServers": {
"repo-explorer": {
"command": "/home/you/.local/bin/repo-explorer-mcp",
"args": [],
"env": {}
}
}
}On Windows the command is
%LOCALAPPDATA%\\repo-explorer-mcp\\repo-explorer-mcp.exe. Add
"--config", "<path>" to args if your repo-explorer.toml is not at the
launch cwd. The in-repo development form instead launches via
cargo run --release --quiet -p repo-explorer-mcp --.
Build & test
cargo build --workspace
cargo test --workspace
cargo clippy --all-targets -- -D warnings
cargo fmt --checkTroubleshooting
Config loading fails fast with a named error:
Error | Cause | Fix |
|
| Add at least one |
| Two providers share a | Make each provider |
| An |
|
| Neither | Set exactly one under |
| Both | Keep exactly one. |
See docs/smoke-test.md for verifying a downloaded release artifact end to end.
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.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore, search, and read codebase repositories and API specifications efficiently, with support for file searching, content search via ripgrep, and reading API specs.23ISC
- AlicenseAqualityAmaintenanceEnables AI coding agents to efficiently explore codebases by providing structural outlines, module digests, symbol bodies, and AST-aware grep via MCP.433MIT
- AlicenseNot gradedqualityBmaintenanceServes a live code-graph workbench over stdio for MCP clients/agents, enabling Cypher queries and codebase analysis via KGLite tools.MIT
- AlicenseNot gradedqualityAmaintenanceEnables local file search, packing into LLM-ready context, and inspection via an MCP server on stdio.1MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/kwitsch/repo-explorer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server