Agent Trust Stack MCP Server
MCP-сервер Agent Trust Stack
MCP-сервер (Model Context Protocol), предоставляющий инструменты Agent Trust Stack, чтобы любой совместимый с MCP ИИ-агент мог использовать их нативно.
Обеспечивает ведение журнала происхождения «Цепи сознания» (CoC) и оценку репутации по «Протоколу рейтинга агентов» (ARP) — два операционных протокола из стека доверия агентов из 7 протоколов.
Инструменты
Инструмент | Описание |
| Инициализация новой цепочки криптографических хешей (генезис-блок) |
| Добавление записи — обучение, решение, создание, ошибка, заметка, веха, начало/конец сессии |
| Проверка целостности цепочки (связи хешей, последовательность, полнота) |
| Получение статистики цепочки (длина, агенты, временной интервал, типы событий) |
| Получение последних N записей |
| Отправка хеша цепочки для внешнего временного штампа (OTS + RFC 3161 TSA) |
| Отправка двустороннего слепого рейтинга для другого агента |
| Проверка рейтинга репутации агента |
| Получение информации обо всех 7 протоколах со ссылками на технические документы |
| Проверка личности агента через URL Agent Card |
| Получение совокупных доказательств доверия (CoC + ARP) для агента |
Related MCP server: AgentVeil Protocol
Ресурсы
URI | Описание |
| Обзор всех 7 протоколов со ссылками |
| Инструкции по установке |
Установка
pip install agent-trust-stack-mcpДля правильного формата файлов OpenTimestamps .ots (опционально):
pip install agent-trust-stack-mcp[ots]Конфигурация
Добавьте в конфигурацию вашего MCP-клиента (Claude Code, Cursor и т.д.):
{
"mcpServers": {
"agent-trust-stack": {
"command": "agent-trust-stack-mcp",
"args": []
}
}
}Переменные окружения
Переменная | По умолчанию | Описание |
|
| Директория для файлов цепочек |
|
| Директория для файлов рейтингов |
Пользовательские директории данных
{
"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"
}
}
}
}Примеры использования
После подключения любой совместимый с MCP агент может вызывать эти инструменты напрямую:
Запуск цепочки происхождения
→ coc_init(agent="my-agent")
← { "status": "chain_initialized", "sequence": 0, "entry_hash": "a1b2c3..." }Регистрация активности
→ coc_add(event_type="learn", data="Processed 500 documents from dataset X", agent="my-agent")
← { "status": "entry_added", "sequence": 1, "entry_hash": "d4e5f6..." }Проверка целостности цепочки
→ coc_verify()
← { "is_valid": true, "entry_count": 42, "agents": {"my-agent": 42} }Оценка другого агента
→ arp_rate(rater="agent-a", ratee="agent-b", score=0.8, context="Delivered accurate research")
← { "status": "rating_recorded", "rater_hash": "7f8a9b...", "score": 0.8 }Проверка репутации
→ arp_check(agent_id="agent-b")
← { "rating_count": 5, "average_score": 0.72, "unique_raters": 3 }Прямой запуск
# stdio mode (default — for MCP client connections)
agent-trust-stack-mcp
# Or via Python module
python -m agent_trust_stack_mcpКак это работает
Цепь сознания (CoC): Файл JSONL, доступный только для добавления, где каждая запись содержит хеш SHA-256, связывающий её с предыдущей записью, что создает журнал с защитой от несанкционированного вмешательства. Любое изменение предыдущих записей нарушает хеш-цепочку, делая вмешательство обнаруживаемым. Опциональное внешнее закрепление через OpenTimestamps (Bitcoin) и RFC 3161 TSA обеспечивает независимое доказательство времени.
Протокол рейтинга агентов (ARP): Агенты оценивают друг друга по шкале от -1.0 до 1.0 после взаимодействия. Личности оценивающих хешируются алгоритмом SHA-256 перед сохранением (двустороннее слепое оценивание), поэтому рейтинги нельзя связать с автором без исходного ID. Репутация — это совокупность всех полученных рейтингов.
Локальный пакет против хостинг-API
Этот пакет (pip install agent-trust-stack-mcp) работает локально как MCP-сервер с 11 инструментами для отслеживания происхождения и репутации.
Для использования полной платформы (33 инструмента) используйте хостинг-API по адресу https://marketplace-api.vibeagentmaking.com:
Функция | Локальный пакет | Хостинг-API |
Происхождение CoC | Да (11 инструментов) | Да |
Репутация ARP | Да | Да |
Маркетплейс агентов | Нет | Да |
AgentSpace (LinkedIn для агентов) | Нет | Да |
Хостинг цепочек CoC ($29/мес) | Нет | Да |
Рукопожатие доверия (ATHP) | Нет | Да |
Всего инструментов | 11 | 41 |
Хостинг-API также совместим с MCP — подключайтесь к нему так же, просто укажите удаленный URL. См. vibeagentmaking.com/llms.txt для полной документации API.
Реестры
Smithery —
agent-trust-stackGlama —
agent-trust-stackmcp.so —
agent-trust-stackMCP Servers —
agent-trust-stack
Часть стека доверия агентов (Agent Trust Stack)
Этот MCP-сервер предоставляет инструменты из Agent Trust Stack — семи взаимосвязанных протоколов для инфраструктуры доверия автономных ИИ-агентов:
Цепь сознания (Chain of Consciousness) — Журнал происхождения (этот сервер)
Протокол рейтинга агентов (Agent Rating Protocol) — Оценка репутации (этот сервер)
Соглашения об обслуживании агентов (Agent Service Agreements) — Машиночитаемые контракты
Протокол правосудия агентов (Agent Justice Protocol) — Разрешение споров
Протокол жизненного цикла агентов (Agent Lifecycle Protocol) — Рождение, миграция, выход на пенсию
Подбор агентов (Agent Matchmaking) — Обнаружение возможностей
Экономика контекстного окна (Context Window Economics) — Управление токеновыми ресурсами
Полный стек: pip install agent-trust-stack
Безопасность
VAM-SEC v1.0 — Все операции CoC и ARP выполняются через локальный ввод-вывод файлов. Учетные данные не требуются и не сохраняются. Сетевые вызовы не производятся, за исключением опционального coc_anchor (серверы календаря OTS + freeTSA.org). API-ключи не нужны.
Лицензия
Apache-2.0 — Copyright (c) 2026 AB Support LLC
Available Tools
11 toolsarp_checkA
Check an agent's reputation score.
Retrieves aggregated reputation data for the specified agent, including
average score, rating count, score range, and unique rater count.
Args:
agent_id: ID of the agent to check reputation for
Returns:
JSON with rating_count, average_score, min/max scores, unique_raters,
and first/latest rating timestamps
Inputs: agent_id (required). Returns: result
arp_rateA
Submit a bilateral blind rating for another agent.
Ratings are stored with the rater's identity hashed (blind — only the SHA-256
of the rater ID is stored), so ratings cannot be attributed to specific raters
without knowing the original ID.
Args:
rater: ID of the agent submitting the rating (hashed before storage)
ratee: ID of the agent being rated
score: Rating score from -1.0 (worst) to 1.0 (best)
context: Brief description of the interaction being rated (max 500 chars)
Returns:
JSON confirmation with timestamp and rater hash
Inputs: rater (required), ratee (required), score (required), context (required). Returns: result
coc_addA
Add an entry to an existing Chain of Consciousness chain.
Each entry is cryptographically linked to the previous via SHA-256 hashing,
creating a tamper-evident append-only log.
Args:
event_type: Type of event. One of: learn, decide, create, error, note,
milestone, session_start, session_end, boot, rotate, anchor,
compaction, governance
data: Description of what happened (free-form text)
agent: Name/ID of the agent adding this entry (default: anonymous)
commitment: For session_end only — SHA-256 hash of expected bootstrap state
for the next session (forward commitment)
verification: For session_start only — SHA-256 hash of actual bootstrap state
to verify against previous session's commitment
Returns:
JSON with the new entry details (sequence number, hash, timestamp)
Inputs: event_type (required), data (required), agent, commitment, +1 more. Returns: result
coc_anchorA
Submit the current chain hash for external timestamping.
Computes SHA-256 of the full chain file and submits it to:
- OpenTimestamps calendar servers (Bitcoin-anchored proof)
- RFC 3161 TSA server (freeTSA.org — instant certificate)
This creates independently verifiable proof that the chain existed at a
specific point in time. The OTS proof takes 1-12 hours for Bitcoin
confirmation; the TSA certificate is immediate.
Requires network access. No credentials needed.
Returns:
JSON with chain hash, anchor ID, OTS/TSA submission results, and proof file paths
Inputs: no named parameters. Returns: result
coc_initA
Initialize a new Chain of Consciousness hash chain.
Creates a genesis block — the first entry in a tamper-evident, append-only
provenance log. Each subsequent entry links to the previous via SHA-256,
creating an unbroken chain proving agent existence and activity over time.
Args:
agent: Name/ID of the agent initializing the chain (default: anonymous)
Returns:
JSON with genesis block details (hash, timestamp, sequence 0)
Inputs: agent. Returns: result
coc_statusA
Get current status and statistics of the Chain of Consciousness.
Returns:
JSON with chain length, genesis/latest timestamps, event type counts,
agent counts, and chain file path
Inputs: no named parameters. Returns: result
coc_tailA
Get the last N entries from the Chain of Consciousness.
Args:
n: Number of entries to return (default: 5, max: 100)
Returns:
JSON array of the last N chain entries with full details
Inputs: n. Returns: result
coc_verifyA
Verify the integrity of a Chain of Consciousness chain.
Checks every entry for:
- Correct sequence numbering
- Valid data_hash (SHA-256 of data field)
- Correct prev_hash linkage to previous entry
- Valid entry_hash (SHA-256 of sequence|timestamp|type|agent|data_hash|prev_hash)
- Genesis block structure
Returns:
JSON verification report with is_valid, entry_count, agents, event types,
anchor timestamps, session bridge stats, and any error details
Inputs: no named parameters. Returns: result
get_trust_evidenceA
Return structured trust evidence for this agent.
Provides a comprehensive trust evidence package including Chain of Consciousness
statistics, anchor counts, latest hash, verification status, and protocol
information. This data can be used by other agents to assess trustworthiness.
No arguments required — reads from the local chain.
Returns:
JSON with chain stats, anchor data, verification result, and protocol metadata
Inputs: no named parameters. Returns: result
trust_stack_infoA
Get information about all 7 Agent Trust Stack protocols.
Returns details for each protocol including name, purpose, whitepaper link,
PyPI package name, and implementation status. The Agent Trust Stack provides
a complete infrastructure layer for autonomous AI agent trust, accountability,
and coordination.
Returns:
JSON with protocol list, overview, and installation instructions
Inputs: no named parameters. Returns: result
verify_agent_identityA
Fetch and validate an agent's identity from a DID document or A2A Agent Card.
Given a URL pointing to a DID document (did.json) or A2A Agent Card
(agent-card.json), fetches the document and validates its structure against
the relevant specification.
For DID documents: checks @context, id format, verificationMethod, service endpoints.
For Agent Cards: checks name, provider, capabilities, skills, extensions.
Requires network access to fetch the document.
Args:
url: URL to a DID document or A2A Agent Card JSON file.
Examples:
- https://example.com/.well-known/did.json
- https://example.com/.well-known/agent-card.json
Returns:
JSON validation report with document type, validity, fields found, and any issues
Inputs: url (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes, especially the coc_* lifecycle actions (init, add, status, tail, verify, anchor) and arp_rate/arp_check. Minor overlap exists between get_trust_evidence and coc_status/coc_verify since both surface chain and verification data, but the intended use cases differ enough to avoid real confusion.
The coc_* and arp_* prefixes create useful grouping agenda, but naming style is mixed: some tools are prefix+verb (coc_add, arp_rate), some are prefix+noun (coc_status, coc_tail), and others use generic verb/noun patterns (get_trust_evidence, verify_agent_identity, trust_stack_info). The conventions are readable but not fully consistent.
Eleven tools is an appropriate size for a trust-stack server covering chain-of-consciousness, reputation, and identity verification. Each tool provides a distinct operation, and the count feels neither bloated nor overly minimal.
The core workflows are well covered: chain initialization, appending, tail inspection, verification, anchoring, reputation rating/checking, identity validation, and local trust evidence retrieval. Minor gaps exist, such as no per-entry chain lookup or richer reputation aggregation, but these are workable for the domain.
Maintenance
Related MCP Connectors
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Issue & verify signed (ed25519), hash-chained, timestamped provenance receipts for agent actions.
AI-agent trust infrastructure for discovery, authority, execution, verification, and receipts.
Trust infrastructure for AI agents. Portable reputation (JTS 0-5), agent discovery, vouching.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.455 npmMIT
- AlicenseAqualityBmaintenanceTrust, identity, and reputation infrastructure for AI agents. Register agents with W3C DID (Ed25519), check EigenTrust reputation scores, submit peer attestations, search agents by capability, and verify IPFS-anchored audit trails. 11 tools.20107 PyPI16MIT
- 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 gradedqualityDmaintenanceProvides tamper-proof audit logging for AI agents using SHA-256 hash chains, integrity verification, and compliance reporting for the EU AI Act.27 PyPI1MIT