repo-map-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-map-mcp@repo-map-mcp index the current directory and show me the mapping for all the authentication files"
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-map-mcp
MCP server that maintains a self-updating, per-file JSON index of a repo (directory, filename, description, function names, timestamps) so an agent can query "what's probably relevant" instead of grepping/reading the whole tree.
File exploration and path annotation computed locally; Description and file purpose are dictated by the agent, which provides them even better context.
Install
uv syncRelated MCP server: mcp-code-indexer
Tools
index_repository(root_path, force=False)— walkroot_path(respecting.gitignore+ hardcoded excludes), hash each file, re-parse function names for changed files, update the on-disk index at<root_path>/.repo-index/index.json. Returns a summary string.get_repo_map(root_path, dir_prefix=None)— return the JSON index, optionally scoped to a subdirectory.search_files(root_path, query)— substring match against filename, description, and function names.get_stale_files(root_path)— files whosedescriptionStaleflag is set, with their function names, so the calling agent can write a description without opening the file.set_description(root_path, path, description)— writes the description back and clears the stale flag.
Supported languages for function extraction (via tree-sitter): Python,
JavaScript, TypeScript, TSX, Java, Rust. Other file types still get
indexed, with funcs: [].
Requirements:
Python
uv
Run
uv run repo-map-mcpRuns on stdio — add it to an MCP client config (e.g. Claude Code) pointing
command at uv run repo-map-mcp (cwd set to this directory, or use an
absolute path).
Test
uv run pytest -q
uv run python3 scripts/smoke_client.py # end-to-end tool call smoke testMaintenance
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
- FlicenseNot gradedqualityDmaintenanceA minimalist indexing tool that provides AI agents with semantic search and structural AST parsing for deep codebase understanding. It enables autonomous agents to navigate large codebases predictably using vector embeddings and native language server capabilities like definition and reference tracking.
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to intelligently navigate and understand codebases by providing instant file descriptions, semantic search, and context-aware recommendations, eliminating the need to repeatedly scan files.18MIT
- AlicenseBqualityBmaintenanceLocal repo-intelligence MCP for coding agents: indexes source, symbols, call graphs, git/GitHub history, and source-bound repo memories into local database.4715MIT
- AlicenseNot gradedqualityAmaintenanceIndexes GitHub repositories and provides living documentation context to coding agents, enabling them to ground work in actual repository conventions and propose doc updates.3032MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Generate AGENTS.md, AP2 compliance docs, checkout rules, debug playbook & MCP configs from any repo.
Securely search and manage workspace context files for AI agents and teams.
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/Kevin-CNC/better-scout'
If you have feedback or need assistance with the MCP directory API, please join our Discord server