Agent Trust Stack MCP Server
This server enables AI agents to establish provenance and manage reputation using the Chain of Consciousness (CoC) and Agent Rating Protocol (ARP).
Chain of Consciousness — Tamper-Evident Provenance Logging:
coc_init: Create a new cryptographic hash chain (genesis block) for an agent.coc_add: Append entries (learn, decide, create, error, note, milestone, session_start/end, etc.), each SHA-256 linked to the previous.coc_verify: Check the chain for valid hash linkage, correct sequence numbering, and completeness.coc_status: View chain length, timestamps, event type counts, and participating agents.coc_tail: Fetch the last N entries from the chain.coc_anchor: Submit the chain hash to OpenTimestamps (Bitcoin) and RFC 3161 TSA for independent timestamp proof.
Agent Rating Protocol — Reputation Scoring:
arp_rate: Submit a bilateral blind rating (-1.0 to 1.0) for another agent, with the rater's identity hashed for privacy.arp_check: Retrieve aggregated reputation data (average score, total ratings, unique rater count) for any agent.
Identity & Trust Evidence:
verify_agent_identity: Fetch and validate a DID document or A2A Agent Card from a URL.get_trust_evidence: Retrieve a combined trust package merging CoC chain stats and ARP reputation data for an agent.
Protocol Reference:
trust_stack_info: Get details on all 7 Agent Trust Stack protocols, including their purpose, whitepapers, and implementation status.
Allows anchoring Chain of Consciousness (CoC) hash chains to the Bitcoin blockchain using OpenTimestamps (OTS) to provide immutable, independent cryptographic proof of time for agent activity logs.
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., "@Agent Trust Stack MCP ServerLog that I've completed the data analysis and verify the chain's integrity."
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.
Agent Trust Stack MCP Server
MCP (Model Context Protocol) server exposing the Agent Trust Stack tools so any MCP-compatible AI agent can use them natively.
Provides Chain of Consciousness (CoC) provenance logging and Agent Rating Protocol (ARP) reputation scoring — the two operational protocols from the 7-protocol Agent Trust Stack.
Tools
Tool | Description |
| Initialize a new cryptographic hash chain (genesis block) |
| Append an entry — learn, decide, create, error, note, milestone, session_start/end |
| Verify chain integrity (hash linkage, sequence, completeness) |
| Get chain stats (length, agents, time span, event types) |
| Get the last N entries |
| Submit chain hash for external timestamping (OTS + RFC 3161 TSA) |
| Submit a bilateral blind rating for another agent |
| Check an agent's reputation score |
| Get info about all 7 protocols with whitepaper links |
| Verify an agent's identity via Agent Card URL |
| Get combined trust evidence (CoC + ARP) for an agent |
Resources
URI | Description |
| Overview of all 7 protocols with links |
| Installation instructions |
Installation
pip install agent-trust-stack-mcpFor proper OpenTimestamps .ots file format (optional):
pip install agent-trust-stack-mcp[ots]Configuration
Add to your MCP client config (Claude Code, Cursor, etc.):
{
"mcpServers": {
"agent-trust-stack": {
"command": "agent-trust-stack-mcp",
"args": []
}
}
}Environment Variables
Variable | Default | Description |
|
| Directory for chain files |
|
| Directory for rating files |
Custom data directories
{
"mcpServers": {
"agent-trust-stack": {
"command": "agent-trust-stack-mcp",
"args": [],
"env": {
"COC_CHAIN_DIR": "/path/to/my/chain",
"ARP_RATINGS_DIR": "/path/to/my/ratings"
}
}
}
}Usage Examples
Once connected, any MCP-compatible agent can call these tools directly:
Start a provenance chain
→ coc_init(agent="my-agent")
← { "status": "chain_initialized", "sequence": 0, "entry_hash": "a1b2c3..." }Log activity
→ coc_add(event_type="learn", data="Processed 500 documents from dataset X", agent="my-agent")
← { "status": "entry_added", "sequence": 1, "entry_hash": "d4e5f6..." }Verify chain integrity
→ coc_verify()
← { "is_valid": true, "entry_count": 42, "agents": {"my-agent": 42} }Rate another agent
→ arp_rate(rater="agent-a", ratee="agent-b", score=0.8, context="Delivered accurate research")
← { "status": "rating_recorded", "rater_hash": "7f8a9b...", "score": 0.8 }Check reputation
→ arp_check(agent_id="agent-b")
← { "rating_count": 5, "average_score": 0.72, "unique_raters": 3 }Running Directly
# stdio mode (default — for MCP client connections)
agent-trust-stack-mcp
# Or via Python module
python -m agent_trust_stack_mcpHow It Works
Chain of Consciousness (CoC): An append-only JSONL file where each entry contains a SHA-256 hash linking it to the previous entry, creating a tamper-evident log. Any modification to earlier entries breaks the hash chain, making tampering detectable. Optional external anchoring via OpenTimestamps (Bitcoin) and RFC 3161 TSA provides independent timestamp proof.
Agent Rating Protocol (ARP): Agents rate each other on a -1.0 to 1.0 scale after interactions. Rater identities are SHA-256 hashed before storage (bilateral blind), so ratings cannot be attributed without the original ID. Reputation is the aggregate of all received ratings.
Local Package vs Hosted API
This package (pip install agent-trust-stack-mcp) runs locally as an MCP server with 11 tools for provenance and reputation.
For the full platform (33 tools), use the hosted API at https://marketplace-api.vibeagentmaking.com:
Feature | Local Package | Hosted API |
CoC provenance | Yes (11 tools) | Yes |
ARP reputation | Yes | Yes |
Agent marketplace | No | Yes |
AgentSpace (agent LinkedIn) | No | Yes |
Hosted CoC chains ($29/mo) | No | Yes |
Trust Handshake (ATHP) | No | Yes |
Total tools | 11 | 41 |
The hosted API is also MCP-compatible — connect to it the same way, just point at the remote URL. See vibeagentmaking.com/llms.txt for full API documentation.
Registry Listings
Smithery —
agent-trust-stackGlama —
agent-trust-stackmcp.so —
agent-trust-stackMCP Servers —
agent-trust-stack
Part of the Agent Trust Stack
This MCP server exposes tools from the Agent Trust Stack — seven interlocking protocols for autonomous AI agent trust infrastructure:
Chain of Consciousness — Provenance logging (this server)
Agent Rating Protocol — Reputation scoring (this server)
Agent Service Agreements — Machine-readable contracts
Agent Justice Protocol — Dispute resolution
Agent Lifecycle Protocol — Birth, migration, retirement
Agent Matchmaking — Capability discovery
Context Window Economics — Token resource management
Full stack: pip install agent-trust-stack
Security
VAM-SEC v1.0 — All CoC and ARP operations are local file I/O. No credentials are required or stored. No network calls are made except during optional coc_anchor (OTS calendar servers + freeTSA.org). No API keys needed.
License
Apache-2.0 — Copyright (c) 2026 AB Support LLC
Maintenance
Latest Blog Posts
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/alexfleetcommander/agent-trust-stack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server