OriginTrail DKG MCP Server

OriginTrail DKG MCP Server

dkg-mcp-server•byorigintrail

An MCP server that connects MCP-compatible agents with the OriginTrail Decentralized Knowledge Graph so they can query it and publish Knowledge Assets.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Retrieves knowledge from the DKG using flexible SPARQL queries, including searching for entities by name.
  • •Converts natural language into structured, schema.org-compliant JSON-LD and publishes it to the DKG as a Knowledge Asset.
  • •Stores and retrieves decentralized agent memory in a standardized, interoperable way.
  • •Runs over stdio for local clients or SSE for server deployment, and can be extended with new MCP tools.

BEST FOR

  • •Agents that need to query verifiable knowledge from the OriginTrail DKG using SPARQL.
  • •Publishing natural-language content as schema.org JSON-LD Knowledge Assets on the DKG.
  • •Giving MCP-compatible agents a decentralized, interoperable memory store.

ABOUT DKG-MCP-SERVER

OriginTrail DKG MCP Server is cataloged as an MCP server attributed to origintrail. An MCP server that connects MCP-compatible agents with the OriginTrail Decentralized Knowledge Graph so they can query it and publish Knowledge Assets. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OriginTrail DKG MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Is this server recommended for production use?

No, the README notes it is BETA software and not recommended for production.

Which transports can the server run over?

It supports stdio mode for local clients and SSE mode for server deployment.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7cb6c5e0e3e1 · 采集于 2026-11-13 12:11:50 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

OriginTrail DKG MCP Server (example)

Overview

The OriginTrail DKG MCP Server connects MCP-compatible agents with the OriginTrail Decentralized Knowledge Graph (DKG), making it easy to create, retrieve, link, and exchange verifiable knowledge.

Note: This is BETA software and not recommended for use in production

Key Features

  • SPARQL Querying: Retrieve knowledge from the DKG using flexible SPARQL queries.
  • Knowledge Asset Creation: Convert natural language into structured, schema.org-compliant JSON-LD and publish it to the DKG.
  • Agent Memory: Store and retrieve decentralized agent memory in a standardized, interoperable way.
  • Interoperability: Works with any MCP-compatible client, including VS Code, Cursor, Microsoft Copilot agents, and more.

Getting Started

1. Clone the Repository

git clone <repo-url>
cd otdkg-mcp-server

2. Install Dependencies

Ensure you have Python 3.10+ installed. Then run:

pip install -r requirements.txt

3. Configure Environment Variables

Copy .env.example to .env and fill in the required values:

  • ORIGINTRAIL_NODE_URL: You can use the default public node on testnet, use a different public testnet or mainnet node, or deploy and use your own Edge Node.
  • BLOCKCHAIN: Blockchain to use for publishing Knowledge Assets on the DKG (e.g., NEUROWEB_TESTNET)
  • PRIVATE_KEY: Private key of the wallet you'll use for publishing Knowledge Assets to the DKG
  • GOOGLE_API_KEY: API key for Google Generative AI (you can get your API ke at https://aistudio.google.com/)

See .env.example for detailed comments and options.

4. Run the MCP Server

You can run the server in two modes:

a) Stdio Mode (for local clients like VS Code, Cursor, Claude, etc.)

python dkg_server.py --transport stdio

b) SSE Mode (for server deployment, making the DKG MCP server accessible to e.g. Microsoft Copilot Studio agents)

python dkg_server.py --transport sse

The SSE server will listen on the configured host and port (see .env).

Usage

Once the server is running, you can import it into your client and gain access to the following out-of-the-box tools:

  • Query the DKG: Use the query_dkg_by_name tool to search for entities by name using SPARQL.
  • Create Knowledge Assets on the DKG: Use the create_knowledge_asset tool to convert natural language into JSON-LD and publish it to the DKG.

These tools are exposed via MCP and can be invoked from any compatible agent or client.

Compatible Clients

  • VS Code
  • Cursor
  • Claude
  • Microsoft Copilot Studio agents
  • Any MCP-compatible LLM or agentic framework

Extending the Server

  • Customize Existing Tools: Modify and enhance the existing tools in dkg_server.py or add new functionality to tailor them to your needs.
  • Add New Tools: You can easily add new MCP tools by defining new functions in dkg_server.py using the @mcp.tool() decorator (e.g. a tool that will transform website URLs into knowledge on the DKG).
  • Custom Prompts: Modify or add prompt templates in the prompts/ directory to customize LLM behavior.
  • Contribute: Clone, enhance, and submit pull requests to add new features or tools. Community contributions are welcome!

Project Structure

  • dkg_server.py — Main server and tool definitions
  • prompts/ — Prompt templates for LLM-powered tools
  • requirements.txt — Python dependencies
  • .env.example — Example environment configuration
  • origintrail-dkg-mcp.yaml — OpenAPI spec for SSE deployment

Empower your agents to create, retrieve, and exchange verifiable knowledge on OriginTrail DKG!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OriginTrail DKG MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dkg-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage