knowledge-trust-core
Provides a read-only Obsidian adapter that reads trust metadata from Markdown notes and evaluates whether they may be used for a given purpose and risk level based on evidence maturity, provenance, and source-family independence.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@knowledge-trust-coreEvaluate this knowledge record for operational use at ordinary risk."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Knowledge Trust Core
Portable, deterministic trust policy for AI-facing knowledge systems.
Knowledge Trust Core answers a narrow but important question: may this knowledge be used for this purpose, at this risk level, within this scope? It turns evidence maturity, provenance, claim type, intended use, and source-family independence into executable SDK, CLI, and read-only MCP verdicts.
It is not a truth oracle and emits no numeric “truth score.” A polished claim can still be wrong; this package only enforces the evidence boundaries you declare.
Why this exists
Most knowledge bases store sources and conclusions but leave the final safety rule in prompts: one Agent respects seed, another silently treats it as fact. Knowledge Trust Core makes that rule portable and testable.
A single creator repeated twenty times still counts as one source family.
External Source pages may inspire ideas, experiments, questions, or copy, but cannot become default factual answers.
Operational use requires corroboration; high-risk and public factual use require validation.
Explicit prohibitions and scope mismatches always win over maturity.
Every verdict returns stable reason codes, caveats, evidence gaps, and the effective policy version.
Related MCP server: vigile-mcp
What is included
TypeScript SDK for validation, intended-use verdicts, and promotion checks
Versioned default policy plus auditable custom-policy loading
Canonical JSON Schema contracts
Read-only Markdown/Obsidian adapter with Chinese Claim labels
Read-only CLI:
validate,evaluate,promotion-check, andauditRead-only MCP tools:
trust_validate,trust_evaluate, andtrust_promotion_checkSynthetic JSON, Obsidian, and optional GBrain-host examples
What is deliberately excluded
This package does not store, retrieve, rank, approve, edit, commit, index, or synchronize knowledge. It has no Git, database, vector-index, GBrain-write, or proposal-queue capability. Pair it with any storage or retrieval system and call it after retrieval, before an Agent uses the result.
Quick start
git clone https://github.com/haorantang97/knowledge-trust-core.git
cd knowledge-trust-core
npm install
npm run verifySDK:
import { evaluateUse, validateRecord } from "knowledge-trust-core";
const parsed = validateRecord(candidate);
if (!parsed.ok) throw new Error(JSON.stringify(parsed.issues));
const verdict = evaluateUse(parsed.record, {
intended_use: "operational_decision",
risk_level: "ordinary",
scope: ["ordinary internal workflow"]
});
if (verdict.decision === "deny") {
console.error(verdict.reason_codes);
}CLI:
npm run build
node dist/src/cli.js validate examples/obsidian/seed-rhetoric.md --json
node dist/src/cli.js evaluate examples/obsidian/seed-rhetoric.md \
--use copywriting_inspiration --json
node dist/src/cli.js audit examples --jsonMCP:
KNOWLEDGE_TRUST_ALLOWED_ROOTS=/absolute/path/to/knowledge \
node dist/src/mcp/server.jsPayload-based MCP calls need no filesystem access. File-based calls are disabled unless their canonical path is inside KNOWLEDGE_TRUST_ALLOWED_ROOTS; symlink escapes are rejected.
Default maturity policy
Intended use | Minimum maturity | Source page allowed? |
Idea generation, copy inspiration, interview questions, experiment hypotheses |
| Yes, with declared limits |
Low-risk action, default answer, operational decision |
| No |
High-risk decision, public factual claim |
| No |
The full matrix also checks claim type, attribution, explicit allow/disallow lists, scope, and evidence gaps. See docs/model.md.
Source-family independence
n > 1 is not enough. Reposts, clips, and repeated claims from the same upstream creator remain one source family. Promotion from seed to corroborated requires support from at least two genuinely independent families and no unresolved conflicting family. Promotion to validated additionally requires repeated testing or high-quality evidence within the declared scope.
Storage adapters
Canonical JSON is the boundary. The included Markdown adapter reads trust metadata without modifying a note, strips Obsidian aliases and anchors from reference IDs, and refuses to guess missing maturity. Existing prose-first knowledge bases may need a gradual migration to the explicit contract; see docs/migration.md. GBrain is optional and treated only as a possible retrieval host; see docs/integration.md and examples/gbrain-host.
Development
npm test
npm run typecheck
npm run build
npm run privacy-check
npm run verifyThe release gate type-checks, runs all tests, rebuilds JSON Schemas, scans for private paths or credentials, and inspects the npm package manifest.
中文简介
这是一个可嵌入的“知识使用边界”引擎,而不是事实判定器。它把 seed / corroborated / validated、来源家族独立性、Claim 类型、适用范围和预期用途变成确定性的代码规则;可接在 Obsidian、向量库、GBrain 或任意检索系统之后,阻止低成熟度材料被 Agent 当作默认事实或高风险决策依据。
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityFmaintenanceProvides policy-based access control, incident tracking, and compliance monitoring to govern AI agent behavior. It enables organizations to enforce security rules and maintain audit trails by validating agent actions against trust levels and pattern-based policies.61
- AlicenseAqualityFmaintenanceEnables AI agents to query trust scores for MCP servers and agent skills while scanning content for potential security issues. It provides direct access to the Vigile trust registry to help users evaluate the safety of third-party tools and integrations.991MIT
- AlicenseNot gradedqualityNot gradedmaintenanceProvides AI agents with trust scoring and reputation management capabilities for secure interactions. Enables agents to check trust scores, rate interactions, and manage disputes before transacting with other agents.
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to query cryptographically verified facts with zero-knowledge proofs, selective disclosure, and tamper-evident provenance.1791Apache 2.0
Related MCP Connectors
Trust infrastructure for AI agents: read a verifiable Trust Rating, claim an identity, earn a badge.
Independent AI-agent reviews: trust checks, evidence scorecards, incident registry, recommendations.
Evidence-backed x402 web verification for AI agents, with auditable decisions for every condition.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/haorantang97/knowledge-trust-core'
If you have feedback or need assistance with the MCP directory API, please join our Discord server