The knowledge graph is a semantic layer over wiki content that enables AI agents to discover relationships, traverse connections, and propose new knowledge — all grounded in human-authored content.
Four PostgreSQL tables form the graph:
| Table | Purpose |
|---|---|
kg_nodes | Entities (wiki pages, concepts, stubs) with JSONB properties |
kg_edges | Typed relationships between nodes with provenance tracking |
kg_proposals | Pending AI-suggested enrichments awaiting human review |
kg_rejections | Negative knowledge preventing re-proposals |
Two separate MCP endpoints serve different use cases:
/wikantik-admin-mcp (authoring + curation, 27 tools on the server overall). The KG-facing subset is propose_knowledge, list_proposals, inspect_proposals, review_proposals, curate_nodes, curate_edges, list_orphaned_kg_nodes, plus admin-bypass copies of query_nodes and search_knowledge so curators see entities they have just created./knowledge-mcp (consumption, 21 read-only tools on the server overall). The KG-facing subset is discover_schema, query_nodes, traverse, get_node, search_knowledge, and find_similar.The authoring endpoint is
/wikantik-admin-mcp. An older/mcppath appears in early notes; it no longer exists. Curation writes are refused when an edge violates a SHACL shape.