MCP Trader E02e8bbc

MCP金融服务

提供方 forgequant

金融服务 未标注 会话登录 社区 / 第三方 Claude

MCP Gateway System是一个用于协调多个能力提供者的分布式系统,专注于加密货币市场数据的分析和报告生成。

一句话选型结论

按资料字段整理

MCP Trader E02e8bbc 属于金融服务类 MCP 服务器,传输方式未标注,会话登录,可直接接入 Claude,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类金融服务 传输方式未标注 鉴权会话登录 部署方式未标注
GitHub 星标 1 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

金融服务
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

市场数据分析Rust本地部署加密货币分布式系统gRPC实时数据

安装与配置

未标注 会话登录
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
行情与财务数据

查行情、财报、汇率等金融数据。

支付与账务查询

查订单、账单与交易流水。

风控与核验

做身份、信用与风险信息核验。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已适配 Claude,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好会话登录对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在金融服务场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
MCP Trader E02e8bbc当前 未标注 未标注 未标注 无 2026-05-17
Alpaca MCP 62 stdio · 本地进程 支持远程部署 有 2026-05-18
OpenNews MCP 11 stdio · 本地进程 支持远程部署 有 2026-05-17
MCP Server 273df76d 未标注 stdio · 本地进程 本地部署 有 2026-05-17
tradingview-mcp 未标注 stdio · 本地进程 本地部署 有 2026-04-19
goat (Goat SDK) 未标注 未标注 未标注 无 2026-05-17

服务器档案

金融服务
字段来自项目仓库与公开索引,中文说明由本站标注
提供方forgequant上游标注的维护方 forgequant
分类金融服务本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式会话登录远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

12.6 KB
来自项目仓库与上游目录的原文,未做删改

MCP Gateway System

Model Context Protocol (MCP) gateway for orchestrating multiple capability providers.

Breaking Changes

⚠️ Version 0.2.0 (2025-10-24) - System Now Read-Only

This system has been transformed from a hybrid read/write trading client into a read-only market data analysis tool. All order management functionality has been removed.

What Changed:
- ❌ All order placement, cancellation, and query methods removed
- ❌ Account information and trade history retrieval removed
- ✅ Unified market data report API introduced
- ✅ All market data analysis features preserved and enhanced

See CHANGELOG.md for complete migration guide.

Overview

This system implements a distributed MCP architecture where a Python gateway orchestrates multiple language-specific providers via gRPC. Each provider exposes tools, resources, and prompts through a unified interface.

Architecture```

AI Clients
├→ Claude Code (STDIO transport)
│ ↓
│ MCP Gateway (Python)
│ ├→ hello-go (Go provider) - Demo tools
│ ├→ hello-rs (Rust provider) - Demo tools
│ └→ binance-rs (Rust provider) - Cryptocurrency trading
│
└→ ChatGPT (SSE transport) 🆕
↓
SSE Gateway (Python)
└→ binance-rs (Rust provider) - Unified market data reports


### Production Deployment

**ChatGPT MCP Server** (SSE transport):
- **URL**: https://mcp-gateway.thevibe.trading/sse/
- **Status**: ✅ Live in production
- **Version**: 0.2.0 (Read-only market data analysis)
- **Features**: Unified market intelligence reports with advanced analytics
- **Transport**: Server-Sent Events (SSE) - required for ChatGPT integration
- **Documentation**: See ChatGPT Integration Guide

## Providers

### hello-go
- **Language**: Go
- **Port**: 50051
- **Tools**: echo.v1, sum.v1 (demo tools)
- **Status**: ✅ Implemented

### hello-rs
- **Language**: Rust
- **Port**: 50052
- **Tools**: (To be implemented)
- **Status**: 🚧 Planned

### binance-rs ⭐ **Production Ready**
- **Language**: Rust
- **Port**: 50053
- **Status**: ✅ **Fully Implemented** (Read-only market data analysis)
- **Version**: 0.2.0

**Capabilities**:
- **1 Primary Tool**: 🆕 **Unified Market Data Report**
  - `generate_market_report` - Comprehensive market intelligence combining 8+ data sections
    - Price Overview (24h statistics with trend indicators)
    - Order Book Metrics (spread, microprice, imbalance)
    - Liquidity Analysis (walls, volume profile, vacuums)
    - Market Anomalies (detection with severity badges)
    - Microstructure Health (health scores and component status)
    - Data Health Status (WebSocket connectivity, freshness)
    - Performance: 60s caching, <500ms cold generation, <3ms cached

- **11 Individual Analytics Tools** (legacy, superseded by unified report):
  - `get_ticker` - 24h price statistics
  - `orderbook_l1` / `orderbook_l2` - Order book snapshots
  - `get_recent_trades` - Trade history
  - `get_order_flow` - Bid/ask pressure tracking
  - `get_volume_profile` - Volume distribution (POC/VAH/VAL)
  - `detect_market_anomalies` - Unusual pattern detection
  - `get_microstructure_health` - Market health scoring
  - `get_liquidity_vacuums` - Low-volume price zone detection
  - `orderbook_health` - Real-time order book health metrics

- **1 Resource**: Markdown-formatted data snapshot
  - `binance://market/{SYMBOL}` - Real-time market summary

