Skip to main content
Glama

repo-map-mcp

MCP 서버는 저장소의 자체 업데이트되는 파일별 JSON 인덱스를 유지합니다. (디렉토리, 파일명, 설명, 함수 이름, 타임스탬프) 에이전트가 전체 트리를 grep하거나 읽는 대신 "아마 관련이 있을 것"을 질의할 수 있습니다.

파일 탐색 및 경로 주석은 로컬에서 계산됩니다. 설명과 파일 목적은 에이전트가 결정하며, 이는 더 나은 컨텍스트를 제공합니다.

설치

uv sync

Related MCP server: mcp-code-indexer

도구

  • index_repository(root_path, force=False)root_path를 탐색하고 (.gitignore 및 하드코딩된 제외 항목을 존중), 각 파일을 해시하고, 변경된 파일의 함수 이름을 다시 파싱하고, <root_path>/.repo-index/index.json의 디스크 인덱스를 업데이트합니다. 요약 문자열을 반환합니다.

  • get_repo_map(root_path, dir_prefix=None) — JSON 인덱스를 반환하며, 선택적으로 하위 디렉토리로 범위를 지정할 수 있습니다.

  • search_files(root_path, query) — 파일명, 설명, 함수 이름에 대한 부분 문자열 일치.

  • get_stale_files(root_path)descriptionStale 플래그가 설정된 파일과 해당 함수 이름을 반환하여, 호출 에이전트가 파일을 열지 않고 설명을 작성할 수 있게 합니다.

  • set_description(root_path, path, description) — 설명을 다시 쓰고 stale 플래그를 지웁니다.

함수 추출을 위해 지원되는 언어 (tree-sitter 사용): Python, JavaScript, TypeScript, TSX, Java, Rust. 다른 파일 유형도 인덱싱되며, funcs: []로 표시됩니다.

요구 사항:

  • Python

  • uv

실행

uv run repo-map-mcp

stdio에서 실행됩니다 — MCP 클라이언트 구성(예: Claude Code)에 추가하고 commanduv run repo-map-mcp로 지정합니다 (cwd를 이 디렉토리로 설정하거나 절대 경로를 사용).

테스트

uv run pytest -q
uv run python3 scripts/smoke_client.py   # end-to-end tool call smoke test
Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    Not graded
    quality
    D
    maintenance
    A 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.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    18
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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