Agentseal

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

Verifiable action logs for AI agents. Every action is recorded in a SHA-256 hash chain.

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

概览

AI 生成的概览

AgentSeal 是一个本地 MCP 服务器,让 AI 助手把自身操作记录到 SHA-256 哈希链审计日志中,查询历史记录并校验链的完整性。

可以做什么
将代理操作记录到防篡改审计日志,包含操作类型、参数、决策理由和授权方,并返回序号与哈希。按代理或操作类型查询此前记录的操作,回顾做过什么或为何这样做。校验某个代理或全部条目的哈希链完整性,并报告断链位置。
适用场景
当你需要向客户或审计方证明代理确实执行了所声称的操作,并希望为发邮件、写文件、调用 API 等重要操作留下可验证、防篡改的记录时适用。
运行要求
通过 npx 以本地进程方式运行 npm 包 agentseal-mcp,需在 Claude Desktop 或 Cursor 等 MCP 宿主中配置。需要 AgentSeal API 密钥,通过环境变量 AGENTSEAL_API_KEY 提供;可选环境变量 AGENTSEAL_URL 用于自定义 API 地址。需要能访问 AgentSeal 服务的网络。
安装前请注意
需要密钥 AGENTSEAL_API_KEY,会保存在宿主配置文件中。记录的操作(含参数与理由)会发送到 AgentSeal 服务,避免记录敏感数据。服务器会向远程审计日志写入条目;README 称注册免费,但未说明用量限制或后续收费。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

agentseal-mcp

[agentseal-mcp MCP server]

MCP server for AgentSeal. Tamper-proof audit logs for AI agents, using SHA-256 hash chains.

Every agent action is recorded in a hash chain. With this, you can actually prove to your clients that your agent did what it said it did.

Setup

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "agentseal": {      "command": "npx",      "args": ["-y", "agentseal-mcp"],      "env": {        "AGENTSEAL_API_KEY": "as_sk_your_key_here"      }    }  }}

Restart Claude Desktop after saving.

Cursor / Other MCP hosts

Same configuration — add the server with your API key.

Environment variables

VariableRequiredDescription
AGENTSEAL_API_KEYYesYour API key from agentseal.io
AGENTSEAL_URLNoCustom API base URL (defaults to production)

Tools

record_action

Record an agent action to the audit trail. Call this after significant actions to create a cryptographically chained record of what happened and why.

ParameterTypeRequiredDescription
agent_idstringYesIdentifier for the agent (e.g. research-bot)
action_typestringYesWhat kind of action (e.g. email:send, file:write, api:call)
action_paramsobjectNoDetails of the action
reasoningstringNoWhy the agent decided to take this action
authorized_bystringNoWho or what approved the action

Returns a sequence number and SHA-256 hash confirming the entry was chained.

query_actions

Look up previously recorded actions from the audit trail. Use this to check what actions have been taken or recall past decisions.

ParameterTypeRequiredDescription
agent_idstringNoFilter by agent
action_typestringNoFilter by action type
limitnumberNoMax entries to return (default 20)

verify_chain

Verify the integrity of the hash chain. Each entry's SHA-256 hash includes the previous entry's hash — if any record was modified, the chain breaks and this reports where.

ParameterTypeRequiredDescription
agent_idstringNoVerify chain for a specific agent. If omitted, verifies all entries.

Returns the number of entries verified and whether the chain is intact.

How it works

Each recorded action is hashed with SHA-256. That hash includes the previous entry's hash, forming a chain. Modify any record and every hash after it changes — verify_chain catches it instantly.

Get an API key

Sign up at agentseal.io. Free to use.

Python SDK

For direct integration without MCP: pip install agentseal-sdk. See agentseal-sdk.

License

MIT

来源:README.md,提交 e888572

工具

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

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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