Logo Trade It

Trade It

Tổ chức
trade-it-inc

Guide to connect to Trade It's MCP server and trade stocks, crypto, and options

Nhà phát hànhtrade-it-inc
Kho mãtrade-it-mcp
Bản fork
15
Sao
59
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Danh mục
Giấy phépCC0-1.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Trade It cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    59 sao và 15 bản fork từ kho mã được liên kết.

Trade It MCP Server

👉 Full Documentation Here 👈

Now available through the Official MCP Registry

Table of contents

Overview

The Trade It MCP Server brings stock, crypto, and options trading support to agents. It enables natural-language interaction with stock and crypto brokerages—execute trades, query portfolio performance, and surface market insights by sending plain-English requests through the MCP protocol.

Endpoints:

  • Streamable HTTP: https://mcp.tradeit.app/mcp
  • SSE: https://mcp.tradeit.app/sse

Brokerage Support:

Crypto Exchange Support:

More to be added soon!

This server is remote so you don't need to run anything locally to connect. Just point your MCP-compatible agent platform to the URL above.


Getting Started

  1. First, create an account at https://tradeit.app.
  2. Sign up for the Pro plan's free trial.
  3. Connect your brokerage of choice.

Connecting

  1. Connect your MCP client to https://mcp.tradeit.app/mcp or https://mcp.tradeit.app/sse.
  2. Authenticate through the browser-based OAuth flow.
  3. You're now ready to start trading!

Tools

MCP tools connect your agent to linked brokerages: search symbols, list accounts, create draft orders, then execute only after confirmation.

MCP toolWhat it does
search_assetsLook up a stock or crypto by ticker or name; returns price and metadata.
get_accountsList linked accounts and balances; also used when linking a new brokerage.
create_tradeCreate a draft equity/crypto buy or sell for review.
create_options_tradeCreate a draft single- or multi-leg options order for review.
execute_tradeSubmit a previously created draft to the broker after explicit user confirmation.

Safety model (draft-first)

Trades start as draft orders and are not sent to the broker until the user clearly confirms.

Intended flow:

  1. Call create_trade or create_options_trade → you get a draft with a trade_id.
  2. Show the user the full order details and how to proceed.
  3. Call execute_trade only when the user explicitly asks to execute, confirm, or place the trade.
  4. Do not call execute_trade automatically or immediately after creating a draft.

After creating a draft, make sure the user knows they can place the order when ready (e.g. via your client’s Execute control, if available).

Optional steps before creating a draft:

  • search_assets — confirm ticker and context.
  • get_accounts — pick the right account_id when the user cares which account to use.

Execution flow:

User requests trade
       ↓
[Optional] search_assets — confirm ticker, get current price
       ↓
[Optional] get_accounts — identify correct account_id
       ↓
create_trade / create_options_trade → draft with trade_id, status: "draft"
       ↓
Show draft details; user confirms
       ↓
execute_trade(trade_id)
       ↓
Status: "placed" or "failed" (with details)

Account / order defaults: If the user omits amount, account, or order type, Trade It applies their default amount, default account, and market orders where applicable. If auto-execute is enabled in Trade It settings, behavior may skip the manual execute step in some setups; when in doubt, still treat execution as user-confirmed.


search_assets

Look up a stock or crypto by ticker or name.

  • Parameter: query (string) — e.g. "TSLA", "Tesla", "bitcoin".
  • Returns: Price, ticker, exchange, asset type, and related metadata.

Example:

json
{ "query": "TSLA" }

Natural-language examples: "How's Apple doing?" · "What's the price of TSLA?"


get_accounts

List all linked brokerage accounts (and use this flow when the user wants to connect a new brokerage).

  • Parameters: none.
  • Returns: Accounts with id, name, brokerage, balance, available_cash. Use account.id as account_id in trade calls when a specific account is required.

Natural-language example: "Show my accounts."


create_trade

Create a draft equity or crypto order.

Parameters:

FieldTypeRequiredDescription
symbolstringYesTicker, e.g. "TSLA".
amountnumberYesSize to trade.
unit"dollars" or "shares"YesUnit for amount.
buy_or_sell"buy" or "sell"YesDirection.
order_type"market", "limit", "stop", "stop_limit"NoDefaults to "market".
limit_pricenumberIf limit / stop_limitMax or min price per share as applicable.
stop_pricenumberIf stop / stop_limitStop trigger price.
time_in_force"day", "gtc", "ioc", "fok"NoOmit for brokerage default.
account_idnumberNoOmit for default account.

