Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CSPR_TRADE_PORTNoHTTP server port.3000
CSPR_TRADE_NETWORKNoCasper network to connect to ('mainnet' or 'testnet').mainnet
CSPR_TRADE_TRANSPORTNoTransport mode: 'stdio' or 'http'.http

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_tokens

List all tradable tokens on CSPR.trade with optional fiat pricing

get_pairs

List trading pairs on CSPR.trade with reserves and pricing data

get_pair_details

Get detailed information about a specific trading pair

get_quote

Get a swap quote for trading between two tokens. Returns amounts, price impact, and routing path.

get_currencies

List supported fiat currencies for price display

build_swap

Build an unsigned swap transaction. Returns the deploy JSON for external signing, plus a human-readable summary.

build_approve_token

Build an unsigned token approval transaction. Spender defaults to the CSPR.trade router.

submit_transaction

Submit a signed transaction to the Casper network via node RPC.

build_add_liquidity

Build an unsigned add-liquidity transaction for a token pair

build_remove_liquidity

Build an unsigned remove-liquidity transaction

get_liquidity_positions

Get liquidity positions for an account

get_impermanent_loss

Calculate impermanent loss for a liquidity position

get_swap_history

Get swap transaction history

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/make-software/cspr-trade-mcp'

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