> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raily.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect a Raily MCP endpoint to Claude

> Connect a Raily MCP endpoint to Claude with OAuth. Follow setup for personal or managed workspaces, sign in, set tool permissions, and verify search.

Add Raily as a custom connector so Claude can search your endpoint inside a normal conversation.

## What you need

Before you start, get the following information from your Raily administrator:

* **Your connect link.** A personal user or workspace Owner needs this MCP server URL to add one endpoint. For Raily-hosted sign-in, the administrator can copy it after [granting access](https://docs.raily.ai/features/users.md). An external provider does not use a Raily user grant.
* **How to sign in.** For Raily-hosted sign-in, use the email address your administrator granted. For your Organization's identity provider, use your normal account there. A different account may be refused.

## Choose your setup

Who adds the connector depends on your Claude plan.

| Your plan | Who adds the connector |
| - | - |
| Free, Pro, Max | You do, in your own settings. Free accounts are limited to one custom connector. |
| Team, Enterprise | An Owner adds it once for the whole workspace. You then connect to it. |

If you are not sure which setup you have, open Claude settings. If you see **Organization settings**, use the managed workspace instructions.

## Personal account

Use this path on Free, Pro, or Max.

**1. Open your connectors**

Go to **Customize**, then **Connectors**.

**2. Add a custom connector**

Select **Add**, then **Add custom connector**.

![The Connectors page under Customize, with the Add menu open](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-personal-01-connectors.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=ac8297c873e97c02cb33a4f939ed8d57)

**3. Enter the connector details**

Give it a name you will recognize, for example `My MCP Search`, then paste your connect link into the address field. Claude expects the full HTTPS address the server answers on, ending in `/mcp`.

![The Add custom connector form with a name and an MCP server URL](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-personal-02-add-custom-connector.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=c4691abe03e3d36d3bd038c6407b35ab)

**4. Leave the OAuth credentials empty**

Do not enter an **OAuth Client ID** or **OAuth Client Secret**. Raily handles the sign-in.

**5. Select Add**

The connector opens on its own page, showing its address and the line **You are not connected** yet.

![The connector page before authorizing, showing its address and a Connect button](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-personal-02b-not-connected.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=4503ccf0ee8bd5e984979d10b5a14252)

**6. Select Connect**

This starts the sign-in.

Now go to [Sign in to Raily](#sign-in-to-raily).

## Managed workspace

Use this path on Team or Enterprise. Two people are involved: an Owner sets the connector up once, then each member connects to it.

### Owner setup

Only an Owner can add a custom connector on Team and Enterprise. An admin who is not an Owner cannot, and neither can a member.

**1. Open organization connectors**

Go to **Organization settings**, then **Connectors**.

**2. Add a custom web connector**

Select **Add**, hover over **Custom**, then select **Web**.

**3. Paste the connect link**

Enter it as the remote MCP server URL. OAuth credentials under **Advanced settings** are not needed. Raily handles the sign-in itself.

**4. Select Add**

The connector becomes available to members. It does not grant anyone access to your content on its own. Each member still signs in to Raily with their own account: the granted email address for a Raily-hosted sign-in, or their own account with your identity provider for a bring-your-own sign-in.

> [!NOTE]
>
> One connector serves the whole workspace, but access is still per person. If the sign-in rejects a member, Claude shows an authorization error.

### Member connection

**1. Open your connectors**

Go to **Customize**, then **Connectors**.

**2. Find the Raily connector**

An Owner already added it. If it is not there, ask an Owner to complete the setup above.

**3. Select Connect**

This starts the sign-in.

Now go to [Sign in to Raily](#sign-in-to-raily).

## Sign in to Raily

After you add or connect the endpoint, Claude opens the Raily sign-in flow. What appears after the first Raily screen depends on the endpoint's sign-in provider.

**1. Confirm the connection**

The first screen is headed **Connect Claude to** the Organization name shown to users. It lists what Claude will be able to do: view your email address, view your basic profile, and remember the connection. Check the client and Organization, then select **Continue**. **Cancel** stops the connection.

![The first Raily screen, asking to connect Claude to an Organization, with Continue](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-consent-01-connect.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=42702768ce7581afda433fcf9c362ff7)

**2. Continue with the sign-in provider**

For a **Raily-hosted** sign-in, use the granted email address. A different account may be refused.

For a **bring-your-own** sign-in, Raily sends you to the identity provider configured for the endpoint. Use your normal account there and complete any prompt that provider shows. Your provider controls who may continue.

**3. Finish a Raily-hosted sign-in**

This step appears only for a Raily-hosted sign-in. The second Raily screen shows **Signed in as** your address and what the app will be able to do, including searching your endpoint. If the address is wrong, use **Not you? Switch account** rather than continuing. Otherwise select **Allow access**.

![The second Raily screen, showing the signed-in address and Allow access](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-consent-03-allow-access.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=adabaec675f83655627b8240ae0e8413)

> [!NOTE]
>
> The consent flow lets Claude use the endpoint as your signed-in identity. It does not create or widen a Raily-hosted endpoint grant. Check the Organization name and signed-in account before you continue.

Claude takes you back, and the connector now shows as connected.

![The connectors list showing the custom connector as connected](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-personal-03-connected.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=e699b296284a304e630fccd38b536d3d)

## Set tool permissions

Open the connector from **Customize**, then **Connectors**, and look at **Tool permissions**. A new connector starts at **Needs approval**, which means Claude checks with you before it uses the search tool.

Keep **Needs approval** if you want to approve each search. Choose **Always allow** to let Claude search without asking first. **Blocked** turns the tool off without disconnecting it.

![Tool permissions for a connector, with the search tool set to Needs approval and the other choices open](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-personal-04-tool-permissions.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=9fb38bf4f01734b76c3d3e3a3b3f9cf1)

## Turn the connector on

A connected connector is not automatically active. You switch it on from the composer.

In a conversation, select **+**, open **Connectors**, and switch Raily on.

![The plus menu in the composer, with Connectors open and the connector switched on](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-shared-03-enable-in-chat.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=0e663a684bcfbdf4ef502eb9b5791668)

## Check that it works

A connected status confirms that Claude completed authorization. It does not confirm that search returns results.

Ask a question that your source content answers. Confirm that Claude uses your content rather than general knowledge.

![An answer in Claude showing article cards returned by the connected endpoint](https://mintcdn.com/railyai/SMGXYipKzkq9y5iz/images/claude/claude-shared-04-result.png?fit=max\&auto=format\&n=SMGXYipKzkq9y5iz\&q=85\&s=c1be1ca9d5152cf2ed4d0058cfc163cd)

## Troubleshooting

**There is no option to add a custom connector.**
On a Team or Enterprise workspace only an Owner can add one. Being an admin is not enough. Ask an Owner to do the setup above.

**The connector is missing from your list on a managed workspace.**
An Owner has not added it yet, or added it to a different workspace.

**You already have a custom connector on a Free account.**
Free accounts are limited to one. Remove the other connector or move to a paid plan.

**Authorization fails.**
For a Raily-hosted sign-in, confirm that the account matches the granted email and that the grant covers this endpoint. For a bring-your-own sign-in, check that your identity provider admits the account and that its provider configuration is valid in Raily.

**You connect successfully, but every search is empty.**
Ask a question you know the endpoint's source can answer. If the result is still empty, check the source data, indexing status, saved search configuration, and query.

**You reach one endpoint but not another.**
Each endpoint has its own connect link. With a Raily-hosted sign-in, confirm that the grant scope includes the other endpoint, then ask for that endpoint's link. With a bring-your-own sign-in, confirm that the endpoint uses your provider and that the provider admits your account, then ask for its link.

**You had access and lost it.**
With a Raily-hosted sign-in, an administrator may have changed or removed your endpoint grant; that change applies on your next request. With a bring-your-own sign-in, check your account in your identity provider, then ask the administrator to check the provider's status and configuration in Raily.

**The connect link does not work at all.**
Check that you pasted the whole URL. A truncated link fails at the first request.

**The connector is connected, but Claude answers from general knowledge.**
Connected does not mean enabled for the current conversation. Open **+**, then **Connectors**, and check that Raily is on before you ask again.

## Next steps

> [card] [Connect to ChatGPT](https://docs.raily.ai/connect/chatgpt.md)
>
> Follow the ChatGPT setup

> [card] [Add and manage users](https://docs.raily.ai/features/users.md)
>
> Grant Raily-hosted user access


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.