repo-map-mcp
repo-map-mcp
Servidor MCP que mantiene un índice JSON por archivo y autoactualizable de un repositorio (directorio, nombre de archivo, descripción, nombres de funciones, marcas de tiempo) para que un agente pueda consultar "qué es probablemente relevante" en lugar de hacer grep o leer todo el árbol.
La exploración de archivos y la anotación de rutas se calculan localmente; la descripción y el propósito del archivo los dicta el agente, lo que proporciona un contexto aún mejor.
Instalación
uv syncRelated MCP server: mcp-code-indexer
Herramientas
index_repository(root_path, force=False)— recorreroot_path(respetando.gitignore+ exclusiones codificadas), calcula el hash de cada archivo, reanaliza los nombres de funciones de los archivos modificados y actualiza el índice en disco en<root_path>/.repo-index/index.json. Devuelve una cadena de resumen.get_repo_map(root_path, dir_prefix=None)— devuelve el índice JSON, opcionalmente limitado a un subdirectorio.search_files(root_path, query)— coincidencia de subcadena con el nombre de archivo, la descripción y los nombres de funciones.get_stale_files(root_path)— archivos cuyo indicadordescriptionStaleestá activado, con sus nombres de funciones, para que el agente llamador pueda escribir una descripción sin abrir el archivo.set_description(root_path, path, description)— escribe la descripción de vuelta y limpia el indicador obsoleto.
Lenguajes compatibles para la extracción de funciones (mediante tree-sitter): Python, JavaScript, TypeScript, TSX, Java, Rust. Otros tipos de archivo también se indexan, con funcs: [].
Requisitos:
Python
uv
Ejecución
uv run repo-map-mcpSe ejecuta en stdio — añádelo a la configuración de un cliente MCP (p. ej. Claude Code) apuntando command a uv run repo-map-mcp (con cwd establecido en este directorio, o usa una ruta absoluta).
Pruebas
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