trust-lattice
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., "@trust-latticequery trust for agent:deployer to use tool:kubernetes"
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.
Trust Lattice
Evidence-weighted trust graph / reputation lattice for multi-agent systems. Nodes are agents, tools, and claim-sources. Edges carry time-decayed evidence (attestations, challenges, endorsements). High-risk actions are gated until trust thresholds and endorsement quorums are met.
Full MCP surface so orchestrators (Cursor, Claude Desktop, custom agents) can query trust before tool calls.
Features
Beta / Bayesian-ish trust updates with exponential evidence decay
Path-trust aggregation (noisy-OR of path products)
Sybil-resistance basics via identity verification stubs + influence caps
JSON policy DSL for risk tiers:
read|write|irreversibleExplainable gate decisions (“why was this gated?”)
Export: JSON, Mermaid, Graphviz DOT
SQLite persistence, CLI, Vitest suite, optional Vite dashboard
See docs/ARCHITECTURE.md for the math and model.
Quick start
npm install
npm run build
npm run seed -- --force
npm testMCP server (stdio)
npm run serve
# or after build:
node dist/index.jsCursor MCP config
Add to your Cursor MCP settings (path may vary by OS):
{
"mcpServers": {
"trust-lattice": {
"command": "node",
"args": ["/ABS/PATH/TO/trust-lattice/dist/index.js"],
"env": {
"TRUST_LATTICE_DB": "/ABS/PATH/TO/trust-lattice/data/trust-lattice.db",
"TRUST_LATTICE_ADMIN_TOKEN": "replace-with-a-long-random-secret"
}
}
}
}Or during development:
{
"mcpServers": {
"trust-lattice": {
"command": "npx",
"args": ["tsx", "/ABS/PATH/TO/trust-lattice/src/index.ts"],
"env": {
"TRUST_LATTICE_DB": "/ABS/PATH/TO/trust-lattice/data/trust-lattice.db",
"TRUST_LATTICE_ADMIN_TOKEN": "replace-with-a-long-random-secret"
}
}
}
}Mutating tools (tl_register_node, tl_attest, tl_challenge, tl_endorse, tl_promote_identity, pubkey challenge tools) require an adminToken argument that matches TRUST_LATTICE_ADMIN_TOKEN (min 16 chars). Writes fail closed when the env token is unset.
CLI
npx tsx src/cli.ts seed --force
npx tsx src/cli.ts query agent:planner tool:web-search
npx tsx src/cli.ts gate agent:planner tool:shell write "run sandbox command"
npx tsx src/cli.ts export mermaid
npx tsx src/cli.ts promote agent:researcher email --issuer research@acme.testDashboard
npm run dev
# → http://127.0.0.1:5173MCP tools
Tool | Description |
| Register/update node (always unverified; needs |
| Operator promote verification level ( |
| Ed25519 proof → |
| Positive evidence on an edge ( |
| Negative evidence on an edge ( |
| Path-scaled endorsement ( |
| Decayed trust + paths (read) |
| Allow/deny with explanation (read; advisory) |
| Supporting paths (read) |
|
|
Policy
Default policy lives in policies/default.json. Override with TRUST_LATTICE_POLICY or --policy.
Security
Set
TRUST_LATTICE_ADMIN_TOKEN(≥16 chars) for MCP writes; mutating tools fail closed without it.Clients cannot set
identity.verificationviaregisterNode/tl_register_node— only operatorpromote/tl_promote_identityor a completed Ed25519 pubkey challenge.Email/org verification remain operator stubs (no external IdP); pubkey requires a signature challenge.
Treat the SQLite DB as sensitive operational state.
MCP logs only to stderr (stdio transport).
Dashboard binds to
127.0.0.1by default.Gate decisions are advisory — orchestrators must enforce deny.
License
MIT
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.
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/SanjoyDat1/trust-lattice'
If you have feedback or need assistance with the MCP directory API, please join our Discord server