Order types:

TypeUse whenPrice fields
marketFill at current marketNone
limitOnly at limit_price or betterlimit_price
stopMarket order triggers at stop_pricestop_price
stop_limitLimit order triggers at stop_pricestop_price and limit_price

JSON examples:

Buy $500 of Apple at market:

json
{ "symbol": "AAPL", "amount": 500, "unit": "dollars", "buy_or_sell": "buy" }

Buy 10 shares of NVDA only if it drops to $800 or below:

json
{ "symbol": "NVDA", "amount": 10, "unit": "shares", "buy_or_sell": "buy", "order_type": "limit", "limit_price": 800 }

Sell 5 shares of Meta if the price falls to $450 (stop):

json
{ "symbol": "META", "amount": 5, "unit": "shares", "buy_or_sell": "sell", "order_type": "stop", "stop_price": 450 }

Buy 10 AAPL if it breaks above $200, paying at most $202/share:

json
{ "symbol": "AAPL", "amount": 10, "unit": "shares", "buy_or_sell": "buy", "order_type": "stop_limit", "stop_price": 200, "limit_price": 202 }

Buy $1,000 of Bitcoin:

json
{ "symbol": "BTC", "amount": 1000, "unit": "dollars", "buy_or_sell": "buy" }

Sell 100 shares of Tesla, good till canceled:

json
{ "symbol": "TSLA", "amount": 100, "unit": "shares", "buy_or_sell": "sell", "time_in_force": "gtc" }

Natural-language examples: "Buy $1000 of Tesla" · "Buy $1000 of Tesla only if the price drops to $150 or lower" · "Sell 10 shares of Apple if the price falls to $140" · "Buy a share of Apple if it hits $200" · "Buy 10 shares of Apple if it rises to $140, but don't pay more than $142"


create_options_trade

Create a draft single-leg or multi-leg options order (spreads, straddles, etc.).

Parameters:

FieldTypeRequiredDescription
symbolstringYesUnderlying ticker, e.g. "SPY".
legsarrayYesOne or more legs (see below).
direction"debit" or "credit"Multi-leg"debit" = you pay; "credit" = you collect.
order_type"market", "limit", etc.NoDefaults to "market".
limit_pricenumberFor limitNet debit/credit limit for the package.
time_in_force"day" or "gtc"NoOmit for default.
account_idnumberNoOmit for default account.

Each leg:

FieldTypeRequiredDescription
type"option" or "equity"YesLeg type.
action"buy" or "sell"YesSide of the leg.
position_effect"open" or "close"OptionsOpen a new position or close an existing one.
occstring or nullOptionsOCC string (below); null for equity legs.
quantitynumberYesContracts (options) or shares (equity).

OCC option symbol format

OCC strings follow: YYMMDD + C or P + 8-digit strike (strike × 1000, zero-padded).

DescriptionOCC
Jun 20, 2025 $250 call250620C00250000
Jun 20, 2025 $260 call250620C00260000
Mar 21, 2025 $500 put250321P00500000
Dec 19, 2025 $1,500 call251219C01500000
Jan 16, 2026 $50 put260116P00050000

Strike encoding: multiply dollars by 1,000 and pad to 8 digits (e.g. $250 → 00250000; $50.50 → 00050500).

Options JSON examples

Single call — buy 1 SPY $520 call exp Jun 20, 2025:

json
{
  "symbol": "SPY",
  "legs": [
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620C00520000", "quantity": 1 }
  ]
}

Bull call spread (debit) — buy $250 call, sell $260 call, same expiry:

json
{
  "symbol": "TSLA",
  "direction": "debit",
  "legs": [
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620C00250000", "quantity": 1 },
    { "type": "option", "action": "sell", "position_effect": "open", "occ": "250620C00260000", "quantity": 1 }
  ]
}

Bear put spread (debit):

json
{
  "symbol": "SPY",
  "direction": "debit",
  "legs": [
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620P00520000", "quantity": 1 },
    { "type": "option", "action": "sell", "position_effect": "open", "occ": "250620P00510000", "quantity": 1 }
  ]
}

