WW

wealthy/wealthy-mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

28 stars 12 forks 质量 60 趋势 0MIT

富尔西-MCP

概览

本仓库包含官方的Wealthy mcp服务器,帮助用户了解交易平台功能 - 富裕交易账户 - https://www.wealthy.in/broking - MCP客户 - Claude或Cursor 你可以从源码安装,也可以下载预构建的工件: - 使用 golang(go 1.23 或更高版本)安装: - 访问我们的发布页面,下载您平台最新的预构建二进制文件 - 解压下载的归档,并将执行文件放入系统中的目录 PATH - 在 Mac 上执行以下命令以赋予权限: 要配置MCP(多光标协议)服务器,请根据客户端创建/更新相应的配置文件: 在你的家庭目录中创建/更新 .cursor/mcp.json: 创建/更新claude_desktop_config.json:

概述(AI 翻译)

本仓库包含官方的Wealthy mcp服务器,帮助用户了解交易平台功能

先修条件

开始

你可以从源码安装,也可以下载预构建的工件:

选项1:从源头安装

  • 使用 golang(go 1.23 或更高版本)安装:

选项2:下载预建神器

  • 访问我们的发布页面,下载适合您平台的最新预建二进制文件
  • 解压下载的归档,并将可执行文件放置在系统 PATH 中的目录中
  • 在 Mac 上运行以下命令以赋予权限:

MCP 配置

要配置MCP(多光标协议)服务器,请根据客户端创建/更新相应的配置文件:

对于光标

在你的家庭目录中创建/更新 .cursor/mcp.json :

为了克劳德

创建/更新 claude_desktop_config.json:

要使用自定义端口,请添加args参数:

  • 重启你的MCP客户端(Claude/光标)
  • Wealthy 登录页面将打开 - 输入您的凭证
  • 成功登录后,返回您的MCP客户端
  • 你现在准备好开始智能交易了!🎉

用途

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Wealthy MCP(Model Context Protocol) Server

This repository contains official Wealthy mcp server to help users with trading platform features

Prerequisites

Getting Started

You can either install from source or download pre-built artifacts:

Option 1: Install from Source

  • Install using golang(go 1.23 or later):
    go install github.com/wealthy/wealthy-mcp/cmd/wealthy-mcp@latest
    

Option 2: Download Pre-built Artifacts

  • Visit our releases page to download the latest pre-built binary for your platform
  • Extract the downloaded archive and place the executable in a directory that’s in your system PATH
  • Run below commands to give permissions on mac:
chmod +x wealthy-mcp-macos-arm64-
xattr -d com.apple.quarantine wealthy-mcp-macos-arm64-

MCP Configuration

To configure MCP (Multi-Cursor Protocol) servers, create/update the appropriate configuration file based on your client:

For Cursor

Create/update .cursor/mcp.json in your home directory:

{
    "mcpServers": {
      "wealthy-mcp": {
        "command": ""
      }
    }
}

For Claude

Create/update claude_desktop_config.json:

{
    "mcpServers": {
      "wealthy-mcp": {
        "command": ""
      }
    }
}

To use a custom port, add the args parameter:

{
    "mcpServers": {
      "wealthy-mcp": {
        "command": "",
        "args": ["addr=localhost:8006"]
      }
    }
}
  • Restart your MCP client (Claude/Cursor)
  • Wealthy login page will open - enter your credentials
  • After successful login, return to your MCP client
  • You’re now ready to start smart trading! 🎉

Usage

Here are the available query types and their purposes:

Query Type Purpose
get_user_margin Retrieves user margin information
get_price Retrieves the current market price for a specified trading symbol
get_holdings Shows your current portfolio holdings and their details
get_positions Displays your open trading positions
get_order_book Lists all your orders (open, executed, and cancelled)
get_trade_ideas Provides trading suggestions and market insights
get_security_info Fetches detailed information about a specific security/stock
place_order Places a new buy/sell order with specified parameters
create_watchlist Creates a new watchlist of securities
get_watchlist Retrieves existing watchlists
update_watchlist Updates an existing watchlist with new securities
search Searches and finds security symbols
research Accesses trading ideas and research information
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "wealthy-mcp": { "command": "<path to downloaded/installed binary>" } } }