# Custom MCP

> Copy text resources, or the result of a read-only tool, from an approved remote MCP server into your sources.

The Custom MCP connector reads from another service's remote MCP server and
saves what it returns as sources.

## Connect [#connect]

In **Connectors**, under **Other sources**, choose **Custom MCP**, then
**Connect Custom MCP**, and fill in:

- **MCP server URL**: the server's HTTPS address.
- **Read-only tool name**: leave it blank to import the server's text
  resources, or name a tool to save its result.
- **Tool arguments (JSON)**: the tool's arguments, such as `{}`.
- **API token**: a bearer token for the server.

Choose **Save token**.

## Limits [#limits]

- The server's host must be on Cozy's approved list. Plain HTTP, IP
  addresses, private host names, credentials in the URL and redirects are
  refused.
- A tool must mark itself read-only (`readOnlyHint: true`). That's the
  server's own claim, so only connect servers you trust, with a token that
  can only read.
- Cozy doesn't sign in to the server for you, and doesn't extract binary
  attachments.

