> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/connecting-to-an-ai-assistant.md).

# Connecting to an AI assistant

## Introduction

Having deployed a hosted Patchworks MCP server, you can connect it to your preferred AI assistant. The following guides are available:

* [Connecting the hosted Patchworks MCP to Claude](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/connecting-to-an-ai-assistant/connecting-the-hosted-patchworks-mcp-to-claude.md)
* [Connecting the hosted Patchworks MCP to ChatGPT](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/connecting-to-an-ai-assistant/connecting-the-hosted-patchworks-mcp-to-chatgpt.md)
* [Connecting the hosted Patchworks MCP to Gemini](/product-documentation/developer-hub/patchworks-mcp/patchworks-mcp-hosted/installation-and-setup-patchworks-mcp-hosted/connecting-to-an-ai-assistant/connecting-the-hosted-patchworks-mcp-to-gemini.md)

#### Connecting multiple Patchworks accounts

If you work across more than one Patchworks account, you may want to connect several Patchworks MCP servers to the same AI assistant at the same time.

Most AI assistants - including Claude - identify each connector by its URL, and will not accept two connectors that share an identical URL. Adding a second server with the same address will either be rejected or silently replace the first.

To work around this, add a query string to the server URL so that each connection is unique. The `account` parameter ( for example ) is ignored by the MCP server itself, so it can be set to any value that helps you tell your connections apart - typically the account or company name:

```
https://mcp.wearepatchworks.com/api/v1/mcp?account=CompanyName
```

For example, to connect three accounts you might use:

```
https://mcp.wearepatchworks.com/api/v1/mcp?account=ABCRetail
https://mcp.wearepatchworks.com/api/v1/mcp?account=ABCWholesale
https://mcp.wearepatchworks.com/api/v1/mcp?account=ABCEurope
```

Each connection is then authenticated separately against the account it belongs to, and appears as a distinct connector in your assistant.

{% hint style="info" %}
The value you use for `account` is only a label to make the URL unique - it does not select or switch the account. Access is still determined by the credentials you authenticate with when adding the connector.
{% endhint %}

{% hint style="warning" %}
Where several Patchworks connectors are active in the same conversation, your assistant may not always be explicit about which one it is using. Give each connector a clear name when adding it, and confirm the target account before running any flow that writes data.
{% endhint %}
