Cover image
Try Now
2025-03-17

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

CVEX MCP Server

A Model Context Protocol (MCP) server for interacting with the CVEX Trading API. This server allows Claude to interact with the CVEX trading platform, view market data, account information, and execute trades.

Features

  • 🔍 Market Data Access: View available contracts and real-time market data
  • 💰 Account Management: Check account balances and position information
  • 📊 Trading Capabilities: Place and manage orders directly through Claude
  • 🔐 Secure Trading: Private keys are only accessed when needed for signing requests

Installation

npm install -g @modelcontextprotocol/server-cvex

Usage with Claude Desktop

To use this server with Claude Desktop, run:

claude --mcp "npx @modelcontextprotocol/server-cvex --api-key YOUR_API_KEY --private-key-path /path/to/private_key.pem"

Replace YOUR_API_KEY with your actual CVEX API key and /path/to/private_key.pem with the path to your private key file.

Command Line Options

Option Description
--api-key <key> Your CVEX API key
--private-key-path <path> Path to your private key file (required for trading operations)
--api-url <url> CVEX API URL (default: https://api.cvex.trade)
--help Show help information
--version Show version number

Available Tools

The MCP server provides the following tools to Claude:

  1. getMarketData: Get market data for a specific contract
  2. getContractDetails: Get detailed information about a specific contract
  3. getAccountInformation: Get account information including balances
  4. estimateOrder: Estimate an order without executing it
  5. placeOrder: Place a new order on the exchange

Example Queries for Claude

Once connected, you can ask Claude to:

What contracts are available on CVEX?
Show me the current market data for BTCUSD
What's my account balance?
Estimate how much it would cost to buy 0.1 BTC at market price
Place a limit order to buy 0.01 ETH at $4000

Security Considerations

  • Your private key is only read when needed for signing trading requests
  • The private key is never stored in memory longer than necessary
  • All API requests use secure HTTPS connections
  • Always verify order details before confirming trades
  • Never share your terminal session when using the CVEX MCP server

Development

  1. Clone the repository
  2. Install dependencies with npm install
  3. Build the project with npm run build
  4. Run the server with node dist/cli.js [options]

See Also

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_0g4gn33k
    2025-04-15

    I have been using Anyquery by julien040 from MCP, and it has significantly improved my data querying process. The intuitive interface and powerful features make it easy to retrieve and analyze data efficiently. Highly recommended for anyone looking to streamline their data operations!