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_tokensB

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

get_pairsC

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

get_pair_detailsB

Get detailed information about a specific trading pair

get_quoteA

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

get_currenciesA

List supported fiat currencies for price display

build_swapA

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

build_approve_tokenA

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

submit_transactionA

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

build_add_liquidityB

Build an unsigned add-liquidity transaction for a token pair

build_remove_liquidityC

Build an unsigned remove-liquidity transaction

get_liquidity_positionsC

Get liquidity positions for an account

get_impermanent_lossC

Calculate impermanent loss for a liquidity position

get_swap_historyC

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