MCP.so
登录

MCPKG - Model Context Protocol Knowledge Graph

@owulveryck

关于 MCPKG - Model Context Protocol Knowledge Graph

A MCP (Model Context Protocol) server that exposes primitives for interacting with a Knowledge Graph

基本信息

分类

记忆与知识

许可证

MIT

运行时

go

传输方式

stdio

发布者

owulveryck

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCPKG - Model Context Protocol Knowledge Graph?

MCPKG is a Go implementation of a knowledge graph system exposed through the Model Context Protocol (MCP). It stores, manages, and queries semantic information as subject-predicate-object triples, with a thread-safe, serializable graph and an MCP server interface for programmatic access.

How to use MCPKG - Model Context Protocol Knowledge Graph?

Install Go 1.24+ and the dependencies (mcp-go, gonum, testify for testing). Use the insert_triple tool with subject, predicate, and object parameters to add triples, and query via the graph:// URI format to find relationships between entities.

Key features of MCPKG - Model Context Protocol Knowledge Graph

  • Directed graph implementation for structured information.
  • Create and query semantic triples (subject-predicate-object).
  • Persistent storage through serialization and deserialization.
  • MCP server interface for programmatic access.
  • Custom URI format (graph://) for graph queries.
  • Thread-safe with read-write mutex for concurrent use.

Use cases of MCPKG - Model Context Protocol Knowledge Graph

  • Store and retrieve relationships between people, places, and concepts as triples.
  • Build a persistent knowledge base for AI agents using the Model Context Protocol.
  • Enable semantic queries over structured data in a Go application.
  • Provide a simple, embedded knowledge graph with an MCP interface.

FAQ from MCPKG - Model Context Protocol Knowledge Graph

What is the core data structure?

The core is a directed graph that stores entities as nodes, relationships as predicates (edges), and supports concurrent safety with a read-write mutex.

How is the graph persisted?

The knowledge graph supports serialization and deserialization for persistent storage.

What are the runtime dependencies?

Go 1.24+ and packages: mcp-go, gonum, and testify (for testing only).

Is the MCP server stateful or stateless?

The MCP server implements a stateless design for reliability.

How can I query the graph programmatically?

Use the custom URI format graph:// to find relationships between entities, and the insert_triple tool to add information.

评论

记忆与知识 分类下的更多 MCP 服务器