CSPR[dot]trade MCP
The CSPR.trade MCP server provides AI agent integration for CSPR.trade, the leading DEX on the Casper Network, offering 13 tools across four capability areas.
Market Data (no wallet required)
get_tokens— List all tradable tokens, with optional fiat pricingget_pairs— Browse trading pairs with reserves, pricing, pagination, and sortingget_pair_details— Fetch detailed info for a specific trading pairget_quote— Get swap quotes including amounts, price impact, and routing path (exact-in or exact-out)get_currencies— List supported fiat currencies
Trading (wallet required to build; signed locally)
build_swap— Build an unsigned swap transaction with slippage and deadline controlsbuild_approve_token— Build an unsigned token approval transaction for the routersubmit_transaction— Submit a signed transaction to the Casper network
Liquidity Management (wallet required)
build_add_liquidity— Build an unsigned add-liquidity transaction for a token pairbuild_remove_liquidity— Build an unsigned remove-liquidity transaction for a position percentage
Account Queries (no wallet required)
get_liquidity_positions— View all liquidity positions for an accountget_impermanent_loss— Calculate impermanent loss for a specific liquidity positionget_swap_history— Retrieve swap history, filterable by pair or public key
Key design note: The server is non-custodial — it never handles private keys. Transactions are built server-side and signed locally by the user. It can be used via a public endpoint or self-hosted for testnet/private use.
CSPR.trade MCP
AI agent integration for CSPR.trade, the leading DEX on the Casper Network.
🔗 Public endpoint: https://mcp.cspr.trade/mcp — connect any MCP client, no setup required.
📖 Documentation: mcp.cspr.trade
Connect Your Agent
Add to Claude Desktop, Cursor, or any MCP client config:
{
"mcpServers": {
"cspr-trade": {
"url": "https://mcp.cspr.trade/mcp"
}
}
}That's it. Your agent now has access to 14 tools for market data, swaps, liquidity management, and account queries on the Casper Network.
What's Available
Category | Tools | Wallet Required |
Market Data |
| No |
Trading |
| Yes |
Liquidity |
| Yes |
Account |
| No |
Signing |
| Local key |
Non-custodial by design. The MCP server never handles private keys. Transactions are built remotely and signed locally.
OpenClaw Skill
Using OpenClaw? Install the agent skill from ClawHub:
npx clawhub@latest install cspr-trade-mcpThe skill teaches your agent the full workflow — intent classification, quote-before-swap patterns, price impact warnings, local signing flows, and error recovery. Works with any OpenClaw-compatible agent.
Self-Hosting
Want testnet access or a private instance? Install the npm packages:
npm install @make-software/cspr-trade-mcp{
"mcpServers": {
"cspr-trade": {
"command": "npx",
"args": ["@make-software/cspr-trade-mcp"],
"env": { "CSPR_TRADE_NETWORK": "testnet" }
}
}
}See the Self-Hosting guide for HTTP server setup, local signer mode, and production deployment.
Packages
Package | Description |
MCP server — 14 tools over stdio or HTTP | |
TypeScript SDK — market data, quotes, transaction building |
Development
npm install # Install dependencies
npm run build # Build all packages
npm test # Run testsLicense
MIT
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