Skip to main content
Glama
dziuba0x

flare-mcp

by dziuba0x

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLARE_RPCNoOverride the mainnet RPC endpoint.
X402_PAY_TONoPayee address receiving payments.
FLARE_DA_URLNoOverride the DA-layer base URL.
X402_ENABLEDNotrue turns on the x402 paywall for premium tools (default: off).
X402_NETWORKNoSettlement network (default coston2; mainnet also needs X402_ALLOW_MAINNET=true).
FLARE_DA_API_KEYNoDA-layer API key; defaults to public key.
FLARE_RPC_COSTONNoOverride the Coston RPC endpoint.
FLARE_METRICS_APINoOptional fallback metrics API.
FLARE_PRIVATE_KEYNoLocal signing key for submitting attestation requests. Omit for prepared-only mode.
FLARE_RPC_TESTNETNoOverride the Coston2 RPC endpoint.
FLARE_DA_LAYER_APINoBase URL of a Flare Data Availability Layer / indexer for historical feed results.
FLARE_RPC_SONGBIRDNoOverride the Songbird RPC endpoint.
X402_PRICE_DEFAULTNoDefault price in whole-token units (default 0.001).
X402_TOKEN_ADDRESSNoEIP-3009 payment token override.
FLARE_PROVIDERS_APINoAn indexer endpoint returning providers JSON.
FDC_VERIFIER_API_KEYNoVerifier API key; defaults to public key 00000000-0000-0000-0000-000000000000.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_flr_balanceB

Get native FLR balance and wrapped WFLR (WNat) balance for an EVM address on Flare mainnet or Coston2 testnet.

get_ftso_feedA

Get the latest FTSO price feed (value, decimals, timestamp) for a feed by name (e.g. "FLR/USD") or raw bytes21 feed id.

get_ftso_feeds_allA

Get the latest FTSO price for all known feeds on the given network.

get_ftso_providersA

Get the list of active FTSO data providers (name, address, vote power, fee, reward rate) for the given network.

get_ftso_historyC

Get recent historical FTSO results for a feed (by name or bytes21 id) from the Flare Data Availability layer.

get_fassets_statusA

Get FAssets status (total minted, active agent count) for FXRP, FBTC or FDOGE on the given network, via the on-chain AssetManager with a flaremetrics.io fallback.

get_fdc_proof_statusA

Get the FDC (protocol id 200) Merkle root and finalization status for a voting round from the Flare Relay contract.

get_smart_account_infoC

Resolve the deterministic Flare address for an XRPL account (r... format) via the MasterAccountController, and report whether the Smart Account exists on-chain.

fdc_request_attestationA

Submit an FDC attestation request (Payment, AddressValidity or EVMTransaction). Prepares the request via a Flare-hosted verifier, queries the request fee, and — if FLARE_PRIVATE_KEY is set — submits it to FdcHub, returning the tx hash and voting round id. Without a key it returns the prepared request for external submission.

fdc_get_attestation_proofA

Retrieve an FDC attestation proof from the Data Availability layer for a finalized voting round and verify the Merkle proof locally against the on-chain Relay root (no trust in the DA response).

fassets_agent_statusB

List FAssets agents (FXRP first) with collateral ratios, minting capacity (free lots), minted/reserved amounts and liquidation status, sorted by vault collateral ratio (riskiest first).

fassets_system_stateB

Global FAssets system state for an asset: total minted, agent count, lot size, minting cap/pause, aggregated vault+pool collateral, and the redemption queue (tickets, value, lots).

fassets_liquidation_scannerA

PREMIUM (x402): FAssets agents ranked by liquidation risk, joined with live FTSOv2 prices — per agent: CR headroom, the underlying price at which liquidation starts, and the % price move away from it. Free when the operator has not enabled x402.

fdc_bulk_proof_bundleA

PREMIUM (x402): batch retrieval of up to 20 FDC attestation proofs with local Merkle verification of each against the on-chain Relay root. Free when the operator has not enabled x402.

songbird_fcc_registryC

Scan the live FlareContractRegistry (Songbird by default) for Flare Confidential Compute contracts (PMW, TEE, compute extensions). Reports FCC deployment status post-STP.13 and lists FDC/Relay contracts plus the full registry.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
flare-feedsList of known FTSO price feeds on Flare (feed id, name, category).
flare-contractsFlare ContractRegistry address and instructions for resolving contract addresses at runtime.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dziuba0x/flare-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server