Skip to main content
Glama

mcp-memories

コードビルドセッションをキャプチャし、共有チーム知識ベースに公開するMCPサーバーです。過去の作業をセマンティック検索で発見可能にします。

機能:

  • IDEフック(Cursor、Claude Code)を介してすべてのエージェントセッションを自動キャプチャ

  • complete_sessionを呼び出すと、Grove AIで要約し、Voyage voyage-code-4で埋め込みを生成

  • チームメンバーは自然言語で検索 — ベクトル検索 + Voyage再ランキングにより、最も関連性の高い過去のビルドを返します

セットアップ

1. インストールとビルド

npm install
npm run build

2. 環境設定

cp .env.example .env
# Fill in MONGODB_URI, MDB_GROVE_API_KEY, GROVE_BASE_URL, VOYAGE_API_KEY, MEMORIES_AUTHOR

3. MCPサーバーの登録

IDEのMCP設定(例:~/.cursor/mcp.json または Claude Desktop config.json)に追加します:

{
  "mcpServers": {
    "mcp-memories": {
      "command": "node",
      "args": ["/path/to/mcp-memories/dist/index.js"],
      "env": {
        "MONGODB_URI": "mongodb+srv://...",
        "MEMORIES_DB": "mcp_memories",
        "MDB_GROVE_API_KEY": "...",
        "GROVE_BASE_URL": "...",
        "GROVE_MODEL": "claude-3-7-sonnet",
        "VOYAGE_API_KEY": "...",
        "MEMORIES_AUTHOR": "your.name"
      }
    }
  }
}

4. 自動キャプチャフックの設定

Cursor — hooks.jsonは既に.cursor/hooks.jsonにあります。stopイベントごとに自動的にキャプチャスクリプトを実行します。

Claude Codehooks/claude/settings-snippet.jsonのスニペットを~/.claude/settings.jsonにマージし、パスをこのリポジトリを指すように更新します。

Related MCP server: Concept Tracker

ツール

ツール

使用タイミング

capture_activity

フックによって自動的に呼び出されるか、手動で現在の作業内容を記録するために使用します

complete_session

完了時に呼び出し — 要約と埋め込みをトリガーし、チームに公開します

search_memories

これから始めようとしている作業に関連する過去のビルドを検索します

get_overview

チームが言語/タグ/リポジトリ別に何を構築したかを確認します

list_recent

最近公開されたセッションを閲覧します

典型的なワークフロー

# During a session — automatic (hook fires) or manual:
capture_activity(session_id="abc123", conversation_context="Built JWT auth middleware...")

# When done:
complete_session(session_id="abc123", final_notes="Ended up using RS256 instead of HS256 because...")

# Later, someone else starting similar work:
search_memories(query="JWT authentication middleware Node.js")

MongoDB Atlasのセットアップ

サーバーは起動時に独自のインデックスを作成します。これにはAtlas Vector Searchインデックス(memories_vector_index、1024次元、コサイン類似度、voyage-code-4)が含まれます。Vector Searchが有効なAtlasクラスターが必要です。

F
license - not found
-
quality - not tested
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

View all related MCP servers

Related MCP Connectors

  • One shared brain for your AI coding agents: team memory, agent Q&A, tasks, and file claims.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

  • Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.

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/benkipnis/mcp-memories'

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