- **1 Prompt**: AI-ready analysis template
  - `trading-analysis` - Market analysis with live context

**Features**:
- ✅ Live WebSocket order book streaming (sub-200ms latency)
- ✅ Real-time market data from Binance API
- ✅ Lazy initialization & connection pooling
- ✅ Progressive disclosure (L1 → L2 depth on demand)
- ✅ Support for 20 concurrent symbol subscriptions
- ✅ Testnet & Production modes

See providers/binance-rs/README.md for complete documentation.

## Quick Start

### Using with Claude Code 🤖

The MCP gateway integrates seamlessly with Claude Code. Once configured, you can ask natural language questions:```
You: "Generate a comprehensive market report for Bitcoin"
Claude: [Uses binance.generate_market_report tool]
Response:
# Market Data Report - BTCUSDT
Generated: 2025-10-24 12:00:00 UTC 🟢

## Price Overview
- Current Price: $106,841.00 📈
- 24h Change: +0.43% (+$459.00)
- 24h High/Low: $107,200.00 / $105,800.00
- Volume: 1,234.56 BTC ($131.8M)

## Order Book Metrics
- Spread: 0.01% (1.0 bps)
- Microprice: $106,840.50
- Imbalance: 58% bid-heavy 📊

## Liquidity Analysis
- Buy Wall: $106,500 💪 Strong (125.5 BTC)
- Volume Profile POC: $106,750
[... 5 more sections ...]

You: "Show me ETHUSDT with just price and liquidity sections"
Claude: [Uses generate_market_report with custom options]
Response: [Markdown report with only requested sections]

You: "Analyze trading opportunities for Bitcoin"
Claude: [Uses trading-analysis prompt with live market data]
Response: [Detailed analysis combining report data with AI insights]

Setup for Claude Code:```bash

Configure MCP server (already done in .claude/settings.json)

claude mcp add --transport stdio mcp-gateway -- \
bash -c "cd mcp-gateway && uv run python -m mcp_gateway.main"

Start your session

claude # MCP gateway starts automatically


### Using with ChatGPT 🤖 🆕

The MCP gateway is now available for ChatGPT via SSE transport. The unified market data report provides comprehensive market intelligence!

**Setup for ChatGPT**:
1. Enable **Developer Mode** in ChatGPT (Plus/Pro required)
2. Go to **Settings** → **MCP Servers** → **Add Server**
3. Configure the SSE endpoint:
   - **Server URL**: `https://mcp-gateway.thevibe.trading/sse/`
   - **Transport**: SSE (Server-Sent Events)

**Example Usage**:```
You: "Generate a full market report for BTCUSDT"
ChatGPT: [Uses binance_generate_market_report tool]
Response: [Complete markdown report with 8 sections: price, orderbook,
          liquidity, anomalies, health, etc. - cached for 60s]

You: "Show me just the price and liquidity analysis for ETHUSDT"
ChatGPT: [Uses binance_generate_market_report with options]
Request: {"symbol": "ETHUSDT", "options": {"include_sections": ["price_overview", "liquidity_analysis"]}}
Response: [Customized report with only requested sections]

You: "What's the order book health for BTCUSDT?"
ChatGPT: [Uses binance_orderbook_health tool - legacy individual tool]
Response: [Quick health metrics snapshot]

See CHATGPT_INTEGRATION.md for detailed setup guide.

Manual Setup

Prerequisites

  • Python 3.11+ with uv
  • Go 1.21+ (for hello-go provider)
  • Rust 1.75+ (for binance-rs provider)
  • Protocol Buffers compiler (protoc)

Build All Providers```bash

Generate protobuf stubs

make proto-gen

Build Go provider

cd providers/hello-go && go build -o bin/hello-go cmd/server/main.go

Build Rust providers

make build-binance


### Run the System

**Terminal 1 - Start providers**:```bash
# hello-go
make run-hello-go

# binance-rs (in another terminal)
make run-binance

Terminal 2 - Start gateway:```bash
make run-gateway


### Configuration

Configure providers in `mcp-gateway/providers.yaml`:```yaml
providers:
  - name: hello-go
    type: grpc
    address: localhost:50051
    enabled: true

  - name: binance-rs
    type: grpc
    address: localhost:50053
    enabled: true
    metadata:
      description: "Binance cryptocurrency trading provider"
      features: ["orderbook"]

For binance-rs, also set environment variables:```bash
export BINANCE_API_KEY="your_api_key"
export BINANCE_API_SECRET="your_api_secret"
export BINANCE_BASE_URL="https://testnet.binance.vision"


## API Reference

### Unified Market Data Report

**Tool**: `generate_market_report`

Generates comprehensive market intelligence reports combining 8+ data sections with smart caching and customization options.

