swarm-provenance-mcp
by datafund
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHAIN_NAME | No | Blockchain network: base-sepolia (testnet), base (mainnet), or localhost (local hardhat, chain 31337). Default: base-sepolia | |
| PAYMENT_MODE | No | Gateway 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_ENABLED | No | Enable on-chain provenance anchoring. Default: false | |
| CHAIN_RPC_URL | No | Custom 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_CONTRACT | No | Custom DataProvenance contract address (uses chain preset if not set). CHAIN_CONTRACT_ADDRESS is accepted too; CHAIN_CONTRACT wins if both are set. | |
| CHAIN_RPC_URLS | No | Comma-separated fallback RPC URLs, tried in order after CHAIN_RPC_URL. The chain ID check applies to each one. | |
| CHAIN_GAS_LIMIT | No | Explicit gas limit for chain transactions (skips estimation if set). | |
| SWARM_GATEWAY_URL | No | URL 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_URL | No | Custom block explorer URL (uses chain preset if not set). | |
| CHAIN_MAX_FEE_GWEI | No | Fee 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_SIZE | No | Default stamp size: small, medium, or large. Default: small | |
| CHAIN_REQUIRE_CONFIRM | No | Require 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_KEY | No | Private 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_ADDRESS | No | Alternative 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_SESSION | No | Chain transactions allowed per server session. Default: 20 on mainnet, 500 on testnets | |
| CHAIN_SESSION_BUDGET_ETH | No | Worst-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_HOURS | No | Maximum duration_hours for purchase_stamp / extend_stamp. Default: 8760 | |
| SWARM_PROVENANCE_ENV_FILE | No | Explicit 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_ETH | No | L1 data fee reserved per transaction on top of L2 gas. Default: 0.000001 | |
| DEFAULT_STAMP_DURATION_HOURS | No | Default 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessSyncing