Hosted MCP · OAuth 2.1

One endpoint.Your AI trades with RockFlow.

RockFlow offers a hosted MCP (Model Context Protocol) service, so you can use RockFlow market data, options and account trading capabilities directly in Claude, Cursor, Codex and other AI clients — with no API keys to request or manage.

17 toolsMarket data, options, accounts, tradingOAuth credentials refreshed automatically
MCP endpoint (global)
https://mcp.rockflow.ai

Fastest start · Claude Code

claude mcp add --transport http rockflow https://mcp.rockflow.ai

Capabilities

One connection, 5 capability domains

RockFlow MCP currently ships 17 tools. Your client discovers all of them automatically after connecting — no manual configuration. The tools and data actually available depend on your account type (paper / live) and the scopes you grant.

Real-time market data

  • search_tickerSearch tradable symbols by keyword (company name or ticker, English or Chinese), resolving market and symbol.
  • get_latest_tickGet a symbol's latest traded price and change.
  • get_quoteGet a symbol's detailed quote and basic information.
  • get_chartGet historical prices: 1day / 1week / 1month / 1year / 5year.

Options

  • get_option_expiry_datesList option expiration dates for an underlying.
  • get_option_chainQuery the option chain by expiry and call / put, with sorting and strike-range filters.
  • get_option_quoteBatch option contract quotes, including greeks, implied volatility and open interest.
  • get_better_buysBetter Buys (Short Put) contract suggestions for an underlying, with premium, annualized yield and win rate.

Account & portfolio

  • get_positionsCurrent positions, including P&L.
  • get_assetsAccount assets: cash, total assets, market value.
  • get_ordersOrder list, with pagination, filled / open filters and order history.
  • get_orderDetails of a single order.
  • get_watchlistSymbols on your watchlist.
  • get_tradable_quantityTradable quantity for a symbol (buy / sell).

Trading

  • create_orderCreate stock or option orders, market or limit; HK stocks and options support limit orders only.
  • cancel_orderCancel an open order.

User

  • get_profileProfile details of the current account, such as nickname and avatar.

Get connected

Pick your AI client

Prerequisites: a RockFlow account (paper trading only needs a registered RockFlow ID, no brokerage onboarding) and an AI client that supports the MCP OAuth 2.1 standard. Configuration formats may change between client versions — follow the client's official documentation if anything differs.

Claude Code

Run the command in your terminal. Then open the claude terminal UI, type /mcp, select rockflow, choose Authenticate and follow the OAuth flow.

claude mcp add --transport http rockflow https://mcp.rockflow.ai

Codex

Add the server from your terminal, then complete the OAuth flow when Codex prompts you.

codex mcp add rockflow --url https://mcp.rockflow.ai

Claude web (claude.ai)

Go to Settings → Connectors, click Add in the top right → Add custom connector. Use rockflow as the name and the endpoint as the URL, click Add, then complete OAuth.

Codex Desktop

Settings (bottom right) → MCP Servers → Add Server. In "Connect to a custom MCP" set Name to rockflow, type to Streamable HTTP and URL to the endpoint, leave the rest empty and Save. Back in the list, click Authenticate on the rockflow entry.

Cursor

Settings → MCP Servers → add a Remote MCP Server and paste the endpoint above.

Grok

In the sidebar: Skills and Connectors → Connectors → New Connector → Custom. Set Name to rockflow and Server URL to the endpoint, click Add Connector and follow the RockFlow OAuth flow.

Other clients

Any client implementing the MCP OAuth 2.1 standard can usually connect via "add custom MCP server / connector" with the endpoint above. RockFlow MCP currently offers no alternative to browser-based authorization, so use a client that can open a browser; if connecting fails, update the client to its latest version first.

Claude web: Settings → Connectors → Add custom connector
Grok: New Connector → Custom, with name and endpoint

Authorization

Standard OAuth 2.1, no API key needed

RockFlow MCP uses standard OAuth 2.1, so you never hand an API key or token to the client. In most MCP clients the first tool call triggers authorization in your browser.
  1. 01

    Start the connection

    After adding the RockFlow MCP configuration, the first call triggers authorization.

  2. 02

    Browser handoff

    The client opens a browser on the RockFlow sign-in and consent page.

  3. 03

    Sign in and authorize

    Sign in with your RockFlow account, choose paper or live trading, and approve the requested scopes.

  4. 04

    Session established

    Once authorized, the client holds the credentials and the MCP tools are ready.

  5. 05

    Credential upkeep

    Credentials refresh automatically per the OAuth policy.

Once connected, choose Authenticate in the client
Follow the RockFlow OAuth flow in your browser

Paper first, live later.

Paper trading uses virtual funds and touches no real assets — the paper account is created automatically when you authorize, with nothing extra to apply for, so it is ideal for a first run. Live actions affect real account assets.

Start on paper

Authorize paper trading first and get familiar with how the tools behave before going live. Once authorized, all tools are available — there is no separate read-only scope — so begin with low-risk calls such as quotes and positions.

Confirm trades

For placing or cancelling orders, ask the AI in your prompt to confirm with you before executing, and add constraints such as "no single trade above X".

Credential safety

OAuth credentials are managed by the client — avoid copying them into untrusted environments.

Review regularly

Periodically review the AI clients you have authorized and revoke the ones you no longer use.

Help

Frequently asked questions

OAuth sign-in failed. What now?

Check that your RockFlow account is in good standing with the required verification completed, then remove the existing configuration in your client, add it again and re-authorize.

A tool returns AUTH_REQUIRED.

Authorization has not been completed or has expired. Re-run the OAuth flow in your client and try again.

Why are some tools unavailable?

The tools and data available depend on your account type (paper / live) and the scopes you granted. A client that does not fully implement the MCP OAuth 2.1 standard also cannot complete authorization.

Does the MCP service cost anything?

No — RockFlow MCP is free to use for now.

Ready to connect?

Add the endpoint to your AI client and authorize on the first call. RockFlow MCP is under active development — feedback and suggestions are welcome.

See client setup
logo

Social

Download

google playapp store

© Rockalpha Limited. All Rights Reserved.

Rockalpha Limited is registered on the New Zealand Financial Service Providers Register(FSP: 1001454). Rockalpha Limited's Financial Service Providers registration can be verified on the Financial Service Providers Register. Rockalpha Limited is a member of the Insurance & Financial Services Ombudsman Scheme, an independent dispute resolution service provider. Rockalpha Limited is not licensed by a New Zealand regulator to provide the client money or property services, and Rockalpha Limited’s registration on the New Zealand register of financial service providers or membership of the Insurance & Financial Services Ombudsman Scheme does not mean that Rockalpha Limited is subject to active regulation or oversight by a New Zealand regulator.Rockalpha Limited is registered on the New Zealand Financial Service Providers Register(FSP: 1001454). Rockalpha Limited's Financial Service Providers registration can be verified on the Financial Service Providers Register. Rockalpha Limited is a member of the Insurance & Financial Services Ombudsman Scheme, an independent dispute resolution service provider.