Skip to main content
This page shows exactly how to use the IFÁ Labs MCP Server in practice — from single price checks to multi-asset workflows to agent-based automation. Every example is a real prompt you can use directly in your MCP client.

Basic Price Queries

The most common use case — checking a live stablecoin price without leaving your editor or AI assistant.

Single Asset Price

Prompt:
“What is the current USDT/USD price from IFÁ Labs on Base Mainnet?”
Tools called: get_asset_price Response:

Multiple Asset Prices

Prompt:
“Get the current prices for USDT, CNGN, ZARP, and BRZ from IFÁ Labs.”
Tools called: get_multiple_prices Response:

Emerging Market Stablecoin Snapshot

Prompt:
“Give me a snapshot of all IFÁ Labs emerging market stablecoin prices right now.”
Tools called: get_supported_assets, get_multiple_prices Response:

Freshness and Staleness Checks

Before deploying, executing a settlement, or running liquidation simulations, verify your feeds are fresh.

Check a Single Feed

Prompt:
“Is the CNGN/USD price feed on IFÁ Labs fresh enough to use for a liquidation check? I need it to be within 30 minutes.”
Tools called: check_price_freshness Response:

Check All Feeds Before Deployment

Prompt:
“Before I deploy my stablecoin vault to Base Mainnet, check the freshness of all IFÁ Labs feeds I’m using: USDT, USDC, and CNGN.”
Tools called: get_multiple_prices, check_price_freshness × 3 Response:

Asset ID Resolution

Verify asset IDs before hardcoding them in contracts — directly from your coding assistant.

Resolve a Single Asset ID

Prompt:
“What is the IFÁ Labs asset ID for ZARP/USD? I need the bytes32 value to hardcode in my contract.”
Tools called: get_asset_id Response:

Get All Asset IDs at Once

Prompt:
“Give me the IFÁ Labs bytes32 asset IDs for all supported stablecoins so I can add them as constants in my contract.”
Tools called: get_supported_assets Response:

Cross-Asset and Derived Pair Queries

Price one stablecoin against another without a direct feed.

CNGN to USDT Rate

Prompt:
“How much USDT is one CNGN worth right now according to IFÁ Labs?”
Tools called: get_derived_pair Response:

ZARP to USDC Rate

Prompt:
“What is the current ZARP to USDC exchange rate on IFÁ Labs?”
Tools called: get_derived_pair Response:

Multi-Currency Basket Valuation

Prompt:
“I have a basket of 10,000 CNGN, 5,000 ZARP, and 1,000 BRZ. What is the total USD value based on IFÁ Labs prices?”
Tools called: get_multiple_prices Response:

Development Workflows

Queries designed for developers actively building integrations.

Pre-Integration Setup Check (EVM)

Prompt:
“I’m about to integrate IFÁ Labs into my protocol on Base Mainnet. Give me the oracle contract address, the asset IDs for USDT and CNGN, and confirm both feeds are currently fresh.”
Tools called: get_network_info, get_asset_id × 2, check_price_freshness × 2 Response:

Pre-Integration Setup Check (Sui)

Prompt:
“I’m building a Sui Move contract and need the IFÁ Labs object IDs for Sui Testnet, plus the asset IDs for USDT and CNGN in Move format.”
Tools called: get_network_info, get_asset_id × 2 Response:

Testnet vs Mainnet Price Comparison

Prompt:
“Compare the USDT/USD price on Base Sepolia testnet versus Base Mainnet using IFÁ Labs.”
Tools called: get_asset_price × 2 (different networks) Response:

Verify a Contract Constant Before Deployment

Prompt:
“I have this asset ID hardcoded in my contract: 0x83a18c73cf75a028a24b79cbedb3b8d8ba363b748a3210ddbcaa95eec3b87b3a Can you verify it’s correct for CNGN/USD on IFÁ Labs?”
Tools called: get_asset_id Response:

Agent and Automation Workflows

Queries for AI agents, monitoring pipelines, and automated workflows consuming IFÁ Labs data.

Automated Feed Health Check

Prompt (automated agent):
“Run a health check on all IFÁ Labs price feeds. Flag any that are stale beyond 2 hours.”
Tools called: get_supported_assets, check_price_freshness × 6 Response:

Protocol Risk Assessment

Prompt:
“I’m running a stablecoin lending protocol using USDT, USDC, and CNGN as collateral. Assess the current oracle risk based on IFÁ Labs feed freshness and peg deviation.”
Tools called: get_multiple_prices, check_price_freshness × 3 Response:

Price Feed Monitoring Alert

Prompt (scheduled agent, runs every 15 minutes):
“Check if any IFÁ Labs feeds have gone stale in the last 15 minutes. If yes, return the asset name, current age, and recommended action.”
Tools called: get_supported_assets, check_price_freshness × 6 Response (stale feed detected):

Network and Contract Information

Quick lookups for network configuration and contract details.

Get EVM Contract Address

Prompt:
“What is the IFÁ Labs oracle contract address on Base Mainnet?”
Tools called: get_network_info Response:

Get Sui Object IDs

Prompt:
“What are the IFÁ Labs object IDs on Sui Testnet?”
Tools called: get_network_info Response:

Full Network Reference

Prompt:
“Give me a full network reference for all IFÁ Labs deployments.”
Tools called: get_network_info Response:

Tips for Writing Effective Prompts

Getting the best results from the IFÁ Labs MCP Server comes down to specificity. Here’s what works: Always specify the asset in "SYMBOL/USD" format when possible. “CNGN price” works, but “CNGN/USD price on Base Mainnet” is unambiguous and gives the model everything it needs to call the right tool with the right parameters without guessing. Specify the network when it matters. If you’re working on a testnet integration, say “Base Sepolia” or “Sui Testnet” explicitly. Without a network qualifier, the server defaults to Base Mainnet. For Sui, ask for object IDs — not a contract address. Prompts like “give me the Sui Testnet object IDs” or “what is the Feed Object ID on Sui Testnet” will trigger get_network_info and return the correct Sui-specific identifiers. Price read tools (get_asset_price, etc.) only work on EVM networks. State your threshold when checking freshness. “Is the feed fresh?” leaves the threshold ambiguous. “Is the feed fresh within a 30-minute window?” gives the tool a precise max_age_seconds value to evaluate against. Chain multiple requests in a single prompt for complex workflows. The MCP client will execute multiple tool calls in sequence. “Get the CNGN price, check its freshness, and give me its asset ID” triggers three tool calls in one prompt rather than requiring three separate messages.

Next Steps

MCP Client Compatibility

Detailed compatibility notes and known limitations for every supported client.

Available Tools

Full reference for every tool the IFÁ Labs MCP Server exposes.