Skip to main content
Glama
ksh00500

Personal Brain MCP

by ksh00500

Personal Brain MCP v0.2

PostgreSQL をバックエンドに持つ、長期的な個人記憶用の MCP サーバーです。ローカルの Docker PostgreSQL とリモートの Neon PostgreSQL に対応し、Render 上でホストするための Streamable HTTP MCP エンドポイントを公開します。

MCP ツール

  • get_personal_context

  • save_memory

  • query_personal_database — モデル生成の読み取り専用 SQL のみ

  • update_context_manifest

Related MCP server: brain-mcp

リモートエンドポイント

  • MCP: POST /mcp (Streamable HTTP)

  • ヘルスチェック: GET /health

Docker PostgreSQL を使用したローカル開発

cp .env.example .env
# Remove/comment DATABASE_URL in .env to use the local Docker settings.
docker compose up -d
npm install
npm run check
npm run dev

サーバーはデフォルトで http://localhost:10000 で待機します。

Neon / Render

Render で以下の環境変数を設定します。

DATABASE_URL=<Neon connection string>
MCP_API_KEY=<long random secret, recommended>
USER_ID=main
USER_NAME=<your display name>
USER_LANGUAGE=ko
USER_TIMEZONE=Asia/Seoul

PORT は Render によって自動的に提供されます。アプリは 0.0.0.0:$PORT にバインドします。

ビルドコマンド:

npm install && npm run build

起動コマンド:

npm start

ヘルスチェックパス:

/health

デプロイ後、MCP エンドポイントは次のようになります。

https://<your-render-service>.onrender.com/mcp

MCP_API_KEY が設定されている場合、クライアントは次を送信する必要があります。

Authorization: Bearer <MCP_API_KEY>

データベースの初期化

起動時に、アプリは必要なテーブルとインデックスがまだ存在しない場合、安全に作成します。pgvector は v0.2 ではオプションです。有効にできなくても起動は妨げられません。

セキュリティ

  • .env は Git で無視されます。

  • Neon の接続文字列、パスワード、API キー、トークンをコミットしないでください。

  • query_personal_database は単一の SELECT/WITH クエリのみを受け付け、読み取り専用トランザクションで実行し、出力を 100 行に制限します。

A
license - permissive license
-
quality - not tested
B
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

  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI assistants with persistent semantic memory and knowledge graph capabilities using PostgreSQL and vector embeddings. It enables cross-session storage, hybrid search, and complex relationship tracking for enhanced contextual awareness.
    16
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that provides persistent semantic memory backed by PostgreSQL and pgvector for storing and searching thoughts via vector embeddings. It enables dimensional organization, conflict detection, and historical tracking of facts, decisions, and observations.
    17
    AGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    A personal memory MCP server that ingests AI agent conversation logs from multiple platforms into a searchable PostgreSQL+pgvector database, enabling cross-session recall of past reasoning and decisions.
    6
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    A personal memory MCP server that stores and retrieves conversation memories, enabling AI agents to recall past discussions, promises, and preferences using natural language.

View all related MCP servers

Related MCP Connectors

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/ksh00500/personal-brain-mcp'

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