Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OAUTH_CLIENT_ID | Yes | OAuth client ID used for authentication | |
| OAUTH_CLIENT_SECRET | Yes | OAuth client secret used for authentication | |
| STRATO_API_BASE_URL | Yes | The base URL for the STRATO API instance | |
| OPENID_DISCOVERY_URL | Yes | The OpenID discovery URL for authentication configuration (e.g., https://keycloak.blockapps.net/auth/realms/mercata/.well-known/openid-configuration) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| strato.tokens | Fetch token catalog, user balances, voucher balance, and earning assets. |
| strato.swap | Inspect swap pools, supported tokens, LP positions, history, and specific pool details. |
| strato.lending | Fetch lending pools, loans, liquidity, collateral, liquidations, and safety module state. |
| strato.cdp | Fetch CDP vaults, assets, debt metrics, bad debt, and interest/stats. |
| strato.bridge | Fetch bridge network configs, bridgeable tokens, deposit/withdrawal history, and withdrawal summary. |
| strato.rewards | Fetch rewards overview, activities, user rewards, pending balances, and leaderboard. |
| strato.admin | Fetch current user profile, admins, open issues, contract search, and config. |
| strato.events | Query chain events through the backend search interface. |
| strato.protocol-fees | Fetch aggregated or per-protocol revenue summaries. |
| strato.rpc | Proxy a JSON-RPC request through the backend RPC router. |
| strato.swap.create-pool | Create a new swap pool between tokenA and tokenB. |
| strato.swap.add-liquidity | Provide both tokens to a pool. |
| strato.swap.add-liquidity-single | Provide liquidity using only one token. |
| strato.swap.remove-liquidity | Redeem LP tokens from a pool. |
| strato.swap.execute | Swap within an existing pool. |
| strato.tokens.create | Admin: create a new token. |
| strato.tokens.transfer | Transfer tokens to another address. |
| strato.tokens.approve | Approve allowance for a spender. |
| strato.tokens.transfer-from | Transfer tokens on behalf of another address. |
| strato.tokens.set-status | Admin: update token status. |
| strato.lending.supply-collateral | Supply collateral to lending pool. |
| strato.lending.withdraw-collateral | Withdraw supplied collateral. |
| strato.lending.withdraw-collateral-max | Withdraw maximum available collateral for an asset. |
| strato.lending.borrow | Borrow from lending pool. |
| strato.lending.borrow-max | Borrow the maximum available USDST. |
| strato.lending.repay | Repay outstanding debt. |
| strato.lending.repay-all | Repay all debt. |
| strato.lending.deposit-liquidity | Deposit into lending pool. |
| strato.lending.withdraw-liquidity | Withdraw from lending pool. |
| strato.lending.withdraw-liquidity-all | Withdraw all available liquidity. |
| strato.lending.safety-stake | Stake USDST into safety module. |
| strato.lending.safety-cooldown | Begin safety module cooldown. |
| strato.lending.safety-redeem | Redeem sUSDST shares. |
| strato.lending.safety-redeem-all | Redeem all sUSDST shares. |
| strato.lending.liquidate | Liquidate a lending loan. |
| strato.lending.configure-asset | Admin: set lending parameters. |
| strato.lending.sweep-reserves | Admin: sweep protocol reserves. |
| strato.lending.set-debt-ceilings | Admin: set global/per-asset debt ceilings. |
| strato.lending.pause | Admin: pause lending. |
| strato.lending.unpause | Admin: unpause lending. |
| strato.cdp.deposit | Deposit collateral into a vault. |
| strato.cdp.withdraw | Withdraw collateral from a vault. |
| strato.cdp.withdraw-max | Withdraw maximum safe collateral. |
| strato.cdp.mint | Mint USDST against collateral. |
| strato.cdp.mint-max | Mint maximum safe USDST. |
| strato.cdp.repay | Repay USDST debt. |
| strato.cdp.repay-all | Repay all debt for an asset. |
| strato.cdp.liquidate | Liquidate an unhealthy CDP position. |
| strato.cdp.set-collateral-config | Admin: set collateral parameters. |
| strato.cdp.set-collateral-config-batch | Admin: set multiple collateral configs. |
| strato.cdp.set-asset-paused | Admin: toggle pause for a collateral asset. |
| strato.cdp.set-asset-supported | Admin: toggle asset support. |
| strato.cdp.set-global-paused | Admin: toggle global CDP pause. |
| strato.cdp.open-junior-note | Open a junior note position for bad debt. |
| strato.cdp.top-up-junior-note | Add USDST to junior note. |
| strato.cdp.claim-junior-note | Claim junior note rewards. |
| strato.bridge.request-withdrawal | Submit a withdrawal request to an external chain. |
| strato.bridge.request-auto-save | Request auto save for a bridge transaction. |
| strato.rewards.claim | Claim all pending CATA rewards from RewardsChef. |
| strato.rewards.claim-all-activities | Claim all rewards across activities. |
| strato.rewards.claim-activity | Claim rewards for a specific activity. |
| strato.admin.add-admin | Grant administrator access. |
| strato.admin.remove-admin | Revoke administrator access. |
| strato.admin.vote | Cast an administrative vote. |
| strato.admin.vote-by-id | Cast a vote given an issue ID. |
| strato.admin.dismiss-issue | Dismiss an issue (only proposer only-voter case). |
| strato.oracle.set-price | Admin: set oracle price for an asset. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| strato-endpoints | STRATO API endpoints mapped to UI features. |
| strato-config | Active MCP configuration and env hints. |