Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · claude-docs

One read of Claude Documentationclaude-docs-20261203T143708Z

2 pages moved out of 299 read.

Pages moved 2 significant first
Pages read 299 in this capture
Captured 14:37 UTC
Corpus hash 10a9382bf4f5 corpus-hash

What this read moved

1-2 of 2

connectors/building/authentication Changed · +5 / -5 lines

from line 5
55A remote MCP server can let Claude in one of three ways:
66 
77* **OAuth 2.0**: each user signs in to your service with their own account when they connect
8* **A static credential**: an organization Owner enters an API key or bearer token once when adding the connector, and Claude sends it in a request header on every call. This is in beta
8* **A static credential**: Claude sends an API key or bearer token in a request header on every call. On a custom connector, the person who adds the connector enters it once
99* **No authentication**: the server accepts requests from anyone who has its URL
1010 
1111This page is for developers building a remote MCP server that people use in Claude. The same authentication infrastructure backs claude.ai, Claude Desktop, Claude mobile, Claude Code, and Cowork, so the requirements here apply to all of them.
from line 36
3636| `oauth_cimd` | OAuth 2.0 with [Client ID Metadata Document](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#client-id-metadata-documents) | Supported by default |
3737| `oauth_anthropic_creds` | OAuth 2.0 with [Anthropic-held client credentials](#anthropic-held-client-credentials) | Supported. [Enter the client in the developer portal](#enter-your-oauth-client-in-the-developer-portal) |
3838| `custom_connection` | Custom URL or OAuth client credentials [entered at connection time](#credentials-entered-at-connection-time) | Contact `[email protected]` |
39| `static_headers` | Fixed credential (API key or bearer token) entered by an organization Owner as a request header when adding the connector | Beta, for a limited set of organizations |
39| `static_headers` | Fixed credential (API key or bearer token) sent as a request header. On a custom connector, the person adding the connector enters it | Custom connectors on Free, Pro, Max, Ultra, Team, and Enterprise plans |
4040| `none` | No authentication (authless server) | Supported by default. To leave some tools open and require sign-in for others, see [Lazy authentication](https://claude.com/docs/connectors/building/lazy-authentication.md) |
4141 
4242If your server URL varies per customer, read [Servers with per-customer URLs](#servers-with-per-customer-urls) before you pick a type.
from line 43
4343 
4444### Static credentials in request headers
4545 
46With a static credential, an organization Owner enters an API key or bearer token once when they add your connector, and Claude sends it in a request header on every call from anyone in that organization. This type is in beta and available to a limited set of organizations. Owners whose organization doesn't have access don't see the **Request headers** section when they add a connector. If your server uses it:
46With a static credential, Claude sends an API key or bearer token in a request header on every call. Custom connectors can use it on Free, Pro, Max, Ultra, Team, and Enterprise plans, and the person who adds the connector enters the credential once. On Team and Enterprise plans, an Owner adds the connector and enters the credential for everyone in the organization. If your server uses it:
4747 
4848* **Read the credential from a request header**: standard authentication header names such as `authorization`, `x-api-key`, and `x-auth-token` work for every connector. If you need a different header name, Anthropic has to approve it before Owners can save the connector, so ask `[email protected]` first
4949* **Never accept it in the URL**: don't read tokens from query parameters such as `?token=` or `?apiKey=`. URLs end up in server logs, proxies, and browser history, and the MCP authorization specification [prohibits access tokens in the query string](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#token-requirements)
from line 140
140140 
141141### Credentials entered at connection time
142142 
143`custom_connection`, labeled **Custom URL or credentials at connection time** in the submission portal, asks each customer for the OAuth client that Claude should use, instead of Claude registering one or Anthropic holding one.
143`custom_connection` asks each customer for the OAuth client that Claude should use, instead of Claude registering one or Anthropic holding one.
144144 
145145Each customer must be able to create an OAuth client in your product, which usually means an administrator sets up the connector for their organization. If your customers can't create OAuth clients, use CIMD or DCR instead.
146146 
from line 253
253253 
254254* **Support CIMD or DCR**: customers can then connect without registering a client with you first. See [DCR and CIMD details](#dcr-and-cimd-details) for what each needs from your authorization server
255255* **Require a client secret only for confidential clients**: the secret is optional in the dialog, so customers need one only if your authorization server requires confidential-client authentication
256* **Use request headers for a fixed API key or token**: for servers that authenticate with a fixed credential rather than OAuth, request header authentication (`static_headers`) is available in beta. See [Supported authentication types](#supported-authentication-types) and [Authenticate with request headers](https://claude.com/docs/connectors/custom/add-unlisted.md#authenticate-with-request-headers) for what Owners see
256* **Use request headers for a fixed API key or token**: for servers that authenticate with a fixed credential rather than OAuth, request header authentication (`static_headers`) is available on Free, Pro, Max, Ultra, Team, and Enterprise plans. See [Supported authentication types](#supported-authentication-types) and [Authenticate with request headers](https://claude.com/docs/connectors/custom/add-unlisted.md#authenticate-with-request-headers) for what customers see when they add your server
257257 
258258## Network reference
259259 

connectors/custom/add-unlisted Changed · +61 / -55 lines

from line 50
5050 
5151**2. Add a custom connector**
5252 
53Select **Add**, then **Custom**. If Claude asks for the connector type, choose **Web**.
53Select **Add** or **Add connector**, then the option that adds a custom connector. If Claude asks for the connector type, choose **Web**.
5454 
55**3. Enter a name and the server URL**
55**3. Enter the server URL**
5656 
57Enter a name for the connector and the remote MCP server URL. If the dialog shows **Continue**, click it.
57Enter the remote MCP server URL. If the dialog shows **Continue**, click it.
5858 
59**4. Choose authentication settings**
59**4. Check the name and the sign-in settings**
6060 
61Choose how people sign in, and enter any credentials the server needs. Keep any option marked **Detected** unless the server's documentation says otherwise. See [Choose authentication settings](#choose-authentication-settings).
61Check the connector's name, or enter one. Choose how people sign in, and enter any credentials the server needs. Keep any option marked **Detected** unless the server's documentation says otherwise. See [Choose authentication settings](#choose-authentication-settings).
6262 
6363**5. Add the connector**
6464 
from line 66
6666 
6767#### Connect as a member
6868 
69Once an Owner has added the connector, each member connects to it with their own account:
69Once an Owner has added the connector, each member finds it in their connectors:
7070 
7171**1. Open your connectors**
7272 
from line 78
7878 
7979**3. Connect**
8080 
81Click **Connect** to authenticate.
81If the connector shows **Connect**, click it, and sign in if the server asks you to.
8282 
8383### On a Free, Pro, Max, or Ultra plan
8484 
from line 92
9292 
9393Select **Add**, then **Add custom connector**.
9494 
95**3. Enter a name and the server URL**
95**3. Enter the server URL**
9696 
97Enter a name for the connector and the remote MCP server URL, then click **Continue**.
97Enter the remote MCP server URL, and a name if the dialog asks for one. Then click **Continue**.
9898 
99**4. Choose authentication settings**
99**4. Check the name and the sign-in settings**
100100 
101If Claude can read the server's settings, it selects them and marks them **Detected**. Keep those options unless the server's documentation says otherwise, and enter any credentials the server needs. To learn what each option does, see [Choose authentication settings](#choose-authentication-settings).
101If the dialog shows a **Name** field, check the name, or enter one. If Claude can read the server's settings, it selects them and marks the sign-in choice **Detected**. Keep those options unless the server's documentation says otherwise, and enter any credentials the server needs. To learn what each option does, see [Choose authentication settings](#choose-authentication-settings).
102102 
103103**5. Add the connector**
104104 
from line 106
106106 
107107**6. Connect**
108108 
109If the connector shows **Connect**, click it and sign in.
109If the connector shows **Connect**, click it, and sign in if the server asks you to.
110110 
111111### Choose authentication settings
112112 
113The layout of the **Add custom connector** dialog varies by organization. If yours shows everything on one screen, find the OAuth client and request headers under **Advanced**. If yours has two steps, it asks you to choose among the settings in this section.
113The **Add custom connector** dialog has more than one form, and the forms name some of these settings differently. Where this section gives two names, use the one that your dialog shows.
114114 
115For **MCP server URL**, enter the HTTPS address where the server accepts MCP requests, for example `https://mcp.example.com/mcp`.
115For the server URL, enter the HTTPS address where the server accepts MCP requests, for example `https://mcp.example.com/mcp`.
116116 
117For **Authentication**, choose how people connect to the server:
117Choose how people connect to the server:
118118 
119* **Sign in now**: each user signs in through the server's OAuth flow before using the connector
120* **Sign in when needed**: Claude connects without credentials and prompts users to sign in when the server asks
121* **No sign-in**: anyone with access to the server URL can use the connector. If the server uses an API key, choose **No sign-in** and add the key under **Request headers**. Claude stores the key as the connector's credential
119* **OAuth** or **Sign in now**: each user signs in through the server's OAuth flow before using the connector
120* **Sign in when needed**: Claude connects without credentials and prompts users to sign in when the server asks. If you don't see it as a choice, choose **OAuth** and turn it on in the three-dot menu under **Other options**
121* **API key**: everyone who uses the connector shares the key that you enter, and Claude stores it as the connector's credential. If the dialog doesn't offer **API key**, choose **No sign-in** and add the key under **Request headers**
122* **No sign-in**: anyone with access to the server URL can use the connector
123* **Auto-connect**: where the dialog offers it, members connect without signing in themselves. You [set it up](https://support.claude.com/en/articles/15537633-auto-connect-your-organization-s-apps-to-claude) after you add the connector
122124 
123For **OAuth client**, choose how Claude identifies itself to the server's authorization server. You see this setting unless you chose **No sign-in**.
125For **OAuth client**, choose how Claude identifies itself to the server's authorization server. You see this setting unless you choose **API key** or **No sign-in**. Keep the option that Claude selected unless the server's documentation says otherwise.
124126 
125* **Use Claude's published identity**: the recommended option. The server reads Claude's client details from a Client ID Metadata Document that Anthropic hosts. You set nothing up, and the server must support this method
126* **Register automatically**: Claude registers OAuth clients with the server as users connect, using Dynamic Client Registration. This works with most servers and adds client registrations over time
127* **Use your own OAuth client**: enter a client ID you registered with the server. Leave the secret blank unless your authorization server requires one. See [Authentication for connectors](https://claude.com/docs/connectors/building/authentication.md)
127* **Claude's OAuth client (CIMD)** or **Use Claude's published identity**: the recommended option. The server reads Claude's client details from a Client ID Metadata Document that Anthropic hosts. You set nothing up, and the server must support this method
128* **Automatic registration (DCR)** or **Register automatically**: Claude registers OAuth clients with the server as users connect, using Dynamic Client Registration. This works with most servers and adds client registrations over time
129* **Your own OAuth client** or **Use your own OAuth client**: enter a client ID you registered with the server. Leave the secret blank unless your authorization server requires one. See [Authentication for connectors](https://claude.com/docs/connectors/building/authentication.md)
128130 
129For **Request headers**, add fixed credentials such as API keys that Claude sends on every request. See [Authenticate with request headers](#authenticate-with-request-headers).
131To send other fixed headers on every request, use **Add extra header** or **Request headers**, whichever the dialog shows. See [Authenticate with request headers](#authenticate-with-request-headers).
130132 
131Change **Advanced > Transport** only if the server's documentation says to. A URL ending in `/sse` selects the older SSE transport.
133If the dialog has **Advanced > Transport**, change it only if the server's documentation says to. A URL ending in `/sse` selects the older SSE transport.
132134 
133135#### Add the GitHub MCP server
134136 
from line 138
136138 
137139* **Base URL `https://api.githubcopilot.com/mcp/`**: you don't register an OAuth client. People sign in to GitHub through a client that Anthropic has already registered with GitHub
138140* **A toolset or read-only URL**, such as `https://api.githubcopilot.com/mcp/x/issues` or a GitHub MCP server URL ending in `/readonly`: these URLs need a GitHub App that you register yourself, entered with both its client ID and its client secret
139* **Read-only tools without a GitHub App**: if your **Add custom connector** dialog has a **Request headers** section, enter the base URL, then in that section choose **Custom header** and enter `X-MCP-Readonly` as the name and `true` as the value, as described in [Authenticate with request headers](#authenticate-with-request-headers). GitHub's server then limits the connector to its read-only tools for everyone who uses it
141* **Read-only tools without a GitHub App**: enter the base URL, then add a request header. Choose **Custom header** and enter `X-MCP-Readonly` as the name and `true` as the value, as described in [Authenticate with request headers](#authenticate-with-request-headers). GitHub's server then limits the connector to its read-only tools for everyone who uses it
140142 
141143To register the GitHub App for a toolset or read-only URL:
142144 
from line 145
1431451. In GitHub's developer settings for your account or organization, [register a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) with `https://claude.ai/api/mcp/auth_callback` as its callback URL.
1441462. Generate a client secret for the App, and copy it along with the client ID.
1451473. Install the GitHub App on each GitHub organization or account whose repositories people need to reach. Installing it on an organization needs the approval of one of that organization's admins.
1464. In the **Add custom connector** dialog, under **OAuth client**, choose **Use your own OAuth client** and enter both the client ID and the client secret. GitHub doesn't issue a token without the secret, so a connector with only a client ID fails when people sign in.
1484. In the **Add custom connector** dialog, under **OAuth client**, choose the option for your own OAuth client and enter both the client ID and the client secret. GitHub doesn't issue a token without the secret, so a connector with only a client ID fails when people sign in.
147149 
148150To stop Claude from using write tools on a GitHub connector that's already added, each person can set those tools to **Blocked** under [**Tool permissions**](https://claude.com/docs/connectors/getting-started.md#manage-or-disconnect-a-connector) on the connector's page.
149151 
150152### Authenticate with request headers
151153 
152> [!NOTE]
153>
154> Request header authentication is in beta and available to a limited set of organizations. If you don't see the **Request headers** section in the **Add custom connector** dialog, your organization doesn't have access yet.
154If your MCP server authenticates with an API key, bearer token, or other fixed credential instead of OAuth, add it to the **Add custom connector** dialog as a request header. Claude stores each header value securely, doesn't show it again after you save, and sends it on every request to your server. Request headers are available on Free, Pro, Max, Ultra, Team, and Enterprise plans.
155155 
156If your MCP server authenticates with an API key, bearer token, or other fixed credential instead of OAuth, configure it in the **Request headers** section of the **Add custom connector** dialog. Claude stores each header value securely, doesn't show it again after you save, and sends it on every request to your server.
156To find where to add a request header, look at how the dialog asks you to choose a sign-in:
157157 
158Request headers suit services where everyone in your organization shares one credential, such as an internal tool or a service account. If each person needs to sign in with their own account, use OAuth instead.
158* **A Sign-in method menu**: to send a key, choose **API key**, enter the key, and under **Send as**, choose the header Claude sends it in. For any other header, click **Add extra header** under **Other options**
159* **Sign-in or Authentication choices, with API key chosen**: enter the key and choose the header Claude sends it in. Add any other headers under **Additional headers**
160* **Sign-in or Authentication choices, with another option chosen**: add headers under **Request headers**. If **API key** is one of the choices, choosing **No sign-in** hides the headers
159161 
162In a dialog with Sign-in or Authentication choices, if you don't see **Additional headers** or **Request headers**, open **Advanced**.
163 
164Request headers suit services that take one fixed credential, such as an internal tool or a service account. On a Team or Enterprise plan, everyone in the organization uses that credential. If each person needs to sign in with their own account, use OAuth instead.
165 
160166You can also use request headers in addition to OAuth, including OAuth with your own pre-registered client credentials. Claude sends the headers on every request alongside the OAuth bearer token. Use this to verify where a request came from, to pass additional client metadata, or to work with tunnels and gateways that need their own routing header. On an OAuth connection you can't configure `Authorization` as a request header, because OAuth uses that header.
161167 
162168#### Add a request header
163169 
164A request header holds a fixed credential, such as an API key, that Claude stores and sends on every request to your server. To add one:
170A request header holds a fixed credential, such as an API key, that Claude stores and sends on every request to your server. To add one where the dialog shows **Request headers**:
165171 
166172**1. Open Request headers**
167173 
from line 193
187193 
188194#### Enter the full header value
189195 
190Claude sends the value exactly as you enter it. It doesn't add an authentication scheme or any other prefix. For an `Authorization` header, include the scheme in the value, as this table shows.
196Under **Request headers**, Claude sends the value exactly as you enter it. It doesn't add an authentication scheme or any other prefix. For an `Authorization` header, include the scheme in the value, as this table shows.
191197 
192198| You enter | Claude sends |
193199| - | - |
from line 200
194200| `Bearer your-token` | `Authorization: Bearer your-token` |
195201| `your-token` | `Authorization: your-token` |
196202 
197Most servers that use bearer tokens reject a value without the `Bearer ` scheme. If your server's documentation shows `Authorization: Bearer YOUR_TOKEN`, enter `Bearer ` followed by your token, including the space. The same applies to Basic authentication, where you enter `Basic ` followed by the base64-encoded credentials.
203Most servers that use bearer tokens reject a value without the `Bearer ` scheme. If your server's documentation shows `Authorization: Bearer YOUR_TOKEN`, enter `Bearer ` followed by your token, including the space. The same applies to Basic authentication, where you enter `Basic ` followed by the base64-encoded credentials. Where the dialog shows **Send as**, **Authorization: Bearer** adds the `Bearer ` scheme, so enter the key alone. For Basic, choose **Authorization (no prefix)**.
198204 
199205### Turn connectors on or off in a chat
200206 
from line 237
231237 
232238Open the three-dot menu on the connector's row.
233239 
234**3. Delete the connector**
240**3. Remove the connector**
235241 
236Select **Delete**, then confirm.
242Select the option that removes the connector, such as **Remove from your team** or **Remove from your organization**, then confirm.
237243 
238You can't change authentication settings after you add a connector. That covers OAuth credentials and request headers. To change them, or to change the connector's URL, remove the connector and add it again with the new details. Members then need to reconnect.
244You can't change authentication settings after you add a connector. That covers OAuth credentials and request headers. To change them, or to change the connector's URL, remove the connector and add it again with the new details. Members who signed in then need to reconnect.
239245 
240246## Install a local connector in the desktop app
241247 
Feedback