Skip to main content
Glama

agentseal-mcp

agentseal-mcp MCP server

AgentSeal 用のMCPサーバー。SHA-256ハッシュチェーンを使用した、AIエージェント向けの改ざん防止監査ログです。

すべてのアージェントアクションはハッシュチェーンに記録されます。これにより、エージェントが実行した内容をクライアントに対して実際に証明することができます。

セットアップ

Claude Desktop

claude_desktop_config.json に以下を追加してください:

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

保存後、Claude Desktopを再起動してください。

Cursor / その他のMCPホスト

設定は同様です。APIキーを使用してサーバーを追加してください。

環境変数

変数

必須

説明

AGENTSEAL_API_KEY

はい

agentseal.io から取得したAPIキー

AGENTSEAL_URL

いいえ

カスタムAPIベースURL(デフォルトは本番環境)

Related MCP server: Agent Audit Trail MCP Server

ツール

record_action

監査証跡にエージェントのアクションを記録します。重要なアクションの後にこれを呼び出し、何がなぜ行われたのかを暗号学的に連結された記録として作成します。

パラメータ

型

必須

説明

agent_id

string

はい

エージェントの識別子 (例: research-bot)

action_type

string

はい

アクションの種類 (例: email:send, file:write, api:call)

action_params

object

いいえ

アクションの詳細

reasoning

string

いいえ

エージェントがそのアクションを実行した理由

authorized_by

string

いいえ

アクションを承認した人またはシステム

エントリが連結されたことを確認するシーケンス番号とSHA-256ハッシュを返します。

query_actions

監査証跡から以前に記録されたアクションを検索します。これを使用して、どのようなアクションが実行されたかを確認したり、過去の決定を振り返ったりします。

パラメータ

型

必須

説明

agent_id

string

いいえ

エージェントでフィルタリング

action_type

string

いいえ

アクションタイプでフィルタリング

limit

number

いいえ

返す最大エントリ数 (デフォルト 20)

verify_chain

ハッシュチェーンの整合性を検証します。各エントリのSHA-256ハッシュには前のエントリのハッシュが含まれており、記録が改ざんされるとチェーンが切断され、その場所が報告されます。

パラメータ

型

必須

説明

agent_id

string

いいえ

特定のエージェントのチェーンを検証します。省略した場合はすべてのエントリを検証します。

検証されたエントリ数と、チェーンが完全かどうかを返します。

仕組み

記録された各アクションはSHA-256でハッシュ化されます。そのハッシュには前のエントリのハッシュが含まれており、チェーンを形成します。記録を改ざんするとそれ以降のすべてのハッシュが変化するため、verify_chain が即座に検知します。

APIキーの取得

agentseal.io でサインアップしてください。無料で利用できます。

Python SDK

MCPなしで直接統合する場合は pip install agentseal-sdk を使用してください。agentseal-sdk を参照してください。

ライセンス

MIT

Available Tools

3 tools
query_actionsA

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

Inputs: agent_id, action_type, limit.

record_actionA

Record an agent action to the AgentSeal audit hash trail. Call this after every significant action (sending emails, modifying files, running queries, making API calls) to create a cryptographically sealed record of what happened and why.

Inputs: agent_id (required), action_type (required), action_params, reasoning, +1 more.

verify_chainA

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

Inputs: agent_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: record_action records, query_actions retrieves, verify_chain checks integrity. No overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (query_actions, record_action, verify_chain), making them predictable and easy to understand.

    Tool Count5/5

    Three tools is an ideal scope for an audit trail server, covering the essential operations of recording, querying, and verifying without unnecessary bloat.

    Completeness5/5

    The tool surface fully covers the core lifecycle of an audit trail: recording actions, looking up history, and verifying chain integrity. No obvious gaps given the domain's immutability requirements.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A Model Context Protocol server that enables LLMs to retrieve and analyze OpenTelemetry traces and metrics from Logfire, supporting exception tracking and custom SQL queries against telemetry data.
      4
      35,280 PyPI
      162
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides an immutable, tamper-evident audit trail for AI agents, enabling event logging with cryptographic chaining, search, verification, and statistics.
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Tamper-evident audit trail for AI agent tool calls. Cryptographically signed, hash-chained records that prove what your agents did.
      3
      MIT