> For the complete documentation index, see [llms.txt](https://docs.goodcrypto.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goodcrypto.app/goodcryptox-3.0/ai-agents.md). Agents can also search and read this documentation through its [MCP server](https://docs.goodcrypto.app/~gitbook/mcp).

# AI agents

Connect Claude Desktop, Claude Code, Codex, Cursor or any MCP app to your goodcryptoX installation, with keys that read, propose or trade within your limits.

goodcryptoX has a built-in MCP server and API: Claude Desktop, Claude Code, Codex, Cursor or any MCP app can read your positions, propose orders and trade on the exchanges you connect within limits you set, on your own installation, with no account at goodcryptoX. A program uses the [API](https://docs.goodcrypto.app/goodcryptox-3.0/api.md). Your goodcryptoX is a private installation on your computer, NAS or server, and the goodcryptoX MCP server and the API connect to that installation; we run no public trading API or MCP server for you to connect to.

Our relay is the default way to reach your installation from another device. It cannot read your access key, requests or replies. A computer can instead use an [SSH tunnel](#use-an-ssh-tunnel-instead), bypassing the relay; a [phone](https://docs.goodcrypto.app/goodcryptox-3.0/readme/phone-access.md) can also connect through the relay.

Demo accounts and the Bybit developer view, including read-only-key Send examples and recovery, are for people signed in to the panel. Access keys and MCP cannot use `demoBybitView` or `demo=1`.

## What an agent can do

These actions are available through both MCP and the API. The key sets what goodcryptoX allows; the AI agent's own rules may allow less. A payment from your wallet, such as buying credits, stays yours: the agent can tell you how to make it.

With any key, it can:

* **Accounts and holdings**: read your accounts, balances, positions, open orders and bots, plus account and goodcryptoX status. The `portfolio` tool identifies known coins across accounts and unmatched exchange assets, with each holding's own price and any missing prices ([API](https://docs.goodcrypto.app/goodcryptox-3.0/api.md#portfolio-identities)).
* **Collateral settings**: read each account's collateral settings in the `balances` snapshot (`perCoinCollateral`). It names the wallet, whether the exchange accepts each coin and whether it is used as collateral; a missing value doesn't mean Off. Only the person can change collateral settings in goodcryptoX; API keys and MCP tools can read them. Demo accounts and their settings are available only in a person session.
* **Trading volume**: read how much you traded since you connected each account, your filled trades, fees and closed P\&L, by account and who placed the order, all time or by UTC day. The answer tells you where history or prices are missing ([API](https://docs.goodcrypto.app/goodcryptox-3.0/api.md#trading-volume)).
* **Orders and history**: read order details and finished orders, and ask the exchange about one order now, as the order card's Refresh does (nothing changes at the exchange).
* **Bot details**: read plans, orders, results and funding payments.
* **Funding payments**: read what an account paid or received on a market, the payment coin and each bot's share.
* **Markets**: read available markets, their trading rules, and candle prices and volumes.
* **Base currency**: read the currency you chose for goodcryptoX and its rate to the dollar.
* **Credits**: read your credits, the starter CEX volume left (`remaining`; add what `balance` buys at `rate` for the panel’s total CEX volume left), the fee, which of your exchanges pay with credits, whether they run low or new orders and bots are paused, and how to add more. On Solana, credits can also be paid in $GOOD, held or bought from any coin in the same payment, at the $GOOD discount; a program can quote a payment with `POST /api/v1/credits/pay` (`input`, the coin amount, or `amount`, with `build: false`); the payment itself stays yours, from your wallet. The same `credits` tool returns `totals`: lifetime paid USD, payment credits, grants, CEX volume and fees; average daily and 30-day monthly volume and fees; the date window, whether cash is estimated, and the balance difference. Per-day reads with `before` remain available.
* **Referral code**: read the code you joined with and your fee, your own three codes, what they earned, how many friends joined and how many of them traded, and your payout.
* **Its own key**: read its scope, accounts, markets and limits, and how much of the 24 hours it has used.
* **Exchange API keys**: check a Binance account's API key again after you changed its permissions on Binance, and read what it can do now.
* **Previews and reports**: preview orders and bots without trading, and investigate what happened.

With a **Trade** key, it can also:

* **Orders**: place orders with take-profit and stop-loss, change its own orders and cancel non-bot orders on permitted accounts.
* **Leverage**: set leverage and margin mode.
* **Keep the API key alive**: it sees whether Keep my API key alive is on for a Binance account; only you can turn it on or off.
* **Pay fees in BNB**: it sees whether a Binance account pays its fees in BNB; only you can turn it on or off.
* **Isolated margin**: add or remove margin on an isolated position.
* **Bots**: create and launch bots; change, stop or close bots it created.
* **Bulk actions**: cancel non-bot orders, stop its own bots or close positions matching a filter, including yours. Bot holdings stay unless it also stops its own bots with their positions closed.

Trading follows your [accounts, markets and limits](#keys-and-limits); cancellations reach non-bot orders on permitted accounts regardless of market. You pause and resume its bots through the key's **Suspend** and **Resume** in goodcryptoX; the agent cannot do that directly.

A **Propose** or **Trade** key can prepare orders and bots for you to review and launch in goodcryptoX. [Proposals](#proposals) do not trade until you launch them. It can take back a proposal of its own while it waits.

No key can withdraw or transfer funds, change your settings or create another key. A Trade key modifies only its own orders and bots, but can cancel any non-bot order on permitted accounts. It cannot cancel bot orders directly, even after the bot stops.

A key's **Order proposal** and **Bot proposal**, and the moment it is **at its limit**, reach you in Telegram, named after the key. **Order accepted**, **Cancel accepted** and **Bot created** come too unless you turn off **Notify me in Telegram** in the key's details; it starts on. What you do yourself in the panel sends none. The key's details in **Settings › MCP & API** keep its activity under **What it did**: the orders it placed and canceled, the leverage it set and the margin it added or took out.

## Connect any MCP app or program

Open **Settings › MCP & API**. Press **Create key**, give it a name and choose what it may do:

* **Read** reads your orders, positions and bots. It changes nothing.
* **Propose** reads and proposes orders and bots for you to launch in the panel. Nothing trades without you.
* **Trade** reads, places and cancels orders and runs its own bots within your [accounts, markets and limits](#keys-and-limits).

Press **Create key** again, then **Copy** and **Done**. To see the key again later, open its row: **Key** shows it hidden, with **Show** and **Copy**. Give each app or program its own key so you can revoke one independently.

Under the keys, the connect block has two sides, **AI agents** and **API**, and at its top right the key it fills in: the key you made last is already chosen; pick another from the list. Each app has one row that says where its setup goes: copy it and paste it there. Your key, your installation's address and the way to reach it from another computer are already inside, so there is nothing to fill in. Copied through our relay, the same line works on the computer running goodcryptoX and on any other ([From another computer](#from-another-computer)). The lines are for the system of the browser you copy them in: copy them on the computer where the app runs.

Claude Code, Codex and Cursor start the connector with Node.js 18 or newer on the computer where they run; Claude Desktop brings its own. If your app says it cannot find `npx`, install Node.js for your system from [nodejs.org](https://nodejs.org/) and start the app again. The first start fetches the connector, which can take a few seconds.

### Claude Desktop

On Mac and Windows.

1. Press **Download** beside **Claude Desktop** and open the file, named after your key (double-click it). Claude Desktop opens its install window.
2. Press **Install**. Claude Desktop shows this for every connector outside its directory. Ours talks only to goodcryptoX, with the key you give it, and reads nothing else on your computer.
3. Claude Desktop asks for your **goodcryptoX access key**. Press **Copy** beside **Download** in goodcryptoX, paste the key and press **Save**.
4. Enable the extension: Claude Desktop installs it disabled until its key is saved.
5. Every goodcryptoX tool starts as **Ask**: Claude Desktop asks you before it uses one. On goodcryptoX's row press **Configure**, then set the tools you want it to use without asking from **Ask** to **Allow**; at least the read tools (the ones titled **Read …**), so it can look without asking every time.
6. Ask “What orders do I have open?”. Your key sets the most the agent can do in goodcryptoX; Claude Desktop's permissions decide what it asks you about.

### Claude Code

In the terminal, the IDE and the Code tab.

1. Press **Copy** beside **Claude Code**.
2. Open a terminal on the computer where you use Claude Code (Terminal on Mac and Linux, PowerShell on Windows; the terminal inside your IDE works too), paste the line and press Return. Claude Code answers `Added stdio MCP server gcx … to user config`. Once is enough: its terminal, IDE and Code tab all use it. To replace it later (another key, a new line), first run `claude mcp remove <name>` with the name that follows `--scope user` in the line: Claude Code refuses a second line with the same name.
3. Run `claude mcp list`: goodcryptoX's entry reads `✓ Connected`. In a Claude Code session, `/mcp` lists it with its tools.
4. Ask about your orders. Claude Code asks before it uses a tool the first time: answer **Yes**, or **Yes, and don't ask again** for that tool; `/permissions` shows and changes what it may use without asking.

### Codex

1. Press **Copy** beside **Codex**.
2. The easy way: paste the lines into Codex and ask it to add them to its config. Codex does it and tells you to restart; start it again.
3. Or add them yourself: open Codex's config file in any text editor, and create it if it is not there: `~/.codex/config.toml` on Mac and Linux, `%USERPROFILE%\.codex\config.toml` on Windows. Its folder, `.codex`, is hidden: in the editor's **Open** dialog, on Mac press Cmd+Shift+G and type `~/.codex`; on Windows type the path above in the file name field. Paste the lines at the end, keeping what is already there, and save. Then start Codex again: a new `codex` in the terminal, or quit and reopen the Codex app.
4. `codex mcp list` shows goodcryptoX as `enabled`; in a session, `/mcp` lists its tools.
5. Ask about your orders. Whether Codex asks before a tool depends on its approval setting (`/approvals` in a session).

### Cursor and other apps

1. Press **Copy** beside **Cursor and other apps**.
2. The easy way: paste the lines into Cursor's chat and ask it to add them to its MCP settings.
3. Or add them yourself: in Cursor, open **Cursor Settings** (Cmd+Shift+J on Mac, Ctrl+Shift+J on Windows and Linux), then **Tools & MCPs**, and press **Add Custom MCP**: Cursor opens its `mcp.json`. If the file is empty, paste the lines; if it already lists servers, paste only goodcryptoX's entry inside its `"mcpServers"`. Save.
4. Back in **Tools & MCPs**, goodcryptoX is listed with its tools and a switch that turns it on or off.
5. Ask the agent about your orders. Cursor asks before it runs a tool unless you let it run tools by itself in its settings.

Any other app that runs MCP servers over standard input and output takes the same entry: its command, its arguments and its environment. The connector is not a web address for a hosted chat service.

## From another computer

The line copied through our relay works from any computer. When goodcryptoX does not run on the computer where your app runs, the connector reaches your installation through our relay, which cannot read your access key, requests or replies. Open goodcryptoX from that computer through our relay, copy your app's line and paste it as above.

The first time an app starts the connector, it pairs that computer with your installation, with a one-use code the line carries. The code works until it is used, for a day at most, whether or not goodcryptoX's page stays open; restarting goodcryptoX also ends it. From then on every app on that computer connects by itself. The computer appears in **Settings › Devices** as **Programs on …**, with **Remove**.

If your app says **This connector has expired. Download it again from goodcryptoX**, a day has not always passed: restarting goodcryptoX or using the code on another computer also makes the old line unusable. Copy a new line from **Settings › MCP & API** and replace your app's entry, following its steps above (in Claude Code, `claude mcp remove` the old one first); for Claude Desktop, download its file again. If the saved connection cannot be opened, use the steps below.

The connector uses your installation's address when it can confirm that your goodcryptoX answers there. Otherwise, it connects through our relay. On another computer, using the relay is normal.

If your app says **Can't open or save the connection on this computer**, first check that you are signed in as the computer user who first connected it. The message can also mean a file is damaged, access is denied, or Windows cannot open or save it. Copying a new line alone does not repair the saved files.

If the saved files need replacing, follow these steps. They replace the saved connections of your current computer user; they do not fix blocked PowerShell or folder permissions.

1. Close the AI apps that use goodcryptoX and stop any running `gcx connect`.
2. Open the folder that holds them: on Windows, enter `%LOCALAPPDATA%\goodcryptoX` in File Explorer's address bar; on a Mac, use Finder's **Go to Folder** with `~/Library/Application Support/goodcryptoX`; on Linux, open `~/.local/share/goodcryptoX` in your file manager.
3. Rename `connect` to an unused name, such as `connect-old`. If you cannot rename it, fix the folder's access first.
4. Copy a new line from **Settings › MCP & API**, replace one app's entry using its steps above, and start that app. For Claude Desktop, download its file again.
5. Repeat for each goodcryptoX installation you use. Other apps of the same computer user and installation then reuse that saved connection.

If your app says **The connection took too long. Try again in a minute**, try again in a minute. A running connector tries again by itself; if your AI app stopped the connector, restart the app. If it keeps happening, it needs a closer look.

Keep the copied lines private: they hold your key and, for a day, the code that pairs a computer. Claude Desktop's file holds the code but not the key: Claude Desktop asks for it. The code alone reads and trades nothing; an access key is still needed.

A running connector reconnects after sleep or a network interruption; your installation keeps trading while it runs and is connected to the exchange. To connect without our relay, use [an SSH tunnel](#use-an-ssh-tunnel-instead).

From a [home address](https://docs.goodcrypto.app/goodcryptox-3.0/readme/set-up-on-your-mac.md#your-home-network), the line you copy connects your AI app or program directly to the installation that made it, with your chosen key, and never through our relay. Use it on a network you trust, or through your own trusted HTTPS address: over HTTP, someone who can read the traffic can copy the key.

## Use an SSH tunnel instead

Instead of the relay you can use an SSH tunnel; if you do not know what that is, you do not need it. This alternative connects your computer directly to the computer running goodcryptoX.

<details>

<summary>Connect through SSH</summary>

1. On your computer, open Terminal (PowerShell on Windows) and forward a local port to goodcryptoX's port on the other computer. For example, if goodcryptoX uses port 8128:

   ```sh
   ssh -N -L 8128:127.0.0.1:8128 <user>@<server-address>
   ```

   Use your SSH user and address, adding `-i <private-key-file>` if needed. Use goodcryptoX’s actual port on both sides of the line and in the address below. Keep this command running.
2. Open `http://127.0.0.1:8128/gcx` through the tunnel, using goodcryptoX’s port. To sign in, run `gcx open --print` on the installation (`docker exec gcx gcx open --print` in Docker) and open its link within 60 seconds. See the [server](https://docs.goodcrypto.app/goodcryptox-3.0/readme/set-up-on-a-server.md#sign-in) or [NAS](https://docs.goodcrypto.app/goodcryptox-3.0/readme/set-up-on-a-nas.md#sign-in) guide for sign-in details.
3. In **Settings › MCP & API**, copy your app's line as above. While the tunnel runs, the connector finds goodcryptoX at that local address and talks to it directly.

Programs use that same local address and their own key. Closing the SSH command ends access from this computer; bots and orders keep running at the installation.

</details>

## Devices and removal

**Settings › Devices** lists paired browsers and computers. Each **Programs on …** row covers the apps and programs sharing one computer login; you can rename or **Remove** it. Browser connections have separate rows.

**Remove** ends that computer's program connections, not its access keys. Pair it again to reconnect. Other computers remain connected. Orders already sent may finish; removal does not cancel orders, stop bots or close positions. Revoke a key separately to take away its access everywhere it is used.

## Key statistics

Each key shows its own activity in Settings and on the Dashboard. **Active** counts its open orders and running bots. **Volume** is the value traded by its orders and bots, not its account balance.

**Real PnL** is the realized profit or loss from that key's trades and its bots' funding, after fees. It excludes the changing unrealized PnL of positions still open. For example, 20 of closed trading profit, less 2 in fees and 1 in funding paid, contributes 17. Funding received adds to the result instead.

The figures show a total and the last 24 hours. When a key trades in several currencies, their results stay separate; a profit in one currency is not silently added to a profit in another.

## Keys and limits

Each key's row in **Settings › MCP & API** shows its open orders and bots, trading volume and PnL; open the row to see its limits and press **Edit** to change what it may do or its limits. Its proposals wait in the Trade page's **Proposals** tab ([Proposals](#proposals)).

For a **Trade** key, choose **Accounts** and **Markets** (**All**, **Spot**, **Perps**, or **Custom**: a search and the markets you tick from its matches), then the limits you want. **All**, **Spot** and **Perps** include markets listed later. Accounts and markets restrict what it trades on; reading and proposing are not restricted. With no accounts or markets set, it cannot trade.

Every money limit starts off and reads **No limit**: turn on the ones you want and type their value. Limits are in your base currency (**Settings › General › Base currency**, US dollar until you choose another): a key keeps the currency its limits were set in. A market quoted in a stablecoin counts one to one with the dollar; a market quoted in a coin such as BTC is valued at that coin's price. A limit bounds the size of what the agent trades, its value, never the margin it uses: at 5x, a 1,000 USD order uses about 200 USD of margin.

Picking another base currency converts each key's limits once, at that day's rate, and they stay amounts in the new currency: a 1,000 USD limit becomes 900 EUR at 0.9, and what is enforced is 900 EUR whatever the rate does afterwards. The 24-hour limits add the key's orders and bots across markets quoted in different currencies, each valued in the limits' currency when the order is checked; nothing in the last 24 hours is rewritten by a switch. A bot sized near its limit can be held by a move of the rate; **Retry** runs it once it fits. Over a limit, the refusal names both amounts in the limits' currency ("Order value 945.00 EUR is over this key's limit of 900.00 EUR"). With BTC or ETH as the base, limits are coin amounts and the dollars they allow move with the coin's price.

| Section    | Limit                   | What you allow                                                                                                                                                         |
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Orders** | **Max per order**       | The value of one order the agent places, including after a change. Exits from its own trades are not counted.                                                          |
|            | **Max 24h volume**      | Its orders in the last 24 hours, filled or still open. Exits from its own trades and its bots' orders are not counted.                                                 |
| **Bots**   | **May run bots**        | On (the default): all kinds of bots, or only the kinds you tick. Off: orders only.                                                                                     |
|            | **Max per bot**         | One bot's money: a DCA bot's entry and all its averaging orders, a Grid bot's total investment.                                                                        |
|            | **Max 24h volume**      | The money of the bots it started in the last 24 hours. A DCA cycle counts when it starts; a Grid bot when launched and when its investment grows.                      |
| **Perps**  | **Max per position**    | The value of its position on one market after the order. Shown when its markets include perpetuals.                                                                    |
|            | **Max total positions** | The value of all its positions together after the order.                                                                                                               |
|            | **Margin**              | **Isolated only** (the default) or **Any**. Isolated only keeps each position's loss to its own margin; cross margin can lose the whole account.                       |
|            | **Highest leverage**    | Starts at 5x: the most leverage it may set or use. For bots, checked at launch and when the key changes them. Shown, with Margin, when its markets include perpetuals. |

An order that makes a position smaller is always allowed, whatever the position limits say. The same key shares its limits across all apps and devices using it.

A Trade key can place orders and run bots on the accounts and markets you allow, within its limits. Bybit supports spot, USDT and USDC futures and inverse futures; Bybit EU supports spot only. On Binance and Bybit, the key can set futures leverage within **Highest leverage** and change margin mode within **Margin** where the exchange allows it. Change a Bybit Unified Trading Account's margin mode on Bybit. Trades on Binance, Bybit and Bybit EU pay goodcryptoX’s fee with [credits](https://docs.goodcrypto.app/goodcryptox-3.0/supported-exchanges/trading-credits.md); new orders and bots need credits as yours do. On coin-margined markets the API and the MCP tools give sizes in contracts, with the contract's value beside them; the panel shows the same sizes in USD and in the coin.

For the agent in this guide, Max 24h volume for orders is 10,000 USD and 9,800 USD is already used. Another 400 would take it to 10,200, so goodcryptoX refuses that order. Choose limits for the trading you intend, then copy the key and [connect your agent or program](#connect-any-mcp-app-or-program).

Treat the key like a password: anyone holding it can use its permissions wherever they can reach your installation.

* **Suspend** stops the key from trading and cancels its resting orders that would open or add to a position. Its bots pause: entry and averaging orders or Grid opening orders are cancelled, and no new cycle starts. Existing exits and positions remain, with take-profits and stop-losses still working. The key can still read.
* **Resume** lets it trade again and continues its bots, restoring the opening or averaging orders cancelled by the pause. Cancelled standalone orders stay canceled; no new key or pairing is needed. Review the market and the bot before resuming.
* **Revoke** stops the key working for good, including reads, and applies the same pause and cancellations. Its bots remain paused until you stop them. Make a new key to give access again. A revoked key that never did anything (no order, no bot, no proposal) is deleted; one with a record stays under **Revoked** with its history; **Active** lists the keys in use.

### What a trading key can do

It can place market, limit, stop and trailing orders, with take-profit and stop-loss, on its allowed accounts and markets. A change to one of its orders must fit its limits at the changed value.

It can cancel non-bot orders on its allowed accounts: yours, another key's and orders placed outside goodcryptoX as well as its own. The key uses the permitted commands on its own bots; you can cancel a stopped bot's leftover order yourself.

It may sell coins you already own or trade against your position within its limits. If this agent sells 0.1 ETH against your 1 ETH long on an account where positions are combined, your long becomes 0.9 ETH. Keep unrelated trading on another account if you want to avoid this.

### What the limits do not bound

These limits bound exposure, not loss. They do not cap losses on positions built over several days, prevent a badly timed trade or stop a key from moving or cancelling its own stop-loss. Several keys sharing an account add their exposure together.

Use a separate sub-account with only the funds you are prepared to risk. This separates the funds available to the agent from your other trading; it does not make its strategy safe.

### Its bots

A bot is bounded by its own limits, never by the order limits: its entry, averaging and grid orders are its plan. **Max per bot** is checked when the agent launches or changes a bot, and again when each DCA cycle starts. A launch over it is refused and no bot is created.

The bots' **Max 24h volume** counts each DCA cycle's money when the cycle starts, and a Grid bot's investment when it is launched and whenever it grows. If this agent launches three DCA bots with an entry of 500 USD and four averaging orders of 300 USD each, every cycle is 1,700 USD. Under a 5,000 USD limit the first two start; the third is created and waits, and you receive a Telegram message. It starts by itself once the first start is 24 hours old. Existing take-profits and stop-losses keep working meanwhile.

A create that leaves out `leverage` or `marginMode` takes the open position's, else isolated 5x, as the API's reference says. If the exchange refuses the leverage or margin mode, the create is refused and no bot starts.

The key can change only bots it created directly. Use a strategy sheet (the example at the end of [Proposals](#proposals)) to prepare and review a complete plan before allowing it to launch.

A key made before these limits keeps its old rule until you save its limits again: each bot order must fit its largest order, and each cycle counts up front against the one 24-hour allowance it shares with its orders.

### When a key meets a limit

The Dashboard shows **At its limit**, and Telegram names the agent and the limit reached. Open the key in **Settings › MCP & API** and review its activity and usage. Reduce the request, wait for allowance to free up, or change the limits yourself; the agent cannot raise them. Lowering them does not close existing exposure. Review **Orders → Open**, **Positions** and **Bots** when you need to reduce what is already running.

### Checking an order first

Ask for a preview before placing an order. It shows the proposed size, price, value and warnings without sending anything. The key's limits are checked on placement. A preview is a check of the plan, not approval of the trade.

A DCA bot's preview has, for each side, `liquidation.price`: where the exchange would liquidate the position as the bot's orders fill. On Cross it is an estimate that assumes nothing else in the account changes. `"0"` means there is no liquidation price (the account fully covers the position); `liquidation` is `null` where the exchange gives a position none (portfolio margin).

A DCA bot's preview also has `margin`: `survive` is what the account needs for the bot to reach its stop loss, and `toLast` what it needs to fill its last averaging order, both fees included and in the currency the market settles in, as the form's **Approx. margin** shows them. Each order's size rounds to the exchange's step, so `margin.range`, `position.range` and `stop.range` give the bounds the figure moves between with the price; the figure on the page is what would be sent now. They are absent when both bounds are alike. A Grid's preview does not yet carry its need: an agent reads the DCA's.

A Grid bot's preview also has `maxLoss`, the Grid form's **Max loss** line: for Stop below and Stop above, the most the grid can lose when that stop fires, fees included (`loss` in money; `lossPct` a percent of the Investment (the orders' value), as the form shows it; `by` says whether the stop, a Stop loss, Max drawdown or a liquidation ends it first). `by: none` with a `reason` means there is no most, for example with both follows on. It is an estimate at the price now; see [Max loss at a stop](https://docs.goodcrypto.app/goodcryptox-3.0/grid-bot/grid-setup.md#max-loss-at-a-stop).

A trading key's orders go through with the form's warnings; the exchange may still refuse them. Ask the agent to explain those warnings before trading. A Propose key keeps that decision in your hands.

## Proposals

A proposal is an order or a bot that a **Propose** or **Trade** key prepared for you. It waits until you launch or discard it; nothing trades before, and only you can launch it.

It reaches you in Telegram, with an **Open** link once you have paired a device, and waits at the top of the Dashboard in **Needs your attention**. To act on it:

1. Press **Open** in the Telegram message, or on the Dashboard row. The Trade page opens on its **Proposals** tab (it also lists every proposal waiting).
2. The order or bot form is filled with what the agent proposed, with a note saying who proposed it. Change what you like.
3. Launch it with the button the note names, or press **Discard** (also on the Dashboard row).

A proposal launches once. What you launch is yours: the key cannot change it. A key set to **Read** discards its waiting proposals, and so does revoking it.

A program can also take back a proposal of its own while it waits, with the `withdraw_proposal` tool or [the API](https://docs.goodcrypto.app/goodcryptox-3.0/api.md#withdrawing-a-proposal). It leaves your list and **Needs your attention** at once and nothing is sent to you; the key's card lists it as withdrawn. It cannot withdraw another key's proposal, or one you have launched.

<details>

<summary>Example: a strategy sheet turned into a DCA bot</summary>

Here an AI agent turns a strategy sheet, a description of the bots you want to run, into a DCA bot in goodcryptoX.

1. **Choose how to approve.** Make a **Propose** key to review and launch each bot in goodcryptoX. Choose **Trade** to let the agent create bots itself, with the accounts, markets and limits you allow. Start with Propose if you want to check how it reads your sheet.
2. **Connect it** using [Connect any MCP app or program](#connect-any-mcp-app-or-program). For goodcryptoX on another computer, use [From another computer](#from-another-computer) to pair through the relay; an SSH tunnel is an alternative.
3. **Give it the sheet and your choice.** Start with one profile: “Prepare this ETH profile on my trading sub-account. Show me the settings before creating it.” Say which profiles you want; several profiles on the same market add their exposure.
4. **Compare the preview with the sheet.** Ask for goodcryptoX's bot preview. Check the entry, every averaging order, total investment, exits and repeat choices. With Propose, [open the proposal](#proposals) and check the filled form before **Launch**. With Trade, tell the agent when to create it. The preview's stop loss (`stop.loss`) has the fees included: every order's and the stop's. A DCA bot's Max loss is `slMaxLossPct`, a percent of its Investment. A bot made before 3.2.1 may hold `slLossPct` instead, a percent of the margin: show it as `slLossPct ÷` the row's `leverage`, rounded down to 0.01 (20 at 10x is 2), and send `slMaxLossPct` to change it.
5. **Check the result.** Open **Bots** and the bot's details. Review what the key did in **Settings › MCP & API**.

Here is one ETH DCA profile. Its entry and four averaging orders are each 359.35 USDC: five orders total 1,796.75 USDC for one cycle. The Take Profit is 1.61% above the average entry price. That target does not guarantee a profit after every cost or a fill at the target price.

| Sheet setting                                                                 | What to check in goodcryptoX                                                                             |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Buy signal, 15-minute candles                                                 | **Entry condition: Signal**; under **Start when**, TA rating Buy on 15m; Buy includes Strong Buy         |
| Long, following the signal                                                    | **Entry mode: Direct**                                                                                   |
| Market entry                                                                  | **Entry type: Market**                                                                                   |
| 359.35 USDC per order                                                         | **Entry size: 359.35**, in USDC                                                                          |
| Four equal averaging orders                                                   | **Averaging orders: 4**, **1st avg order: Manual**, **1st avg size: 359.35**, **Avg size multiplier: 1** |
| First gap 0.96%; subsequent gap 1.1712%, multiplied by 1.22                   | **1st avg step: 0.96%**, **Avg price step: 1.1712%**, **Avg step multiplier: 1.22**                      |
| Activate each averaging order when price reaches the preceding planned level. | **On exchange: One at a time**, **Post only** off                                                        |
| Take Profit 1.61% from average entry                                          | **Take Profit** on at 1.61%, **TP type: Limit**, **Fix TP as % from entry order price** off              |
| Stop 2.197609% below the last planned averaging order                         | **Stop Loss** on at 2.197609%; **Stop Loss as: From last avg. order, %**.                                |
| One cycle                                                                     | **Repeat after:** both **TP** and **SL** off                                                             |

A sheet's decimal comma means the same number: 0,96% becomes 0.96%. Compare the preview's prices and amounts with the sheet. With these settings, the averaging orders are about 0.960%, 2.120%, 3.519% and 5.200% below the entry. Choose leverage and margin deliberately before launch.

<figure><img src="https://3159525366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrFKhEXxJL95YqC19XHlF%2Fuploads%2FVapWfslHHVZuhgIdGfrf%2Fstrategy-sheet-form-entry.webp?alt=media" alt="The DCA form filled with the sheet&#x27;s entry and averaging settings, the arrow at Investment" width="300"><figcaption></figcaption></figure>

<figure><img src="https://3159525366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrFKhEXxJL95YqC19XHlF%2Fuploads%2FOqnaoliRwlxxY9Zz8sbC%2Fstrategy-sheet-form-exits.webp?alt=media" alt="The same form&#x27;s exits and Orders list, the arrow at the Total" width="300"><figcaption></figcaption></figure>

Ask the agent to flag unsupported rules. Another platform's indicator settings, a modelled loss bound, a breakeven stop move or a time limit from the first fill may have no matching setting. It should explain the difference before you trade.

[Permissions](#keys-and-limits) decide whether the agent reads, proposes or trades; it cannot withdraw funds or raise its own allowance. For a direct **Trade** launch, the key's [bot limits](#its-bots) cover the bot's whole money: this profile's 1,796.75 USDC cycle is over a 1,000 USD **Max per bot**, so the bot is not created; revise the profile or the limit yourself. A proposal can still be prepared for you to review and launch.

</details>

## Questions

### Can Claude place trades for me?

Yes, with a **Trade** key: it reads, places and cancels orders and runs its own bots within your accounts, markets and limits. With a **Propose** key, nothing trades without you.

### Does goodcryptoX have an MCP server?

Yes: the goodcryptoX MCP server connects Claude Desktop, Claude Code, Codex, Cursor and other MCP apps to your own installation, with a key from **Settings › MCP & API**. We run no public MCP server for you to connect to.

### Does my key or my trading go through goodcryptoX's servers?

Only from another device, through our relay, which cannot read your access key, requests or replies. An [SSH tunnel](#use-an-ssh-tunnel-instead) bypasses the relay.

### Can the agent withdraw funds?

No: no key can withdraw or transfer funds, change your settings or create another key.

### Which apps work: Claude, Codex, Cursor, others?

Claude Desktop, Claude Code, Codex and Cursor each have their own row in **Settings › MCP & API**, with nothing to fill in. Any other app that runs MCP servers over standard input and output takes the same entry.

### Is there an API?

Yes: your own program reads and trades through goodcryptoX's API, with the same keys, permissions and limits as an AI agent ([API](https://docs.goodcrypto.app/goodcryptox-3.0/api.md)).