**Parameters**:```python
{
  "symbol": str,              # Required: Trading pair (e.g., "BTCUSDT", "ETHUSDT")
  "venue": str,               # Optional: Exchange venue (default: "binance")
  "options": {                # Optional: Report customization
    "include_sections": list[str],  # Sections to include (default: all)
    "volume_window_hours": int,     # Volume analysis window (default: 24)
    "orderbook_levels": int         # Order book depth (default: 20)
  }
}

Available Sections:
- "price_overview" - 24h price statistics with trend indicators
- "orderbook_metrics" - Spread, microprice, bid-ask imbalance
- "liquidity_analysis" - Liquidity walls, volume profile, vacuums
- "market_microstructure" - Order flow analysis (placeholder)
- "market_anomalies" - Anomaly detection with severity badges
- "microstructure_health" - Health scores and component status
- "data_health" - WebSocket connectivity and data freshness

Response:```python
{
"markdown_content": str, # Complete formatted report
"symbol": str, # Trading pair
"generated_at": int, # Unix timestamp (milliseconds)
"data_age_ms": int, # Data freshness indicator
"failed_sections": list[str],# Sections that failed to generate
"generation_time_ms": int # Report generation time
}


**Examples**:

Full report (all sections):```python
await client.generate_market_report(symbol="BTCUSDT")

Custom report (specific sections):```python
await client.generate_market_report(
symbol="ETHUSDT",
options={
"include_sections": ["price_overview", "liquidity_analysis"],
"volume_window_hours": 48,
"orderbook_levels": 50
}
)


**Performance**:
- Cold generation: <500ms
- Cached retrieval: <3ms
- Cache TTL: 60 seconds
- Graceful degradation for missing data sources

**Migration from v0.1.0**:

If you were using individual tools:```python
# BEFORE (v0.1.0 - no longer works)
ticker = await client.get_ticker(symbol="BTCUSDT")
account = await client.get_account()
trades = await client.get_my_trades(symbol="BTCUSDT")

# AFTER (v0.2.0 - unified report)
report = await client.generate_market_report(symbol="BTCUSDT")
# Access report.markdown_content for formatted output

See CHANGELOG.md for complete migration guide.

Testing```bash

Run all tests

make test

Test individual provider

cd providers/binance-rs && cargo test


## Development

### Adding a New Provider

1. Create `providers/{name}/` directory
2. Implement `provider.proto` gRPC service
3. Add to `providers.yaml`
4. Update Makefile with build/run targets

### Protocol Contract

All providers implement `/pkg/proto/provider.proto`:

- `ListCapabilities` - Discover tools/resources/prompts
- `Invoke` - Execute tools
- `ReadResource` - Fetch resources
- `GetPrompt` - Generate prompts
- `Stream` - Event streaming (optional)

## Project Structure```
mcp-trader/
├── mcp-gateway/          # Python MCP gateway
│   ├── mcp_gateway/
│   │   ├── main.py      # FastMCP server (STDIO transport)
│   │   ├── sse_server.py # SSE server for ChatGPT 🆕
│   │   ├── adapters/    # gRPC clients
│   │   ├── tools/       # Search & fetch tools 🆕
│   │   └── validation.py
│   └── providers.yaml   # Provider configuration
├── providers/
│   ├── hello-go/        # Go demo provider
│   ├── hello-rs/        # Rust demo provider
│   └── binance-rs/      # Binance market data provider (read-only)
│       └── src/
│           ├── report/       # Unified report generator 🆕
│           └── orderbook/
│               └── analytics/  # Advanced analytics module
├── infra/               # Production deployment 🆕
│   ├── deploy-chatgpt.sh        # ChatGPT SSE deployment script
│   ├── binance-provider.service # Systemd service
│   ├── mcp-gateway-sse.service  # SSE gateway service
│   └── nginx-mcp-gateway.conf   # NGINX reverse proxy
├── pkg/
│   ├── proto/           # Shared protobuf contracts
│   └── schemas/         # JSON schemas
└── Makefile

Documentation

Binance Provider

  • Binance Provider Guide - Complete provider documentation
  • ChatGPT Integration Guide - SSE setup for ChatGPT
  • Integration Testing - Test results

Gateway & Deployment

  • Manual Testing Guide - Testing SSE endpoints
  • Deploy Script - Production deployment automation
  • Deployment Summary - Latest production deployment

Specifications

  • Feature 018: Unified Market Data Report 🆕
  • Specification
  • Implementation Plan
  • Task Breakdown
  • Quickstart Guide
  • Feature 002: Binance Provider Integration
  • Specification
  • Implementation Plan
  • Task Breakdown

Changelog

  • CHANGELOG.md - Version history and migration guides

License

See LICENSE file.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
MCP Trader E02e8bbc 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

MCP Trader E02e8bbc 怎么在 Claude 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

MCP Trader E02e8bbc 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

MCP Trader E02e8bbc 需要 API Key 吗?

资料标注需要会话登录认证,使用前准备好对应凭据,并按最小权限配置。

MCP Trader E02e8bbc 支持哪些客户端?

资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

MCP Trader E02e8bbc 能提供哪些能力?

资料显示能力标签包括 分布式系统、Rust、Claude、加密货币。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。