MCP and API
Launch your terminal with your AI agent
Hypr Markets has a public MCP server and a public API. Connect the agent you already use, describe your brand, and it builds the terminal for you. A person stays in charge: nothing goes live until you approve it.
MCP server URL
https://app.hypr.markets/api/mcpAPI base URL
https://app.hypr.markets/api/v1Streamable HTTP, JSON-RPC 2.0. No sign-in is needed to connect.
01
Connect your agent
Pick your agent and paste one command or URL. No account or key is needed for this step.
02
Describe your terminal
Tell it your brand, colors, markets and fee. It sets up a draft and shows you a preview link.
03
Approve and go live
You claim the terminal with your wallet, sign the operator agreement and approve. Only then does it go live.
Step 1
Connect your agent
Pick the agent you use. Copy the setup, then paste the prompt.
Choose your agent
Claude Code
One command in your terminal.
- Run this command.
- Start Claude Code and check that the server is listed with /mcp.
- Paste the prompt below.
claude mcp add --transport http hypr-operator https://app.hypr.markets/api/mcpThen say this
Deploy a Hyperliquid trading terminal for my brand "Acme Markets" at the address acme-markets, using the hypr-operator tools. Dark theme, teal accent, crypto and stocks only, builder fee 2 basis points. Ask me for anything you would have to guess, such as my builder wallet address and logo. Show me a preview, then give me the link to claim it.
Start to finish
What happens after you paste the prompt
The agent does the setup work. You do the parts that involve you: identity, the agreement and the final yes.
- 01Agent
Learns what can be set
It reads the options and your plan's limits before it changes anything.
describe_options
- 02Agent
Creates your terminal
The terminal is private and unclaimed. The agent gets its own key, and you get a claim link.
create_broker
- 03Agent
Builds the draft
Brand, colors, markets, fees, site pages and trading limits, one section at a time. It asks you for what it cannot know, like your builder wallet.
update_config
- 04Agent
Uploads your logo and shows a preview
You see the draft on your own terminal before anyone else does.
upload_asset, preview
- 05Agent
Checks the draft
It runs the same publish checks as the console and tells you every warning.
validate, check_builder_wallet
- 06You
Claim the terminal
Open the claim link and sign in with your wallet. You become the owner.
- 07Agent
Asks for approval
It sends you a link to a summary of what will go live: brand, builder wallet and fee.
request_publish
- 08You
Approve
Review the summary, sign the operator agreement if you have not, and approve. Your terminal goes live.
Tools
What the hypr-operator server can do
13 tools. Every one of them goes through the same API, checks and audit log as the console. The server also offers a short agent guide and the full configuration schema as resources.
describe_optionsLists everything that can be customized and what your plan allows. The agent starts here.
Read only
create_brokerCreates a new broker that is not public yet, and returns the agent key and the claim link.
Changes the draft
get_statusShows if the terminal is claimed or live, its plan, the checks and any pending approvals.
Read only
get_configReads the draft and the published settings.
Read only
update_configChanges the draft: brand, markets, fees, compliance, site, trading, growth and engagement.
Changes the draft
validateRuns the publish checks on the draft without changing anything.
Read only
upload_assetUploads your logo, favicon or social image (up to 512 KB).
Changes the draft
previewGives a short-lived link that shows the draft on your own terminal.
Read only
check_builder_walletChecks that your builder wallet can receive fees on Hyperliquid.
Read only
connect_domainAdds a custom domain and returns the DNS records you need to create (plan permitting).
Changes the draft
request_publishAsks you to approve going live. It returns a link for you; nothing is published by the agent.
Changes the draft
get_approvalShows whether your approval is pending, approved or rejected, and the result.
Read only
get_activityReads the audit log: what changed, and whether a person, the API or an agent did it.
Read only
Safety
You approve before it goes live
The agent works on a draft that nobody can see. Publishing needs a person, every time.
Your agent can
- Create a terminal that stays private until you claim it
- Set the brand, colors, markets, fees, site pages, trading limits and growth settings in the draft
- Upload your logo and show you a preview
- Run the publish checks and tell you every warning
- Ask you to approve going live, and read the result
Only you can
- Publish: only you can approve it, and the approval covers exactly the draft you saw
- Claim the terminal or sign the operator agreement for you
- Touch billing or plans, claim builder fees, or ask for your private key
- Create API keys, invite team members or delete the terminal
- Change a published terminal without a new approval from you
The approval is exact. The summary is built by the server from the saved draft. If the agent edits the draft after you approve, the approval is void and it has to ask again.
The key is narrow. The agent key can edit the draft and ask for approval. It cannot publish, touch billing or create other keys, and you can revoke it on the Developers page.
Everything is logged. The audit log shows what changed and whether it came from a person, the API or an agent. Never paste a private key into a chat.
API
The same thing over plain HTTPS
No MCP client? Use the REST API from a script or any agent that can call web APIs. The reference and the spec are public.
curl -X POST https://app.hypr.markets/api/v1/provision \
-H "content-type: application/json" \
-d '{"slug":"acme-markets","brandName":"Acme Markets"}'curl https://app.hypr.markets/api/v1/tenant \
-H "Authorization: Bearer obk_live_..."Terminal owners on a plan with API access create their own keys, with the scopes they choose, under Developers in the console. Keys can also be used for reports and webhooks.
Questions
Before you connect
Do I need an account to connect an agent?
No. Connecting needs no sign-in. The agent creates an unclaimed terminal and gets its own key. You create your account when you open the claim link and sign in with your wallet.
What is the agent key, and where does it live?
When the agent creates the terminal it receives a key that starts with obk_boot_. The key is shown once, only to the agent. It can edit the draft, upload images and ask for approval. It cannot publish, change billing or create keys. After you claim the terminal it can also request approvals, for 90 days, and you can revoke it on the Developers page.
What exactly do I approve?
A summary built by the server from the saved draft: brand name, builder wallet, fee and the sections that changed. You review it in the console, sign the operator agreement if you have not yet, and approve. If the agent changes the draft afterwards, the approval no longer applies and the agent has to ask again.
Who gets the builder fee?
The wallet you give the agent. Always read the wallet and fee back on the approval screen before you approve. The agent is told never to invent a wallet address and to ask you for it.
Can I use the API without MCP?
Yes. The same API is public: create a terminal with POST /api/v1/provision, then call it with the key. The reference is at /api/docs and the OpenAPI 3.1 spec is at /api/v1/openapi.json. Terminals on a plan with API access can also create their own API keys in the console for reports, webhooks and automation.
Is it safe to let an agent do this?
The agent works on a draft that nobody sees. Every action goes through the same API, checks, limits and audit log as the console, and the log marks changes made through MCP. Brand names that imitate exchanges, wallets or banks are refused. Never paste a private key into a chat.
My agent does not support MCP.
Use the Prompt to paste option. It points the agent to the public guide and the REST API.
Prefer to set it up yourself?
The guided setup takes a few minutes and you can still hand parts of it to an agent later.