repo-map-mcp
repo-map-mcp
MCP-Server, der einen selbstaktualisierenden, pro Datei gespeicherten JSON-Index eines Repositorys verwaltet (Verzeichnis, Dateiname, Beschreibung, Funktionsnamen, Zeitstempel), damit ein Agent abfragen kann, „was wahrscheinlich relevant ist“, statt den gesamten Baum zu greppen oder zu lesen.
Dateierkundung und Pfadannotation werden lokal berechnet; Beschreibung und Dateizweck werden vom Agenten vorgegeben, der damit einen noch besseren Kontext liefert.
Installation
uv syncRelated MCP server: mcp-code-indexer
Werkzeuge
index_repository(root_path, force=False)— durchläuftroot_path(unter Berücksichtigung von.gitignore+ hartkodierten Ausschlüssen), erstellt einen Hash für jede Datei, parst Funktionsnamen für geänderte Dateien neu und aktualisiert den Index auf der Festplatte unter<root_path>/.repo-index/index.json. Gibt eine zusammenfassende Zeichenkette zurück.get_repo_map(root_path, dir_prefix=None)— gibt den JSON-Index zurück, optional eingegrenzt auf ein Unterverzeichnis.search_files(root_path, query)— führt eine Teilstring-Suche in Dateinamen, Beschreibung und Funktionsnamen durch.get_stale_files(root_path)— Dateien, derendescriptionStale-Flag gesetzt ist, mit ihren Funktionsnamen, damit der aufrufende Agent eine Beschreibung schreiben kann, ohne die Datei zu öffnen.set_description(root_path, path, description)— schreibt die Beschreibung zurück und löscht das Stale-Flag.
Unterstützte Sprachen für die Funktionsextraktion (über tree-sitter): Python,
JavaScript, TypeScript, TSX, Java, Rust. Andere Dateitypen werden trotzdem
indiziert, mit funcs: [].
Voraussetzungen:
Python
uv
Ausführen
uv run repo-map-mcpLäuft über stdio — fügen Sie es zu einer MCP-Client-Konfiguration hinzu (z. B. Claude Code), bei der
command auf uv run repo-map-mcp zeigt (cwd auf dieses Verzeichnis setzen, oder
einen absoluten Pfad verwenden).
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