MCP directory
SA

Sign and register statements on a Forestrie log

by forestrie.dev · v0.3.0 · updated Nov 1, 2026

Sign and register statements on a Forestrie log, verify receipts, buy grants via x402 within caps

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @forestrie/[email protected]

Environment variables

  • FORESTRIE_BASE_URL

    Canopy SCRAPI base URL used when a call omits baseUrl; also the only origin a payer will pay. No default.

  • FORESTRIE_ROOT_LOG_ID

    The forest's root log id (R in /register/{R}/entries) when a call omits rootLogId.

  • FORESTRIE_GRANTsecret

    Your Forestrie-Grant for the data log, as base64 or a file path, when a call omits grant.

  • FORESTRIE_AUTHORITY_GRANTsecret

    Your authority log's creation grant, for issue_grant, register_grant and delegate_sealing as authority.

  • FORESTRIE_COORDINATOR_URL

    Delegation coordinator URL, for delegate_sealing.

  • FORESTRIE_KNOWN_SEALER_KEY

    The registrar's sealer voucher key, base64 x||y, for delegate_sealing.

  • MCP_REGISTER_HOME

    Directory for key files, grants, registrations and the spend ledger; default ~/.config/forestrie/mcp-register.

  • MCP_REGISTER_KEY_FILE

    The log key file (ES256 JWK, mode 600); created on first use if missing.

  • MCP_REGISTER_AUTHORITY_KEY_FILE

    The authority key file (ES256 JWK, mode 600) that signs child grants; created on first use if missing.

  • MCP_REGISTER_PAYER_KEY_FILE

    Optional 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_CALL

    Most one payment may be, in the asset's atomic units. Required with a payer.

  • MCP_REGISTER_PAY_MAX_PER_DAY

    Most all payments in one UTC day may total, in atomic units. Required with a payer.

  • MCP_REGISTER_PAY_NETWORK

    The one network it pays on; default eip155:84532 (Base Sepolia).

  • MCP_REGISTER_PAY_ASSET

    The one asset it pays in; default USDC on Base Sepolia. Required off the default network.

  • MCP_REGISTER_PAY_TO

    Optional: the only payee address it will pay.

  • MCP_REGISTER_PAY_ALLOW_MAINNET

    Set to 1 to allow paying on a network that is not a testnet; off by default.

More from forestrie.dev

More MCP servers