Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
portYesLocal port for the server (CLI flag --port, e.g., 8000).
repoYesPath to the Git repository to expose (CLI flag --repo).
domainYesngrok domain used for the public MCP URL (CLI flag --domain).
rotate_keyNoPass --rotate-key to generate a new MCP URL key.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

RMR provides read-only code analysis for registered repositories. Workflow Guidelines for AI Agents:

  1. Tier 1 (Orientation): Call get_project_overview first to view the project file tree, entry docs, and ADR list.

  2. Tier 2 (Investigation): Use investigate_codebase with 'outline', 'symbol', 'grep', or 'ast' to locate code structures, and 'callers' or 'callees' for direct call relationships, or 'impact' for affected dependents with depth 1–5 (default 2) in a CodeGraph-indexed repository.

  3. Tier 3 (Evidence): Call inspect_evidence with specific targets to retrieve accurate line ranges with content_sha256 or git diffs.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pingA

Kiểm tra trạng thái sẵn sàng của RMR MCP Server.

get_project_overviewA

Lấy thông tin tổng quan Tier 1: danh sách dự án (khi không truyền project_id) hoặc cây file, tài liệu cơ sở (entry_docs), ADRs và trạng thái working tree (tree_state).

investigate_codebaseA

Điều tra kho mã nguồn Tier 2: 'outline' (chữ ký class/hàm/docstring), 'symbol' (định nghĩa và references bằng Jedi), 'grep' (văn bản/regex), 'ast' (mẫu cú pháp), 'callers' (ai gọi symbol), 'callees' (symbol gọi ai), 'impact' (phụ thuộc bị ảnh hưởng). Với callers/callees/impact, truyền tên symbol vào query và dùng subpath để chọn file định nghĩa khi tên bị trùng. Impact dùng depth 1–5 (mặc định 2). Các chế độ này yêu cầu index CodeGraph cục bộ.

inspect_evidenceA

Trích xuất bằng chứng kỹ thuật chính xác (Tier 3) kèm mã băm SHA-256 và trạng thái Working Tree: đọc dòng code ('file_lines'), đọc symbol ('symbol'), hoặc lấy git diff ('git_diff').

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation4/5

The four tools map cleanly to a tiered model (health check, Tier 1 overview, Tier 2 investigation, Tier 3 evidence), so the primary boundaries are clear. However, there is real overlap at the edges: 'symbol' appears both in investigate_codebase (definition + references) and inspect_evidence (read symbol with SHA-256 hash), and file listing in get_project_overview vs. file reading in inspect_evidence can be confused.

Naming Consistency4/5

Three tools follow a verb-first snake_case pattern (get_project_overview, investigate_codebase, inspect_evidence), giving a predictable read/query convention. 'ping' is a bare verb and breaks the noun-phrase pattern, but as a single conventional health-check name it is a minor deviation.

Tool Count3/5

Four tools is thin on the surface, and the real complexity is hidden inside investigate_codebase, which multiplexes seven modes (outline, symbol, grep, ast, callers, callees, impact) behind one name. This is efficient but pushes mode selection into parameters, making the effective toolset larger than four and harder to discover.

Completeness3/5

The read/investigation lifecycle is covered end to end, but the descriptions state that callers/callees/impact require a local CodeGraph index and no tool exists to build, refresh, or inspect that index — a dead end for an agent on a cold workspace. All tools are read-only, with no way to record findings, ADRs, or state.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues