make-software/cspr-trade-mcp

make-software/cspr-trade-mcp

от make-software
Подключает AI-агентов к DEX CSPR.trade на Casper Network через 24 инструмента: рыночные данные, свопы и портфельный мониторинг. Ключи остаются локально — безопасное решение для DeFi-автоматизации.

CSPR.trade MCP

MCP Server

AI agent integration for CSPR.trade, the leading DEX on the Casper Network.

[CSPR[dot]trade MCP server](https://glama.ai/mcp/servers/make-software/cspr-trade-mcp)

🔗 Public endpoint: https://mcp.cspr.trade/mcp — connect any MCP client, no setup required.

The hosted endpoint runs with file-based deploy input disabled. submit_transaction accepts inline signed JSON only; it will not read deploy files from the server filesystem.

📖 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 24 public tools for market data, swaps, liquidity management, trade analysis, portfolio tracking, and account queries on the Casper Network.

What's Available

Public MCP surface: 24 tools
Category Tools Wallet Required
Market Data get_tokens, get_pairs, get_pair_details, get_quote, get_currencies, get_pair_price_history, get_token_price_history No
Trading build_swap, build_approve_token, submit_transaction Yes
Liquidity build_add_liquidity, build_remove_liquidity Yes
Trade Analysis estimate_price_impact, estimate_slippage, analyze_trade, optimal_liquidity_amounts No
Account get_token_balance, get_liquidity_positions, get_impermanent_loss, get_swap_history, get_portfolio_value, get_position_status No
Инструменты были проиндексированы:
analyze_trade

Comprehensive trade analysis: price impact + slippage + execution recommendation. Use before large swaps.

Параметры
  • amountstringобязательный

    Human-readable input amount

  • slippage_tolerance_bpsnumber

    Slippage tolerance in bps (default 300 = 3%)

  • token_instringобязательный

    Input token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

  • token_outstringобязательный

    Output token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

build_add_liquidity

Build an unsigned add-liquidity transaction for a token pair

Параметры
  • amount_astringобязательный

    Human-readable amount of first token

  • amount_bstringобязательный

    Human-readable amount of second token

  • deadline_minutesnumber

    Deadline in minutes (default 20)

  • sender_public_keystringобязательный

    Sender hex public key

  • slippage_bpsnumber

    Slippage in basis points (default 300)

  • token_astringобязательный

    First token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or hash. Use get_tokens for full list.

  • token_a_balancestring

    Raw token A balance for one-time approval

  • token_bstringобязательный

    Second token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or hash. Use get_tokens for full list.

  • token_b_balancestring

    Raw token B balance for one-time approval

build_approve_token

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

Параметры
  • amountstringобязательный

    Raw amount to approve (in smallest unit / motes)

  • sender_public_keystringобязательный

    Sender hex public key

  • spenderstring

    Spender contract package hash (defaults to CSPR.trade router)

  • tokenstringобязательный

    Token contract package hash to approve

build_remove_liquidity

Build an unsigned remove-liquidity transaction

Параметры
  • deadline_minutesnumber

    Deadline in minutes (default 20)

  • pairstringобязательный

    Pair contract package hash

  • percentagenumberобязательный

    Percentage of liquidity to remove (1-100)

  • sender_public_keystringобязательный

    Sender hex public key

  • slippage_bpsnumber

    Slippage in basis points (default 300)

build_swap

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

Параметры
  • amountstringобязательный

    Human-readable amount (e.g., "100")

  • deadline_minutesnumber

    Transaction deadline in minutes (default 20)

  • sender_public_keystringобязательный

    Sender hex public key (e.g., "01abc...")

  • slippage_bpsnumber

    Slippage tolerance in basis points (default 300 = 3%)

  • token_instringобязательный

    Input token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or contract hash. Use get_tokens for full list.

  • token_in_balancestring

    Raw input token balance for one-time approval (e.g., from wallet). If omitted, approves exact swap amount only.

  • token_outstringобязательный

    Output token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or contract hash. Use get_tokens for full list.

  • typeenumобязательный

    "exact_in" or "exact_out"

estimate_price_impact

Estimate the price impact of a swap before executing. Returns severity classification and execution vs. spot price.

Параметры
  • amountstringобязательный

    Human-readable input amount (e.g., "1000")

  • token_instringобязательный

    Input token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

  • token_outstringобязательный

    Output token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

estimate_slippage

Estimate the expected slippage and minimum output for a swap. Helps set optimal slippage tolerance.

Параметры
  • amountstringобязательный

    Human-readable input amount (e.g., "1000")

  • slippage_tolerance_bpsnumber

    Your slippage tolerance in bps (default 300 = 3%)

  • token_instringобязательный

    Input token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

  • token_outstringобязательный

    Output token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

get_currencies

List supported fiat currencies for price display

Параметры

Без параметров.

get_impermanent_loss

Calculate impermanent loss for a liquidity position

Параметры
  • account_public_keystringобязательный

    Account public key (hex)

  • pairstringобязательный

    Pair contract package hash

get_liquidity_positions

Get liquidity positions for an account

Параметры
  • account_public_keystringобязательный

    Account public key (hex)

  • currencystring

    Fiat currency code

get_native_cspr_balance

Get the native CSPR balance for a Casper account. Queries the Casper node RPC directly using the account public key. Returns balance in both motes (raw) and CSPR (human-readable). Note: does not include CEP-18 token balances — use get_token_balance for those.

Параметры
  • account_public_keystringобязательный

    Account public key (hex, with algorithm prefix e.g. "01abc..." for Ed25519 or "02abc..." for secp256k1)

get_pair_details

Get detailed information about a specific trading pair

Параметры
  • currencystring

    Fiat currency code

  • pairstringобязательный

    Pair contract package hash (e.g., "hash-abc123...")

get_pair_price_history

Get OHLCV (open/high/low/close/volume) candlestick price history for a specific trading pair. Aggregates swap events into candles. Returns candles in chronological order.

Параметры
  • intervalenum

    Candle interval (default "1h")

  • limitnumber

    Number of candles to return (default 24, max 200)

  • pairstringобязательный

    Pair contract package hash (e.g., "hash-abc123..." or without hash- prefix)

get_pairs

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

Параметры
  • currencystring

    Fiat currency code for pricing

  • order_byenum
  • order_directionenum
  • pagenumber

    Page number (default 1)

  • page_sizenumber

    Items per page (default 10, max 250)

get_portfolio_value

Get total portfolio value across all liquidity positions for an account. Returns estimated CSPR and USD values.

Параметры
  • account_public_keystringобязательный

    Account public key (hex)

  • currencystring

    Fiat currency code (e.g. USD)

get_position_status

Get current position status for liquidity positions. Returns impermanent loss and current token amounts per position. Note: this is not cost-basis PnL — no historical entry price is used.

Параметры
  • account_public_keystringобязательный

    Account public key (hex)

  • pair_contract_package_hashstring

    Filter by specific pair contract package hash

get_quote

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

Параметры
  • amountstringобязательный

    Human-readable amount (e.g., "100" for 100 CSPR)

  • token_instringобязательный

    Input token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or contract hash. Use get_tokens for full list.

  • token_outstringобязательный

    Output token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or contract hash. Use get_tokens for full list.

  • typeenumобязательный

    "exact_in" = specify input amount, "exact_out" = specify desired output amount

get_swap_history

Get swap transaction history

Параметры
  • pagenumber
  • page_sizenumber
  • pairstring

    Filter by pair contract package hash

  • public_keystring

    Filter by sender public key (hex)

get_token_balance

Get CEP-18 fungible token balances for a Casper account. Returns all CEP-18 tokens held, or filters to a specific token if token matches a symbol, name, or contract package hash. Native CSPR balance is not included (this endpoint covers CEP-18 tokens only).

Параметры
  • account_public_keystringобязательный

    Account public key (hex)

  • tokenstring

    Filter by token symbol, name, or contract package hash

get_token_price_history

Get OHLCV candlestick price history for a token by symbol, name, or hash. Resolves to the primary trading pair (highest liquidity) and returns price denominated in the paired token.

Параметры
  • intervalenum

    Candle interval (default "1h")

  • limitnumber

    Number of candles to return (default 24, max 200)

  • tokenstringобязательный

    Token symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1)), name, or contract package hash. Use get_tokens for full list.

