Skip to main content
Glama
gzmagyari

RepoChatMCP

by gzmagyari

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHAT_SEARCH_CLAUDE_ROOTNoCustom root directory for Claude Code session files.
CHAT_SEARCH_CODEX_ARCHIVEDNoCustom directory for Codex archived session files.
CHAT_SEARCH_CODEX_SESSIONSNoCustom directory for Codex session files.
CHAT_SEARCH_KNOWLEDGE_MODELNoModel identifier for HTTP backend (e.g., moonshotai/kimi-k2-0905@groq).
CHAT_SEARCH_KNOWLEDGE_API_KEYNoAPI key for HTTP backend.
CHAT_SEARCH_KNOWLEDGE_BACKENDNoKnowledge indexing backend: off, auto, http, or codex. Default is off.
CHAT_SEARCH_KNOWLEDGE_BASE_URLNoBase URL for HTTP backend (e.g., https://openrouter.ai/api/v1).
CHAT_SEARCH_KNOWLEDGE_CODEX_BINNoPath to Codex binary for codex backend.
CHAT_SEARCH_KNOWLEDGE_MAX_CHARSNoMaximum characters for chunk splitting (e.g., 500000).
CHAT_SEARCH_KNOWLEDGE_TIMEOUT_MSNoTimeout in milliseconds for HTTP requests.
CHAT_SEARCH_KNOWLEDGE_HTTP_CONCURRENCYNoConcurrency limit for HTTP chunk calls (e.g., 3).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
chat.list_sessionsB

List discovered chat sessions for the current repo.

chat.searchC

Search chat messages by text query with relevance scoring.

chat.grepC

Grep chat messages by pattern (supports |, &, regex).

chat.read_sessionC

Read messages from a specific session.

chat.read_linesB

Read specific lines or lines around a keyword/regex from a session.

chat.compaction_knowledgeC

Collect live compaction knowledge metadata and return an absolute file path for the compaction snapshot.

chat.start_knowledge_indexA

Start repository knowledge indexing as an async job and return immediately with a job ID.

chat.get_knowledge_index_statusA

Get the status and progress of an async repository knowledge indexing job.

chat.cancel_knowledge_indexA

Request cancellation of an async repository knowledge indexing job.

chat.list_knowledge_batchesC

List persisted knowledge batches with canonical combined artifact information.

chat.read_latest_knowledgeB

Read paginated text from the latest persisted combined knowledge artifact.

chat.read_knowledge_batchB

Read paginated text from a specific persisted knowledge batch artifact.

chat.list_knowledge_filesA

List persisted per-chunk knowledge files for a specific batch.

chat.read_knowledge_fileB

Read paginated text from a specific persisted per-chunk knowledge file.

chat.search_knowledgeB

Search persisted knowledge artifacts directly and return snippet matches.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/gzmagyari/RepoChatMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server