Trust Layer

io.github.Ernesmar由 GitHub 账号 Ernesmar 发布v0.1.0更新于 Oct 24, 2026

Notario verificable de agentes de IA: registra identidad y acciones en un log inmutable y firmado.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

一个本地 MCP 服务器,充当 AI 代理的可验证公证人,将代理身份与操作记录到不可篡改且带签名的日志中。

可以做什么
在代理执行操作前,用 verificar_identidad_agente 工具核验其身份。用 registrar_accion_auditable 将相关代理操作记录到可审计、可加密验证的日志中。用 verificar_historial 检查已记录历史的完整性。完整性依赖哈希链加签名;当前使用内存适配器存储,并已准备 Postgres 架构供后续接入。
适用场景
当你需要可审计地追踪哪个 AI 代理做了什么,并希望确认记录未被篡改时适用。由于它是第一阶段版本且使用内存存储,更适合早期实验和本地测试,而非生产合规用途。
运行要求
作为本地进程在用户机器上运行(仅桌面端)。README 说明需以 pip 可编辑模式从源码安装,并用 python -m src.mcp_server.servidor 启动,因此需要 Python 环境。清单未声明任何软件包、环境变量、请求头或身份验证。
安装前请注意
该服务器明确不认证也不判断操作是否符合任何法规,且不涉及支付。此阶段使用内存存储,记录不会持久保存,Postgres 集成仍待完成。应将审计日志视为技术完整性记录,而非法律证据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Trust Layer,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Registro de Confianza para Agentes

Servidor MCP que actúa como notario verificable de agentes de IA: registra su identidad y cada acción relevante en un log inmutable y criptográficamente verificable — sin certificar ni juzgar si esas acciones cumplen ninguna normativa.

Ver la especificación completa (arquitectura, modelo de datos, plan de validación) en el documento de diseño del proyecto.

Estructura

src/  domain/            # lógica de negocio pura, sin dependencias externas    models.py        # AgenteIA, RegistroAuditable    hash_chain.py     # integridad criptográfica: hash-chain + firma    ports.py          # interfaces que la infraestructura implementa    servicios.py       # casos de uso: VerificarIdentidadAgente, RegistrarAccionAuditable  infrastructure/    adaptadores_memoria.py   # implementación en memoria (tests, Fase 1)    postgres_schema.sql      # esquema para cuando se conecte Postgres real  mcp_server/    servidor.py        # expone los casos de uso como herramientas MCPtests/  unit/          # dominio puro, sin DB  integration/   # (pendiente: contra Postgres real)  contract/      # garantiza el schema que ve cualquier cliente MCPdocs/adr/        # decisiones de arquitectura, con su razonamiento

Uso

bash
pip install -e ".[dev]"pytest                          # corre toda la suitepython -m src.mcp_server.servidor   # levanta el servidor MCP

Estado

Fase 1, primera versión: verificar_identidad_agente + registrar_accion_auditable + verificar_historial, con adaptadores en memoria. Sin pagos, sin certificación normativa — ver ADR 0001 y el documento de diseño para el porqué de cada decisión.

Listado en el MCP Registry oficial como io.github.Ernesmar/trust-layer.

来源:README.md,提交 7ce1f9a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 23, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。