KO

kerryjiang/openetrademcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5 stars 4 forks 품질 78 트렌드 27Apache-2.0

An MCP (Model Context Protocol) server that exposes ETRADE API operations as tools for AI agents. This allows AI assistants like Claude and GitHub Copilot to interact with ETRADE's trading platform.

개요

An MCP (Model Context Protocol) server that exposes E*TRADE API operations as tools for AI agents. This allows AI assistants like Claude and GitHub Copilot to interact with E*TRADE's trading platform. - : Interactive OAuth flow designed to work seamlessly with AI agents - : Auto-generated tools from E*TRADE's OpenAPI specification - : Optional MCP elicitation-based confirmation for order placement, cancellation, and modification — prevents unintended trades by requiring explicit user approval via a native client dialog that the LLM cannot bypass - : Test safely with E*TRADE's sandbox environment - : Install as a .NET global tool for easy access - .NET 8.0/9.0/10.0 SDK - E*TRADE Developer Account with API access - Consumer Key and Consumer Secret from E*TRADE Developer Portal : ~/Library/Application Support/Claude/claude_desktop_config.json : %APPDATA%\Claude\claude_desktop_config.

README

원문 README의 일부입니다. 원문 보기.

OpenEtradeMcp

An MCP (Model Context Protocol) server that exposes ETRADE API operations as tools for AI agents. This allows AI assistants like Claude and GitHub Copilot to interact with ETRADE’s trading platform.

NuGet Packages

Package Version Downloads
OpenEtradeMcp
OpenEtradeMcp.Server

Features

  • OAuth 1.0a Authentication: Interactive OAuth flow designed to work seamlessly with AI agents
  • E*TRADE API Tools: Auto-generated tools from E*TRADE’s OpenAPI specification
  • Order Confirmation Safety Gate: Optional MCP elicitation-based confirmation for order placement, cancellation, and modification — prevents unintended trades by requiring explicit user approval via a native client dialog that the LLM cannot bypass
  • Sandbox Support: Test safely with E*TRADE’s sandbox environment
  • Global Tool: Install as a .NET global tool for easy access

Prerequisites

Installation

As a .NET Global Tool

dotnet tool install --global OpenEtradeMcp.Server

From Source

git clone https://github.com/kerryjiang/OpenEtradeMcp.git
cd OpenEtradeMcp
dotnet build

Configuration

Environment Variables

export ETRADE_ConsumerKey="your-consumer-key"
export ETRADE_ConsumerSecret="your-consumer-secret"
export ETRADE_UseSandbox="true"  # Optional: use sandbox environment

Command Line Arguments

etrade-mcp --ConsumerKey=your-key --ConsumerSecret=your-secret --UseSandbox=true

Running the Server

Using the Global Tool

etrade-mcp

From Source

cd src/OpenEtradeMcp.Server
dotnet run

MCP Client Configuration

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "etrade": {
      "command": "/Users/{YourUserName}/.dotnet/tools/etrade-mcp",
      "env": {
        "ETRADE_ConsumerKey": "your-consumer-key",
GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "etrade": { "command": "/Users/{YourUserName}/.dotnet/tools/etrade-mcp", "env": { "ETRADE_ConsumerKey": "your-consumer-key", "ETRADE_ConsumerSecret": "your-consumer-secret", "ETRADE_UseSandbox": "true" } } } }