MCP.so
ログイン
R

Repo Memory MCP Server

@yubinkim444

基本情報

カテゴリ

メモリとナレッジ

トランスポート

stdio

作者

yubinkim444

投稿者

YooBin Kim

Repo Memory MCP Server について

A different approach from typical persistent-memory MCPs. Instead of a local

Repo Memory MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "repo-memory": {
      "command": "uvx",
      "args": [
        "repo-memory-mcp",
        "--repo",
        "/path/to/your/repo"
      ]
    }
  }
}

Repo Memory MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Repo Memory?

Repo Memory is a shared, git-tracked working memory for AI agents that share a codebase. It stores structured facts, decisions, and gotchas in plain files under a .ai-memory/ directory, synchronized via git. It is designed for developers using AI coding assistants such as Claude, Cursor, or Cline.

How to use Repo Memory?

Install with pip install repo-memory or run via uvx. Initialize memory in your repo with repo-memory init, then use commands such as repo-memory add-fact, add-decision, or add-gotcha. For AI agent integration, add an MCP server entry in your client config pointing to repo-memory-mcp with the repo path.

Key features of Repo Memory

  • Git-tracked, append-only facts with evidence
  • No database, no SaaS, no daemon; works offline
  • Structured facts, decisions, and gotchas as plain files
  • Per-repo scope – memory stays local to the codebase
  • MCP server with 5 tools for read/write access
  • Automatic discovery hint in CLAUDE.md or AGENTS.md

Use cases of Repo Memory

  • Sharing known facts across AI agent sessions on the same repository
  • Recording architecture decisions and non-obvious conventions
  • Avoiding repeated grep or re-discovery of codebase structure
  • Multi-user or multi-tool collaboration on a shared codebase

よくある質問

1

How is Repo Memory different from `CLAUDE.md` or `.cursorrules`?

`CLAUDE.md` is for rules that a human writes; Repo Memory is for facts that an agent verifies – locations, behaviors, and decisions discovered during work.

2

What are the runtime requirements?

Python 3.10 or later. The only dependency is the official MCP SDK.

3

Where does Repo Memory store data?

In a `.ai-memory/` directory inside the repository. The data is plain files (facts.jsonl, decisions/, gotchas.md) and is synchronized via normal git commits and pushes.

4

What transport does the MCP server use?

It uses stdio transport. The server is launched via `repo-memory-mcp` with a `--repo` argument or the `REPO_MEMORY_ROOT` environment variable.

5

How do multiple agents avoid conflicting facts?

Facts are append-only; stale entries remain. Readers check `verified_at` to re-verify if needed. Suspicious facts are filtered through normal code review via git.

コメント

「メモリとナレッジ」の他のコンテンツ