Deriv API MCP Server

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Enables function calling with the Deriv API through OpenAI models, offering capabilities to fetch active trading symbols and account balances.

Deriv API 服务器

用于与 Deriv API 交互的模型上下文协议 (MCP) 服务器和 OpenAI 函数调用服务。

特征

  • 活动符号列表
  • 获取账户余额

安装

本地安装

curl -LsSf https://astral.sh/uv/install.sh | sh

Docker 安装

  1. 构建 Docker 镜像:
docker build -t deriv-api-mcp .

环境设置

在项目根目录中创建一个.env文件:

DERIV_API_TOKEN=your_api_key_here

与 Claude Desktop 一起使用

Claude Desktop 全面支持 MCP 功能。使用方法如下:

  1. 安装Claude Desktop
  2. 添加到您的 Claude Desktop 配置:
    • 在 macOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
    • 在 cline VSCode 上: /Users/raju/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    • 在 Windows 上: %APPDATA%\Claude\claude_desktop_config.json

对于本地安装

{ "mcpServers": { "deriv-api-mcp": { "command": "uv", "args": [ "--directory", "/Users/raju/Sites/deriv/mcp-deriv-api-server", "run", "server.py" ] } } }

对于 Docker 安装

{ "mcpServers": { "deriv-api-mcp": { "command": "docker", "args": [ "run", "--rm", "-i", "deriv-api-mcp" ] } } }
  1. 重启Claude桌面

该服务器提供以下工具:

  • get_active_symbols :获取活跃交易符号列表
  • get_account_balance :获取当前账户余额

与 OpenAI 函数调用一起使用

速率限制

请参阅Deriv API 文档了解当前速率限制和使用指南。

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

模型上下文协议服务器使 AI 助手能够与 Deriv 交易 API 进行交互,从而提供对活跃交易符号和账户余额信息的访问。

  1. Features
    1. Installation
      1. Local Installation
      2. Docker Installation
    2. Environment Setup
      1. Usage with Claude Desktop
        1. For Local Installation
        2. For Docker Installation
      2. Usage with OpenAI Function Calling
        1. Rate Limits
          1. License
            ID: mznc3niveo