# MCP and API: deploy with your AI agent

Source: https://app.hypr.markets/mcp

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

API base URL

Streamable HTTP, JSON-RPC 2.0. No sign-in is needed to connect.

1. 01Connect your agentPick your agent and paste one command or URL. No account or key is needed for this step.
2. 02Describe your terminalTell it your brand, colors, markets and fee. It sets up a draft and shows you a preview link.
3. 03Approve and go liveYou 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.

1. 1Run this command.
2. 2Start Claude Code and check that the server is listed with /mcp.
3. 3Paste the prompt below.

```
claude mcp add --transport http hypr-operator https://app.hypr.markets/api/mcp
```

Then 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.

1. 01AgentLearns what can be setIt reads the options and your plan's limits before it changes anything.describe_options
2. 02AgentCreates your terminalThe terminal is private and unclaimed. The agent gets its own key, and you get a claim link.create_broker
3. 03AgentBuilds the draftBrand, 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
4. 04AgentUploads your logo and shows a previewYou see the draft on your own terminal before anyone else does.upload_asset, preview
5. 05AgentChecks the draftIt runs the same publish checks as the console and tells you every warning.validate, check_builder_wallet
6. 06YouClaim the terminalOpen the claim link and sign in with your wallet. You become the owner.
7. 07AgentAsks for approvalIt sends you a link to a summary of what will go live: brand, builder wallet and fee.request_publish
8. 08YouApproveReview 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_options`Lists everything that can be customized and what your plan allows. The agent starts here.Read only
- `create_broker`Creates a new broker that is not public yet, and returns the agent key and the claim link.Changes the draft
- `get_status`Shows if the terminal is claimed or live, its plan, the checks and any pending approvals.Read only
- `get_config`Reads the draft and the published settings.Read only
- `update_config`Changes the draft: brand, markets, fees, compliance, site, trading, growth and engagement.Changes the draft
- `validate`Runs the publish checks on the draft without changing anything.Read only
- `upload_asset`Uploads your logo, favicon or social image (up to 512 KB).Changes the draft
- `preview`Gives a short-lived link that shows the draft on your own terminal.Read only
- `check_builder_wallet`Checks that your builder wallet can receive fees on Hyperliquid.Read only
- `connect_domain`Adds a custom domain and returns the DNS records you need to create (plan permitting).Changes the draft
- `request_publish`Asks you to approve going live. It returns a link for you; nothing is published by the agent.Changes the draft
- `get_approval`Shows whether your approval is pending, approved or rejected, and the result.Read only
- `get_activity`Reads 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.

- [API reference](/api/docs)
- [OpenAPI 3.1 spec (JSON)](/api/v1/openapi.json)
- [Agent guide (Markdown)](/api/agent/skill.md)
- [llms.txt for agents](/api/agent/llms.txt)

```
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

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.

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.

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.

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.

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.

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.

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.
