Skip to content
MCP server

Sign and register statements on a Forestrie log

Sign statements and register them on a Forestrie log, with capped x402 payments

Runs locally
Install

Sign and register statements on a Forestrie log is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Platforms
CLI
Runs
Locally
Version
0.3.0
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add register --env FORESTRIE_GRANT='<FORESTRIE_GRANT>' --env FORESTRIE_AUTHORITY_GRANT='<FORESTRIE_AUTHORITY_GRANT>' -- npx -y @forestrie/mcp-register

Add to claude_desktop_config.json

{
  "mcpServers": {
    "register": {
      "command": "npx",
      "args": [
        "-y",
        "@forestrie/mcp-register"
      ],
      "env": {
        "FORESTRIE_GRANT": "<FORESTRIE_GRANT>",
        "FORESTRIE_AUTHORITY_GRANT": "<FORESTRIE_AUTHORITY_GRANT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "register": {
      "command": "npx",
      "args": [
        "-y",
        "@forestrie/mcp-register"
      ],
      "env": {
        "FORESTRIE_GRANT": "<FORESTRIE_GRANT>",
        "FORESTRIE_AUTHORITY_GRANT": "<FORESTRIE_AUTHORITY_GRANT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "register": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@forestrie/mcp-register"
      ],
      "env": {
        "FORESTRIE_GRANT": "<FORESTRIE_GRANT>",
        "FORESTRIE_AUTHORITY_GRANT": "<FORESTRIE_AUTHORITY_GRANT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "register": {
      "command": "npx",
      "args": [
        "-y",
        "@forestrie/mcp-register"
      ],
      "env": {
        "FORESTRIE_GRANT": "<FORESTRIE_GRANT>",
        "FORESTRIE_AUTHORITY_GRANT": "<FORESTRIE_AUTHORITY_GRANT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "register": {
      "command": "npx",
      "args": [
        "-y",
        "@forestrie/mcp-register"
      ],
      "env": {
        "FORESTRIE_GRANT": "<FORESTRIE_GRANT>",
        "FORESTRIE_AUTHORITY_GRANT": "<FORESTRIE_AUTHORITY_GRANT>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • FORESTRIE_BASE_URLCanopy SCRAPI base URL used when a call omits baseUrl; also the only origin a payer will pay. No default.
  • FORESTRIE_ROOT_LOG_IDThe forest's root log id (R in /register/{R}/entries) when a call omits rootLogId.
  • FORESTRIE_GRANTYour Forestrie-Grant for the data log, as base64 or a file path, when a call omits grant.
  • FORESTRIE_AUTHORITY_GRANTYour authority log's creation grant, for issue_grant, register_grant and delegate_sealing as authority.
  • FORESTRIE_COORDINATOR_URLDelegation coordinator URL, for delegate_sealing.
  • FORESTRIE_KNOWN_SEALER_KEYThe registrar's sealer voucher key, base64 x||y, for delegate_sealing.
  • MCP_REGISTER_HOMEDirectory for key files, grants, registrations and the spend ledger; default ~/.config/forestrie/mcp-register.
  • MCP_REGISTER_KEY_FILEThe log key file (ES256 JWK, mode 600); created on first use if missing.
  • MCP_REGISTER_AUTHORITY_KEY_FILEThe authority key file (ES256 JWK, mode 600) that signs child grants; created on first use if missing.
  • MCP_REGISTER_PAYER_KEY_FILEOptional payer: a file holding your EVM key (0x + 64 hex, mode 600). Unset means relay mode: nothing is spent, your own x402 wallet pays.
  • MCP_REGISTER_PAY_MAX_PER_CALLMost one payment may be, in the asset's atomic units. Required with a payer.
  • MCP_REGISTER_PAY_MAX_PER_DAYMost all payments in one UTC day may total, in atomic units. Required with a payer.
  • MCP_REGISTER_PAY_NETWORKThe one network it pays on; default eip155:84532 (Base Sepolia).
  • MCP_REGISTER_PAY_ASSETThe one asset it pays in; default USDC on Base Sepolia. Required off the default network.
  • MCP_REGISTER_PAY_TOOptional: the only payee address it will pay.
  • MCP_REGISTER_PAY_ALLOW_MAINNETSet to 1 to allow paying on a network that is not a testnet; off by default.

About Sign and register statements on a Forestrie log

The server holds an ES256 log key and signs payloads you pass in, so the model never handles signature bytes; no tool accepts a signature or key as input. It registers the statement under a Forestrie-Grant, waits for the seal and verifies the receipt. It can also act as requester: signing a child grant under your own authority log, registering it with the canopy service and paying its x402 charge.

Payment is optional and stays under your control. With no payer configured it spends nothing and returns the payment requirements for your own wallet; with a key file it pays within per-call and per-day caps set in configuration rather than tool arguments, on one network and asset, testnet by default. The README says payments on a non-testnet need explicit opt-in.

It is the write half of a trio with mcp-verify, which checks receipts offline, and mcp-resolve, which fetches them. Prompts walk an agent through register, audit and issue-and-pay.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

get_log_key
Returns the log key's public half.
delegate_sealing
Authorises the operator's sealer for your data log.
register_statement
Signs a payload and registers it.
check_registration
Checks pending, awaiting_seal or sealed; saves the receipt once sealed.
verify_registration
Verifies the receipt over the statement.
issue_grant
Signs a child data-log grant with the authority key.
register_grant
Registers the child grant with canopy, paying within caps or relaying requirements.

What it does

Server-held keys
Signs payloads so the model never sees keys.
Receipt verification
Checks the receipt over the statement.
Spending caps
Per-call and per-day limits set in configuration.
Relay mode
Returns payment requirements without spending.
Guided prompts
register, audit and issue-and-pay flows.

Good for

  • Anchor a document hash in a transparency log
  • Buy a grant within spending limits
  • Verify a registered receipt
  • Delegate sealing for a data log

Pricing

Pricing unknown

Pay-per-grant via x402 to the log operator; amounts not published

Sign and register statements on a Forestrie log FAQ

Does Sign and register statements on a Forestrie log hold funds?

No, the payer is yours.

Where are keys kept?

In files under MCP_REGISTER_HOME, created on first use.

Does Sign and register statements on a Forestrie log pay on mainnet?

Only if MCP_REGISTER_PAY_ALLOW_MAINNET is set to 1.

How do I add Sign and register statements on a Forestrie log to Claude Code?

Run this command in your terminal: claude mcp add register --env FORESTRIE_GRANT='<FORESTRIE_GRANT>' --env FORESTRIE_AUTHORITY_GRANT='<FORESTRIE_AUTHORITY_GRANT>' -- npx -y @forestrie/mcp-register

What are the best alternatives to Sign and register statements on a Forestrie log?

The closest alternatives to Sign and register statements on a Forestrie log are x402 Notary MCP, Agent Receipt Verify, satledger timestamp receipt, FairSeal and Cedulon.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers