dkg-memory-mcp
Exposes OriginTrail DKG V10 working, shared, and verifiable memory as standard MCP tools, enabling users to read, write, share, and query DKG memory from any MCP-capable client without custom HTTP wiring.
README
DKG Memory MCP Server
MCP (Model Context Protocol) server exposing OriginTrail DKG V10 three-layer verifiable memory (Working / Shared / Verifiable) as standard MCP tools. Mount it in any MCP-capable client — Claude Desktop, Cursor, Claude Code, or a generic MCP agent — and read, write, share and query DKG memory without custom HTTP wiring.
This is a submission to the DKG v10 Call for Integrations (Round 1: Working & Shared Memory). It is a transport-agnostic tooling layer, distinct from the sibling OpenClaw Memory Curator daemon (which is OpenClaw-specific).
Tools
| Tool | Purpose |
|---|---|
dkg_status |
Node + context-graph health |
dkg_write_memory |
Write quads to a named Knowledge Asset in Working Memory |
dkg_query_memory |
SPARQL query over a memory view (working / shared / verifiable) |
dkg_list_assertions |
List Knowledge Assets + lifecycle state |
dkg_share_to_swm |
Promote a KA to Shared Working Memory (seals by default) |
Round 1 scope is Working + Shared Memory only. There is no vm/publish tool
(Verifiable Memory is a later round and requires an explicit human-gated publish)
and no UI endorsement/voting tool (disallowed by the bounty rules).
Install
npm install -g dkg-memory-mcp
Requires a running DKG V10 node (default http://127.0.0.1:9200) with an auth
token at ~/.dkg/auth.token (line 2; comment lines starting with # are
stripped).
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"dkg-memory": {
"command": "dkg-memory-mcp",
"args": []
}
}
}
Cursor / Claude Code
Register the MCP server with command dkg-memory-mcp (stdio transport).
Environment variables (optional)
| Variable | Default |
|---|---|
DKG_API_URL |
http://127.0.0.1:9200 |
DKG_CONTEXT_GRAPH |
openclaw-curator |
DKG_AGENT_ADDRESS |
auto (node default agent) |
Development
npm install
node --test test/*.test.js # unit tests
node src/server.js # run the stdio server
Smoke test (live)
Verified end-to-end against a DKG V10 node (Base Sepolia testnet): create KA → write quads to Working Memory → SPARQL recall → 3 bindings returned across peer-ID, wallet, and default agent addressing.
License
Apache-2.0
Verified example (2026-08-22)
Real MCP round-trip against the local DKG node (v10.0.13, testnet), driven over the stdio MCP protocol:
// 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)
The write sealed to Working Memory (EIP-712 seal, merkle-rooted) and the SPARQL
query recalled it back, including records written by the sibling
dkg-hermes-bridge — demonstrating cross-tool visibility on the shared DKG
substrate.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.