> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Fix Claude custom connector errors with Metorial
URL: https://metorial.com/docs/platform/troubleshooting/claude

What Claude connector errors mean for a Metorial connector, including Couldn't reach the MCP server and Authorization with the MCP server failed, and the fix.

---

Claude shows one of three messages when a Metorial connector fails. Each one below has its cause and fix. This page covers Claude on the web, Claude Desktop, and Cowork, which share one connector setup. For Claude Code, see [Claude Code](https://metorial.com/docs/platform/troubleshooting/claude-code).

**What you'll learn**

* What each Claude connector error means for Metorial
* How to make Metorial's tools appear in a conversation
* How to disconnect, reconnect, or remove the connector

**Before you start**

* Metorial added as a custom connector ([Connect Claude](https://metorial.com/docs/platform/clients/claude))
* On Team and Enterprise plans, an Owner who manages connectors
* For portal changes, the admin CLI: `npm install -g @metorial/admin`, then `metorial-admin login`

## Connection errors

### `Couldn't reach the MCP server`

Claude could not complete the connection. Claude connects from Anthropic's cloud in every app, so your own network access does not count.

1. Compare the connector's URL with the **Magic MCP URL** card on your portal's home page. It has to match exactly, including the path.

2. Check that the URL answers from the public internet. A `401` is the expected answer:

   ```bash
   curl -I <your-magic-mcp-url>
   ```

3. If Metorial is self-hosted or behind a firewall, allow inbound connections from Anthropic's published IP ranges. Claude also cannot connect to a URL that names a port other than 443.

4. If the URL is wrong, remove the connector and add it again with the right one.

### `Authorization with the MCP server failed`

The sign-in started and did not finish. With Metorial, the usual cause is that the portal does not accept Claude's callback, `https://claude.ai/api/mcp/auth_callback`. Metorial's own message for this is `redirect_uri is not allowed for this portal`.

A portal admin opens **Settings**, **Client Settings**, and enables **Secure web apps** (`https://*/*`) under **Allowed OAuth Redirects**. From the CLI:

```bash
metorial-admin portals list
metorial-admin portals get <portal-id>
metorial-admin portals update <portal-id> \
  --allowed-redirect-url-filters '[{"url":"https://*/*"}]'
```

The command replaces the portal's whole list. Run `portals get` first and add the patterns your other clients still need. To allow Claude only, choose **Custom** and enter `https://claude.ai/*`. Then open **Customize**, **Connectors** in Claude, select Metorial, and select **Connect**.

### The connector was added with the wrong authentication settings

Metorial signs each person in with OAuth and registers Claude as a client on its own. When you add the connector, keep **Sign in now** or **Sign in when needed** under **Authentication**. Do not choose **No sign in** or **Use your own OAuth client**, and add no request headers. Claude does not let you change these later, so remove the connector, add it again, and have members reconnect.

### The connector's row shows "Reconnect"

Claude lost access to Metorial. The sign-in ran out after 30 days without use, or the token was revoked in Metorial. Select **Reconnect** and sign in with your company account.

### Members cannot add the connector

On Team plans only Owners and Primary Owners add custom connectors. On Enterprise plans, a custom role with **Manage access to Libraries** can as well. They add it in **Organization settings**, then **Connectors**. Members then open **Customize**, **Connectors**, find Metorial, and select **Connect**.

## Tools

### Metorial's tools do not show up in a chat

Connectors are off until you turn them on in a conversation. Select **+** at the lower left of the chat, choose **Connectors**, and turn Metorial on.

If Metorial is on and an integration is missing, check what your account can use:

```bash
npm install -g @metorial/cli
metorial login
metorial list
```

An empty list means you have connected no integration yet. Connect one with `metorial setup`, then select **Disconnect** and **Connect** on the connector's page in Claude and select the integration on the consent screen.

### A tool is blocked in Claude

Each person sets a connector's tools to **Always allow**, **Needs approval**, or **Blocked**. Open [your connectors](https://claude.ai/customize/connectors/yours), select Metorial, and check **Tool permissions**.

### `Unexpected error while invoking tool`

The connector is connected and signed in, and the tool named after the message returned an error. Ask Claude to call `metorial_connection_status` and report what it says. To see whether the tool fails outside Claude, call it from a terminal:

```bash
metorial tools <integration-id>
metorial call <integration-id> <tool-key> -d '{}'
```

An admin finds the failed call with:

```bash
metorial-admin sessions tool-calls list --search <tool-key> --limit 10
metorial-admin sessions errors list --limit 20
```

### A tool call stops after four minutes or returns a cut-off result

Claude ends a tool call after 240 seconds and accepts results up to about 150,000 characters. Ask for less per call, such as a smaller date range or fewer records.

## See what happened

Claude shows no MCP log for connectors. When a connection or sign-in fails, the page URL in Claude contains a reference ID that starts with `ofid_`. Copy it for Anthropic support. In the Metorial portal, **Connections** lists Claude's connection and **Operations** lists each tool call.

## Start over

### 1. Disconnect and connect

Open [your connectors](https://claude.ai/customize/connectors/yours) and select Metorial. Select **Disconnect**, then **Connect**, and sign in. On Metorial's consent screen, select the integrations Claude may use.

### 2. Remove and add the connector

Open the three-dot menu and select **Remove**. On Team and Enterprise plans, an Owner removes it in **Organization settings**, **Connectors**. Add it again with **Add**, **Custom**, **Web** and the Magic MCP URL.

### 3. Check it worked

In a new chat, select **+**, **Connectors**, and turn Metorial on. Ask Claude to list the Metorial tools it can use.

## Next steps

* [Sign-in and OAuth errors](https://metorial.com/docs/platform/troubleshooting/sign-in-and-oauth-errors): Metorial's side of the sign-in
* [Tools are missing](https://metorial.com/docs/platform/troubleshooting/missing-tools): why Claude sees fewer tools than you expect
* [Tool calls fail](https://metorial.com/docs/platform/troubleshooting/tool-calls-fail): what each tool call error means