Skip to main content
Glama
swarm-provenance-mcp

swarm-provenance-mcp

by datafund

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHAIN_NAMENoBlockchain network: base-sepolia (testnet), base (mainnet), or localhost (local hardhat, chain 31337). Default: base-sepolia
PAYMENT_MODENoGateway payment tier. Default: free (rate limited to 3 write requests/minute). Set to empty to send no payment header. Any other value stops the server at start-up because this server cannot pay x402 requests.
CHAIN_ENABLEDNoEnable on-chain provenance anchoring. Default: false
CHAIN_RPC_URLNoCustom RPC endpoint for chain access (uses chain preset if not set). For base-sepolia and base the endpoint must report the preset's chain ID, or the server refuses it.
CHAIN_CONTRACTNoCustom DataProvenance contract address (uses chain preset if not set). CHAIN_CONTRACT_ADDRESS is accepted too; CHAIN_CONTRACT wins if both are set.
CHAIN_RPC_URLSNoComma-separated fallback RPC URLs, tried in order after CHAIN_RPC_URL. The chain ID check applies to each one.
CHAIN_GAS_LIMITNoExplicit gas limit for chain transactions (skips estimation if set).
SWARM_GATEWAY_URLNoURL of the swarm_connect FastAPI gateway. Must be http:// or https:// with a host and, if given, a numeric port (0 to 65535). Default: https://provenance-gateway.datafund.io
CHAIN_EXPLORER_URLNoCustom block explorer URL (uses chain preset if not set).
CHAIN_MAX_FEE_GWEINoFee cap per gas (maxFeePerGas). A write is refused when the current fee is above the cap. Default: 0.5 on mainnet, 10 on testnets
DEFAULT_STAMP_SIZENoDefault stamp size: small, medium, or large. Default: small
CHAIN_REQUIRE_CONFIRMNoRequire a confirmed quote on gas-spending tools. Without confirm: true and a matching quote_id they send nothing and return a quote. Default: mainnet only (any chain id other than 84532, 11155111, 31337 or 1337 counts as mainnet).
PROVENANCE_WALLET_KEYNoPrivate key for chain transactions (hex, with or without 0x prefix). A key that is set but invalid is logged as an error at start-up; the server still starts with chain writes disabled. Required for write tools (anchor_hash, record_transform, record_merge_transform, set_storage_ref) and chain_balance. Use each key in one server process at a time.
CHAIN_CONTRACT_ADDRESSNoAlternative name for CHAIN_CONTRACT. Custom DataProvenance contract address (uses chain preset if not set); CHAIN_CONTRACT wins if both are set.
CHAIN_MAX_TX_PER_SESSIONNoChain transactions allowed per server session. Default: 20 on mainnet, 500 on testnets
CHAIN_SESSION_BUDGET_ETHNoWorst-case spend allowed per server session; each transaction reserves gas limit x max fee plus the L1 data fee allowance, and is charged its actual cost once mined. Default: 0.002 on mainnet, 0.05 on testnets
MAX_STAMP_DURATION_HOURSNoMaximum duration_hours for purchase_stamp / extend_stamp. Default: 8760
SWARM_PROVENANCE_ENV_FILENoExplicit absolute path of the env file to load (must be absolute; ~/... is allowed). Start-up fails if it is relative or the file does not exist.
CHAIN_L1_FEE_ALLOWANCE_ETHNoL1 data fee reserved per transaction on top of L2 gas. Default: 0.000001
DEFAULT_STAMP_DURATION_HOURSNoDefault stamp duration in hours, minimum 24. Default: 25

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources