> For the complete documentation index, see [llms.txt](https://docs.metacopier.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metacopier.io/ai/ai.md).

# AI Assistant

MetaCopier ships an **MCP server**. It lets an AI assistant such as ChatGPT, Claude, Cursor or any other MCP capable client work directly on your MetaCopier project: read your accounts, explain why a copier is not firing, adjust settings, and, if you allow it, place and close trades.

MCP stands for **Model Context Protocol**, the open standard that AI applications use to talk to external systems. You do not need to write any code. You connect once, and from then on you simply ask questions in plain language.

{% hint style="info" %}
The MCP server is reachable at **`https://ai.metacopier.io/p/{projectId}/mcp`**. You add it to your AI application yourself, see [connect](/ai/ai/connect.md).
{% endhint %}

### What you can do with it

* **Understand your setup.** "Which of my accounts are disconnected, and since when?"
* **Diagnose problems.** "Account X did not copy the last EURUSD trade, why not?"
* **Change configuration.** "Set the risk per trade on all copiers of strategy Y to 1 percent."
* **Review performance.** "Give me a weekly review of this project with the worst performing symbols."
* **Trade.** "Buy 0.1 lots of ETHUSD on my cTrader account with a 50 point stop loss."
* **Search the documentation.** The assistant can look things up in these docs while it works.

### What it is made of

| Building block | Count | Purpose                                                                                   |
| -------------- | ----- | ----------------------------------------------------------------------------------------- |
| Tools          | 134   | Everything the assistant can read or change, grouped into [toolsets](/ai/ai/endpoints.md) |
| Prompts        | 5     | Ready made workflows such as `weekly-review` or `risk-audit`                              |
| Resources      | 1     | `metacopier://connection`, a short description of what the current connection may do      |

### Two ways to authenticate

MetaCopier is not listed in any connector directory, so you add the server yourself in both cases. What differs is how the connection proves who you are.

<table><thead><tr><th width="180">Mode</th><th>Best for</th></tr></thead><tbody><tr><td><strong>OAuth</strong> (sign in)</td><td>Hosts that speak OAuth, such as ChatGPT, Claude and Claude Code. You paste the URL once, sign in with your MetaCopier account, and approve the permissions. No secret is stored in the client.</td></tr><tr><td><strong>API key</strong></td><td>Clients that cannot do OAuth, or your own agent. You paste an API key into the client configuration.</td></tr></tbody></table>

Both modes are explained in detail on the [authentication](/ai/ai/authentication.md) page. Setting up the connection is explained on the [connect](/ai/ai/connect.md) page.

{% hint style="warning" %}
An AI assistant is not a trading bot. It acts when you ask it to, it can misread an instruction, and it works on live money. Read [security and limits](/ai/ai/security.md) before you grant write or trading permission.
{% endhint %}

### Where to go next

{% content-ref url="/pages/WZcSMGq66VwWi3UOliQg" %}
[Connect your AI assistant](/ai/ai/connect.md)
{% endcontent-ref %}

{% content-ref url="/pages/hNG3oceRF9PT96lxSnRu" %}
[Authentication](/ai/ai/authentication.md)
{% endcontent-ref %}

{% content-ref url="/pages/tOce9ZiGhQFBg4zfyLj0" %}
[Endpoints and toolsets](/ai/ai/endpoints.md)
{% endcontent-ref %}

{% content-ref url="/pages/I23q2UBaFLPPsgyU2f1S" %}
[Tool reference](/ai/ai/tools.md)
{% endcontent-ref %}

{% content-ref url="/pages/l1Y9SsVD9jpcAhIU9gs9" %}
[Trading with AI](/ai/ai/trading.md)
{% endcontent-ref %}

{% content-ref url="/pages/m5z0zcK1u57ggQzRcl0g" %}
[Security and limits](/ai/ai/security.md)
{% endcontent-ref %}

{% content-ref url="/pages/pIGwf6upfMauVpir02XD" %}
[Troubleshooting](/ai/ai/troubleshooting.md)
{% endcontent-ref %}
