Connect Autoview to Claude Code in 2 minutes
Tested on Claude Code, October 29, 2026. We added the server with the command below, and Claude Code called pricing and sandbox_run on the live endpoint and got answers back.
The Autoview MCP server lets Claude Code try orders in a free sandbox with no account and no exchange key. With a token from your Autoview account, it can also set up and send live orders.
What you need
- Claude Code installed (the
claudecommand in a terminal). - For live orders only: an Autoview account (sign up free) and an agent token from /account/tokens/. The sandbox needs neither.
Add the server
- Open a terminal in your project folder.
- Run the command below. It adds Autoview for you in this project. Add
--scope userto add it for every project, or--scope projectto save it in the project's.mcp.json. - Start
claude. A server saved in.mcp.jsonasks for your approval the first time.
Command:
claude mcp add --transport http autoview https://api.autoview.com/mcp/Check that it works
- In Claude Code, type
/mcp.autoviewshould show as connected. - Ask: Use the autoview server to run a sandbox market buy of 0.001 BTCUSD on Kraken and tell me the fill price. Claude Code calls
sandbox_runand reports a simulated fill withreal_order_placed: false.
The sandbox never places a real order and needs no token. It fills each order at one snapshot price, so live results will differ. The agent guide explains the fill rule and every error code.
Good to know
- For live orders, add your agent token as a header:
claude mcp add --transport http autoview https://api.autoview.com/mcp/ --header "Authorization: Bearer av_mcp_...". Keep the token out of files you commit. - The server also supports OAuth sign-in. Run
/mcpin Claude Code and choose to authenticate. We have not tested the token header or OAuth on Claude Code yet, only the sandbox.
Going live
Live orders need an Autoview account, your exchange keys, and an agent token with "Allow live orders" on. The agent guide covers the rules for live orders. Create the token at /account/tokens/. Each live exchange is its own subscription; testnet and demo venues are free. See pricing.
Other clients
Source for the steps above: Claude Code MCP documentation.