dkg-memory-mcp
DKG Memory MCP Server
OriginTrail DKG V10 の3層構造を持つ検証可能メモリ(Working / Shared / Verifiable)を標準のMCPツールとして公開するMCP(Model Context Protocol)サーバーです。Claude Desktop、Cursor、Claude Code、または汎用MCPエージェントなど、MCP対応クライアントにマウントして、カスタムHTTP配線なしでDKGメモリの読み取り、書き込み、共有、クエリができます。
これは**DKG v10 統合募集(ラウンド1: Working & Shared Memory)**への提出物です。トランスポート非依存のツール層であり、姉妹プロジェクトであるOpenClaw Memory Curatorデーモン(OpenClaw専用)とは区別されます。
ツール
ツール | 目的 |
| ノード + コンテキストグラフのヘルスチェック |
| Working Memory内の名前付きKnowledge Assetにクワッドを書き込む |
| メモリビュー(working / shared / verifiable)に対するSPARQLクエリ |
| Knowledge Asset + ライフサイクル状態の一覧 |
| KAをShared Working Memoryに昇格(デフォルトでシール) |
ラウンド1の範囲はWorking + Shared Memoryのみです。vm/publishツールはありません(Verifiable Memoryは後のラウンドであり、明示的な人間によるゲート付き公開が必要)し、UIの承認/投票ツールもありません(報酬ルールで禁止されています)。
Related MCP server: MemoryIQ
インストール
npm install -g dkg-memory-mcpDKG V10ノード(デフォルト http://127.0.0.1:9200)が稼働しており、~/.dkg/auth.token に認証トークンがある必要があります(2行目。# で始まるコメント行は除去されます)。
Claude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"dkg-memory": {
"command": "dkg-memory-mcp",
"args": []
}
}
}Cursor / Claude Code
コマンド dkg-memory-mcp(stdioトランスポート)でMCPサーバーを登録します。
環境変数(オプション)
変数 | デフォルト |
|
|
|
|
| 自動(ノードのデフォルトエージェント) |
開発
npm install
node --test test/*.test.js # unit tests
node src/server.js # run the stdio serverスモークテスト(実機)
DKG V10ノード(Base Sepoliaテストネット)に対してエンドツーエンドで検証済み: KA作成 → Working Memoryへのクワッド書き込み → SPARQL呼び出し → ピアID、ウォレット、デフォルトエージェントアドレッシングにわたって3件のバインディングが返却されました。
ライセンス
Apache-2.0
検証済みの例(2026-08-22)
stdio MCPプロトコル経由でローカルDKGノード(v10.0.13、テストネット)に対する実際のMCPラウンドトリップ:
// tools/call dkg_write_memory
{
"kaName": "hermes-audit-manic",
"subject": "urn:dkg:hermes:demo:manic-deposit",
"triples": [
{"predicate": "http://127.0.0.1:7878/actionType", "object": "deposit"},
{"predicate": "http://127.0.0.1:7878/chain", "object": "solana"},
{"predicate": "http://127.0.0.1:7878/outcome", "object": "success"}
]
}
// -> Created Knowledge Asset "hermes-audit-manic-1787398447058" with 4 quad(s)
// assertionUri: did:dkg:.../_working_memory/.../269
// status: wm-sealed | merkleRoot: 0x8aa210f8... | written: 4
// tools/call dkg_query_memory (SPARQL)
{"query": "SELECT ?s ?p ?o WHERE { ?s <http://127.0.0.1:7878/actionType> \"deposit\" . ?s ?p ?o }", "view": "working"}
// -> returns the deposited action quads (incl. records written by sibling tools)書き込みはWorking Memoryにシールされ(EIP-712シール、マークルルート付き)、SPARQLクエリでそれを呼び戻せました。姉妹プロジェクト dkg-hermes-bridge が書き込んだレコードも含まれており、共有DKG基盤上でのクロスツール可視性が実証されています。
This server cannot be installed
Maintenance
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
- FlicenseNot gradedqualityDmaintenanceConnects MCP-compatible agents with the OriginTrail Decentralized Knowledge Graph, enabling creation, retrieval, linking, and exchange of verifiable knowledge using natural language and SPARQL queries.1
- AlicenseNot gradedqualityFmaintenanceRemote MCP server enabling agents to search, buy, and publish reusable knowledge via nine agent-native tools without API keys or custodied wallets.MIT
- AlicenseAqualityBmaintenanceProvides persistent, multi-tenant knowledge graph memory for MCP-capable AI tools, allowing them to recall and store entities, observations, and relations across sessions with keyword search.1002MIT
Related MCP Connectors
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kiyeps/dkg-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server