Skip to main content

Module graph

Module graph 

Source
Expand description

MCP tools for Knowledge Graph, SPARQL, Ontologies, and Identifiers.

Migrated from legacy mcp_stub_impls.rs to full working library module. Designed according to AGENTS.md §0-B (<500 lines).

Functions§

codebase_audit
codebase_audit tool — fast query into the C:\github\qualiaDB.audit\codebase.q42 database. Supports inspecting functions, signatures, methods, and files across the entire QualiaDB ecosystem.
get_did_info
get_did_info tool — resolves a did:q42:... identifier into its topological pointer hash and bit flags.
get_graph_stats
get_graph_stats tool — returns resident daemon-graph quin count, capacity, and utilization.
get_wallet_status
get_wallet_status tool — inspects queued Interledger Protocol (ILP) micropayments.
ingest_ontology
ingest_ontology tool — ingests RDF Turtle triples from a file or inline content into the daemon graph.
list_ontologies
list_ontologies tool — lists startup ontology catalog entries and on-disk presence.
query_q42_vault
Execute SPARQL range query on a .q42 vault (such as codebase.q42).
query_sparql
query_sparql tool — executes SPARQL queries against live in-memory daemon graph or a .q42 vault (e.g. codebase.q42).
quin_to_json
Serialize a single NQuin to JSON.
quins_to_ntriples
Helper to serialize quins to N-Triples text without runtime allocations in inner loop.
resolve_audit_path
Helper to resolve codebase audit path.