get_tokens

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

Параметры
  • currencystring

    Fiat currency code (e.g., "USD", "EUR"). Omit for no fiat prices.

optimal_liquidity_amounts

Given one token amount, calculate the optimal paired amount for adding liquidity to maintain the pool ratio.

Параметры
  • amount_astringобязательный

    Human-readable amount of token A to deposit

  • token_astringобязательный

    First token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

  • token_bstringобязательный

    Second token: symbol (e.g., "CSPR" (native), "WCSPR" (hash-8df5d2…05b6), "sCSPR" (hash-a4f6d5…60f1))

submit_transaction

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

Параметры
  • signed_deploy_jsonstringобязательный

    The signed deploy JSON string. File paths are disabled by default and only allowed when CSPR_TRADE_ENABLE_FILE_DEPLOY_INPUT=true.

Похожие MCP-сервера

araa47/jupiter-mcp

araa47/jupiter-mcp

Сервер MCP для Jupiter API - агрегатора DEX на Solana. Поддерживает мгновенные свопы через Ultra API и лимитные ордера через Trigger API. Интегрируется с AI-ассистентами для автоматизации DeFi-опер...

Python1
Haiku-Trading/haiku-mcp-server

Haiku-Trading/haiku-mcp-server

MCP-сервер для AI-агентов, выполняющий блокчейн-транзакции через Haiku API: токены, балансы, свопы, поиск доходности и анализ портфеля в 21 сети. Полезен разработчикам DeFi-ботов и автономных агентов.

TypeScript2
coinpaprika/dexpaprika-mcp

coinpaprika/dexpaprika-mcp

официальный

DexPaprika MCP сервер даёт AI-ассистентам живой доступ к криптовалютным и DEX данным на 33 блокчейнах. Без API-ключа — 14 инструментов для анализа токенов, пулов ликвидности и децентрализованных би...

JavaScript42
hive-intel/hive-crypto-mcp

hive-intel/hive-crypto-mcp

Hive Intelligence — managed MCP-сервер для AI-агентов. Предоставляет 369 инструментов по крипто-данным: цены, DeFi, кошельки, безопасность и DEX через один API-ключ. Агрегирует 9 провайдеров (Alche...

TypeScript18
debridge-finance/debridge-mcp

debridge-finance/debridge-mcp

официальный

MCP сервер deBridge для ИИ-агентов: выполняет кросс-чейн и внутрисетевые свопы, оценивает комиссии и торгует на основных блокчейнах. Упрощает взаимодействие агентов с DeFi, ускоряя развертывание торговых сценариев.

TypeScript32
TradeRouter/trade-router-mcp

TradeRouter/trade-router-mcp

MCP-сервер для некастодиальной торговли на Solana: свопы, лимитные, трейлинговые, DCA, TWAP и комбо-ордера через TradeRouter.ai. Позволяет AI-агентам безопасно подписывать транзакции локально, без ...

JavaScript3
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин