Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP server listen host. Default is 127.0.0.1; Docker sets 0.0.0.0.127.0.0.1
PORTNoHTTP server listen port.8787
X402_PAY_TONoRecipient USDC address for x402 paid tools (token_risk and wallet_portfolio). The USDC token account must already exist.
X402_NETWORKNox402 network CAIP identifier. Default is Solana devnet; mainnet is solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
X402_RPC_URLNoRPC URL used for x402 payment requirements. Defaults from X402_NETWORK and is never set from SOLANA_RPC_URL.
MAX_TRADE_USDNoMaximum trade size in USD. Set to 'off' to disable. A missing price refuses the trade while the cap is on.1000
CDP_API_KEY_IDNoCoinbase CDP API key ID. When set with CDP_API_KEY_SECRET, CDP is the primary x402 facilitator.
FEE_CHECK_MODENoFee validation mode. 'fail' withholds quotes/transactions when the referral fee is wrong; 'warn' returns them with feeCheck.ok false.fail
SOLANA_RPC_URLNoSolana RPC URL used for data reads and referral account checks. Defaults to the public mainnet-beta RPC.
USAGE_LOG_PATHNoPath to the JSONL usage log. The Docker image default is /data/usage.jsonl./data/usage.jsonl
X402_PRICE_USDNoPrice in USD per paid x402 call for token_risk and wallet_portfolio.0.01
JUPITER_API_KEYNoOptional Jupiter API key sent as x-api-key. Keyless access is rate-limited to about 0.5 requests per second.
PUBLIC_BASE_URLNoPublic origin used for x402 resource URLs and Bazaar metadata when TLS is terminated by a proxy.
MAX_INPUT_AMOUNTNoOptional maximum input amount in base units. If unset, a startup warning is printed.
MAX_SLIPPAGE_BPSNoMaximum allowed slippage in basis points.300
X402_PRICE_GUARDNoBehavior when X402_PRICE_USD is below X402_MIN_FEE_MULTIPLE times the facilitator fee. 'warn' logs a warning; 'refuse' exits at startup.warn
CDP_API_KEY_SECRETNoCoinbase CDP API key secret. When set with CDP_API_KEY_ID, CDP is the primary x402 facilitator.
ADVAN_ALLOWED_HOSTSNoAllowed HTTP hosts when binding a public interface.
MAX_PRICE_IMPACT_PCTNoMaximum absolute price impact percentage. Jupiter's priceImpactPct is treated as a fraction.5
X402_MIN_FEE_MULTIPLENoMinimum multiple of the applicable facilitator fee that X402_PRICE_USD must cover when X402_PRICE_GUARD is enforced.5
JUPITER_REFERRAL_ACCOUNTNoJupiter referral account. If unset, orders are sent with no referral and a startup warning is logged.
JUPITER_REFERRAL_FEE_BPSNoJupiter referral fee in basis points. Allowed range is 50–255; default is 50.50
JUPITER_REFERRAL_REQUIREDNoIf true, refuses to boot without JUPITER_REFERRAL_ACCOUNT and wSOL, USDC, and USDT referral token accounts.false
REFERRAL_MISSING_MINT_MODENoBehavior when a token-to-token route picks a fee mint without a configured referral token account. 'requote' requotes without referral fee, 'fail' refuses, 'warn' returns original with feeCheck.ok false.requote
SWAP_SELF_BROADCAST_DEFAULTNoDefault for build_swap_tx selfBroadcast. When true, JupiterZ routes are excluded and the taker broadcasts the transaction.false
X402_CDP_RECOVERY_INTERVAL_MSNoMilliseconds to wait before probing a failed CDP facilitator again. Default is 5 minutes.300000
JUPITER_REFERRAL_TOKEN_ACCOUNT_SOLNoReferral token account for the wSOL fee mint.
JUPITER_REFERRAL_TOKEN_ACCOUNT_USDCNoReferral token account for the USDC fee mint.
JUPITER_REFERRAL_TOKEN_ACCOUNT_USDTNoReferral token account for the USDT fee mint.

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