Skip to content
Public MCP · secure account handoff

Connect AI agents
to Hyperliquid
with MCP.

Connect once. Act after verification. Add Antei's shared MCP to Codex, Claude Code or another HTTP MCP client. Public onboarding works immediately. The first account action opens Antei's browser verification, then the internal MCP completes the original request with only the access you approved.

Shared onboarding endpointPublic
https://antei.ai/mcp/onboard
Transport
Streamable HTTP
Authentication
OAuth for account actions
Public account access
None
Handoff
Automatic on a protected call

The public handler is safe to share. It cannot see accounts, upload code, deploy strategies or place orders. Verified actions run only on the internal server.

01 · Quickstart

Connect your AI client

Add the same public endpoint in any supported client. Do not paste an Antei password, approval code, token or account-specific URL into chat.

Codexcodex mcp add antei --url 'https://antei.ai/mcp/onboard'
Claude Codeclaude mcp add --transport http --scope user antei 'https://antei.ai/mcp/onboard'
HTTP MCP URLhttps://antei.ai/mcp/onboard
Then ask your agent

“Connect my Antei account, then show my strategies.”

02 · Journey

From first connection to a live strategy

Your agent tells you what just finished and what comes next. Each step that touches your account waits for you in the browser.

1

Connect the public MCP

Add the address above to your AI client and ask for what you want. Your agent can call connect_orbit_account, whoami, an upload tool, or another action directly. It does not have to stop at setup instructions.

2

Create or sign in to your account

The public gateway blocks the protected call and asks your MCP client to open Antei's OAuth flow. Create an Antei account or sign in, in your browser.

3

Approve the AI client

Review the client and permissions in MCP & Connection. The short-lived code appears only in the signed-in Antei popup. After approval, the client retries the same call: the internal MCP verifies the token, client, account, resource, expiry and scopes before running anything.

4

Connect Hyperliquid

On Antei's Connect page, choose Connect with your wallet: Antei creates an API wallet that can trade but cannot withdraw, and you approve it with one signature. Or add an API wallet you created on Hyperliquid. Your AI client never sees a key.

5

Add a strategy

Upload Pine or Python, or ask your agent to write a strategy. Backtesting remains optional.

6

Go live

Choose paper or live deployment explicitly. Before real orders, you confirm the capital, risk limits and default leverage.

03 · Connection model

One endpoint. Two security stages.

Public onboarding

Same URL for everyone

Explains setup and advertises the available actions. It carries no identity and cannot touch trading data.

  • Safe to publish and share
  • Only onboarding executes without OAuth
  • No uploads, accounts or orders
Authenticated internal MCP

Bound to one approved client and account

Receives the retried call only after browser verification. Every request is checked again and limited to the scopes you granted.

  • Same shared address; private OAuth grant
  • Account, resource and scope bound
  • Required for strategies and execution

04 · Verified capabilities

What becomes available after onboarding

These actions run only on the internal MCP after the public gateway completes the OAuth handoff. The public handler never executes them.

01

Pine

Import, inspect and edit Pine strategies.

02

Python

Upload source, build immutable versions and inspect logs.

03

Research

Run backtests when useful. Backtesting is optional.

04

Execution

Preview and choose paper or live deployment explicitly.

05

Operations

Monitor, pause, resume and stop your deployments.

05 · Security

You control account access

The shared address contains no account secret. Your signed-in account popup displays a short-lived code and completes the client callback when you approve.

  • Approve the code inside the signed-in dashboard popup; never give it to an AI model.
  • A token for one endpoint, client or account cannot be used as another user.
  • Keep codes and tokens out of screenshots, logs and support messages.
  • Use the narrowest access profile and revoke connections you no longer use.
Open MCP & Connection →

Ready when your agent is.

Start publicly.
Continue only after verification.