Bull put spread (credit):

json
{
  "symbol": "SPY",
  "direction": "credit",
  "legs": [
    { "type": "option", "action": "sell", "position_effect": "open", "occ": "250620P00510000", "quantity": 1 },
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620P00500000", "quantity": 1 }
  ]
}

Spread with limit — net debit $3.50 or better:

json
{
  "symbol": "TSLA",
  "direction": "debit",
  "order_type": "limit",
  "limit_price": 3.50,
  "legs": [
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620C00250000", "quantity": 1 },
    { "type": "option", "action": "sell", "position_effect": "open", "occ": "250620C00260000", "quantity": 1 }
  ]
}

Close a long call — sell to close 2 AAPL $200 calls exp Mar 21, 2025:

json
{
  "symbol": "AAPL",
  "legs": [
    { "type": "option", "action": "sell", "position_effect": "close", "occ": "250321C00200000", "quantity": 2 }
  ]
}

Straddle — long $250 call and $250 put, same expiry:

json
{
  "symbol": "TSLA",
  "direction": "debit",
  "legs": [
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620C00250000", "quantity": 1 },
    { "type": "option", "action": "buy", "position_effect": "open", "occ": "250620P00250000", "quantity": 1 }
  ]
}

Natural-language examples: "Buy 1 AAPL $300 call expiring next month" · "Covered call on MSFT at $500 strike" · "TSLA call spread: buy $475 / sell $485, next week" · "ATM straddle on SPY this Friday" · "2 AMZN puts, limit $3.50" · "Sell AMZN260130P00200000"


execute_trade

Send a draft to the brokerage after the user has reviewed it.

  • Parameter: trade_id (number) — the draft’s id from create_trade or create_options_trade.
  • Returns: Updated trade; status "placed" or "failed" (with error details).

Call only when the user clearly confirms (e.g. execute, confirm, place it, go ahead). Confirm the trade that matches what they just reviewed.

Do not call automatically right after creating a draft, without showing order details, or when status is not "draft".


Trade status reference

StatusMeaning
draftCreated; not yet sent to broker
pendingSubmitted; awaiting broker ack
placedAccepted; awaiting fill
partially_filledPartially filled
completeFully filled
canceledCanceled
failedRejected — check errors
disconnectedBrokerage connection issue

Brokerage IDs (API helpers)

BrokerageIDOptions
Robinhood1Yes
E*TRADE2Yes
Coinbase3Crypto only
Kraken5Crypto only
Charles Schwab7Yes
Webull8Yes
Public11Yes
Tastytrade12Yes

Clarification: Ask once, with everything you need, when: order type is ambiguous (e.g. “buy TSLA at $200” — limit vs stop), options are missing expiry/strike, multiple accounts apply and none is chosen, or a symbol could mean more than one asset. Skip redundant questions when defaults are clear (default amount, market order, primary account).

Disclaimers

  • Investing involves risk, including possible loss of principal.
  • Trade It is not a financial advisor and does not provide investment advice.
  • Options involve substantial risk and are not appropriate for all investors.
  • Trade It cannot withdraw funds, transfer assets, or take custody — it can only place trades through your linked brokerages.

Cài đặt

TypingMind
{
  "mcpServers": {
    "trade-it": {
      "url": "https://mcp.tradeit.app/mcp",
      "env": null
    }
  }
}

Dùng MCP Trade It với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Trade It, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này kết nối qua URL máy chủ MCP được lưu trữ từ xa trong TypingMind.

Thêm URL máy chủ MCP

Dùng cách này khi Trade It đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập https://mcp.tradeit.app/mcp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán https://mcp.tradeit.app/mcp vào trường URL máy chủ.
  2. Nhập tên kết nối cho Trade It.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Trade It hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Trade It trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Trade It trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Trade It giúp tôi làm việc này không?
Trade It
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Trade It.

Câu hỏi thường gặp

Máy chủ MCP Trade It dùng để làm gì?

Trade It là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Trade It với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Trade It với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Trade It với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Trade It, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Trade It với TypingMind?

Bạn có thể kết nối Trade It trong TypingMind bằng cách thêm URL máy chủ MCP được lưu trữ từ xa của dịch vụ này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP Trade It cung cấp những công cụ nào trong TypingMind?

Trade It cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Trade It không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Trade It yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