For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

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.

Last updated

Was this helpful?