A Claude Code web MCP connector can return the same documentation link as a server you configured in the terminal. If you add the connector while the local entry still exists, the link alone leaves you guessing which registration Claude used. Test a successful lookup through the local entry first. Then save the account connector, remove the local entry, and look for a new call in a fresh terminal session.
This tutorial is for a developer with an individual Claude Pro or Max account, a supported Claude Code CLI, browser access and a disposable project directory. The worked example uses one public OpenAI documentation endpoint for both sessions. You’ll finish with a saved account connector and a terminal turn that shows it looking up a streaming question. The commands are for you to run, and the described outputs are illustrative expected observations.
Set up the two-session comparison
- Choose a disposable directory. An empty directory outside your usual repositories works. Open a terminal there and use it for the whole exercise. Local MCP scope is tied to you and the current project. If you switch directories between tests, the baseline entry can disappear from view even though you never removed it. A disposable directory also gives you a place to reproduce the local entry without editing a shared MCP file. Claude Code MCP quickstart
- Check the installed CLI and its sign-in. Run the version and authentication checks below. For this Pro or Max example, the CLI reference documents v2.1.330 or later for
--web. It gives v2.1.332 as the minimum for Team and Enterprise, which have different connector administration. Anthropic’s December 3, 2026 v2.1.335 release notes list the command for paid plans. If your shell reports an older binary, check the installation you actually invoke after updating. Claude Code CLI reference · Anthropic’s v2.1.335 release notes - Match the browser and terminal accounts. The illustrative
claude auth statusoutput should showclaude.aias theauthMethod. Inside an interactive session,/statusdisplays the account. Compare that identity with the account open in the browser before using the connector form. Authentication method and account identity answer different questions. A successful Claude sign-in in both places can still point to two different accounts. Claude Code CLI reference · Claude Code commands - Check for competing registrations. In the browser, open Customize → Connectors and check for an existing connector for
https://developers.openai.com/mcp. In the exercise directory, look for the same address under any name inclaude mcp list. The baseline needs the example’s local entry alone for this endpoint. If the account already has a docs connector you rely on, preserve it. You can use the account verification criteria below to inspect that setup without putting your existing connector through this exercise’s removal and rollback. Claude Help Center’s custom connector guide · Claude Code MCP quickstart
claude --version
claude auth status
claude mcp list
The version check applies to the binary in the terminal where you’ll run the commands. If you’ve installed Claude Code through more than one method, check that terminal again after any update. See the Claude Code update and rollback guide.

Anthropic’s Claude Code v2.1.335 release on GitHub lists claude mcp add --web for paid plans. The CLI reference gives the minimum versions.
The URL in this example is OpenAI’s public Streamable HTTP MCP endpoint. It provides read-only documentation search and page content, and it needs no server credentials. The Claude sign-in gives the CLI access to your Claude account. The example asks that signed-in client to fetch public documentation, so there’s no OpenAI API key or API request to prepare. A short public question also lets you verify the lookup without including a repository file, customer data or application credentials. OpenAI Docs MCP · OpenAI’s MCP servers guide
If the project already has the example CLI entry, confirm the name openaiDeveloperDocs, the Local scope and the entire https://developers.openai.com/mcp address before proceeding. Those values determine which entry the removal command targets and what the rollback recreates. If a real project uses a different scope or another team owns the entry, rehearse in your disposable directory and leave that registration in place. See the Claude Code MCP installation scopes guide.
Get a visible tool call from the local entry
- Register the HTTP server from the shell. Run the first line if the test entry is absent. The
--scope localargument explicitly chooses the current project’s private entry. The--transport httpargument selects the hosted HTTP transport. Expect an add confirmation for the local configuration, then usegetto check the scope and full URL. Uselistto see the connection status. A saved configuration and a successful connection are separate observations. Claude Code MCP quickstart · OpenAI Docs MCP setup for Claude Code - Open the terminal session and inspect
/mcp. Start plainclaudefrom that directory and type/mcpinside the session. Find the local docs entry and check that it is connected. If you see a tool-fetch failure, inspect the server before asking the question. The shell commands manage CLI registrations, while/mcplets you inspect the tools in the session where you’ll actually send the prompt. Claude Code commands · Claude Code MCP quickstart - Ask for one public documentation lookup. Paste the question below. If Claude Code asks for tool permission, check that the tool and its arguments match the public streaming lookup before approving that call. Watch the tool activity for the server name and check that the call returns a useful result. Then read the reply for the OpenAI documentation link. Anthropic’s quickstart explains that the server name labels tool activity. Claude Code MCP quickstart
claude mcp add --scope local --transport http openaiDeveloperDocs https://developers.openai.com/mcp
claude mcp get openaiDeveloperDocs
claude mcp list
claude
Use the OpenAI developer documentation MCP server at https://developers.openai.com/mcp to look up how to stream Responses API output. Briefly explain how streaming is requested and return a relevant OpenAI documentation link from the tool result. If you cannot use the documentation MCP server, say so.
An illustrative baseline is a successful tool call labeled for openaiDeveloperDocs, followed by a reply citing the streaming guide. OpenAI’s example for a search about Responses API streaming shows https://developers.openai.com/api/docs/guides/streaming-responses as a returned URL. That’s a useful reference for checking relevance. A different official URL can also satisfy the question if it came from the tool result and covers streaming Responses output. OpenAI’s illustrative streaming search
Write down the tool label as the terminal displays it and the URL Claude returned. A result about streaming Chat Completions, for instance, would miss the requested API even if it came from the right server. When the reply has a useful link but the turn shows only a built-in web tool, repeat the prompt after confirming the MCP tools are available. If the docs tool returns an error, use that error to investigate the baseline before saving the account connector. A working baseline gives you something specific to restore if the account connector fails.
Save the account connector in your browser
- Exit the baseline session with
/exit. In your shell, run the command below. Useopenai-docs-accountas the new connector name and leave the endpoint identical, including the path. The different names give you a way to identify the two registrations even though the public service behind them is the same. Claude Code CLI reference · Claude Code commands - Complete the addition on claude.ai. The command sends you to the site to finish. Check the account, connector name and URL. Select Continue if shown. If the form asks how users authenticate to the server, choose No sign-in. Leave request headers empty and select Add. The documented browser entry point for Pro and Max is Customize → Connectors → Add → Add custom connector if you need to find the form. Check Customize → Connectors for the saved name before moving on. Claude Help Center’s Pro and Max instructions · Claude’s guide to adding an unlisted connector
- Use the browser list to confirm the save. Both registrations can now refer to the same address. If your client displays a same-address warning, use it as a cue to check for a duplicate and proceed to the isolated test. The CLI reference and quickstart establish the browser handoff and account loading. For the exact warning and precedence for your installed version, consult the full MCP reference linked from the quickstart. The comparison below establishes which entry worked by isolating the two tests. Claude Code CLI reference · Claude Code MCP quickstart
claude mcp add --web openai-docs-account https://developers.openai.com/mcp
The browser save tells you that the intended account now has a connector. Keep the baseline in place if the browser step fails or the saved entry lands under a different account. Once the correct account shows the connector, you can remove the baseline and launch a new session. The quickstart says Claude Code loads Claude.ai connectors when you sign in with that account. Starting fresh also keeps the previous answer out of the new conversation, where it might otherwise make a look-alike reply easy to produce. Claude Code MCP quickstart
Remove the local entry and verify the account call
- Remove the named local registration. From the original directory, run the scoped removal command below. Inspect the confirmation for
openaiDeveloperDocsand local scope. Checkclaude mcp listfor any remaining CLI-configured copy of the full URL. A second entry can have a different name, so search by address as well. If an unexpected entry belongs to another workflow, preserve it and find a test setup where the account lookup can be attributed. Claude Code MCP quickstart - Start a fresh interactive session with
claude. Open/mcpand identify the connector you saved on the account. The exercise’s local entry should be absent. If a connector is visible but has a connection problem, inspect its state and tool list before repeating the prompt. If the account entry is missing, start with the account and settings checks in the next section. Claude Code MCP quickstart · Claude Code commands - Paste the identical streaming question. Inspect the visible tool call and the link in the final reply. Compare any unfamiliar tool label against the connector details in
/mcp. The account registration, the absence of the duplicate CLI entry and the labeled call together give you a basis for attribution. A successful invocation with a relevant link completes the account test. Claude Code MCP quickstart
claude mcp remove openaiDeveloperDocs --scope local
claude mcp list
claude
| Input | Action | Expected result |
|---|---|---|
task:docs-connector-01 · openaiDeveloperDocs at Local scope in a disposable project, https://developers.openai.com/mcp |
Run claude mcp get openaiDeveloperDocs, launch claude, inspect /mcp and send the streaming question above. |
Illustrative. get shows Local scope, /mcp shows the connected server and the turn shows its tool call and returns an OpenAI streaming documentation link. |
task:docs-connector-01 · local entry still configured, same paid account in shell and browser |
Run claude mcp add --web openai-docs-account https://developers.openai.com/mcp and finish with Add on claude.ai. |
Illustrative. openai-docs-account is visible in Customize → Connectors. Perform the next terminal lookup after scoped removal and restart. |
task:docs-connector-01 · openai-docs-account saved and openaiDeveloperDocs confirmed local |
Run claude mcp remove openaiDeveloperDocs --scope local, check claude mcp list, launch claude, inspect /mcp and paste the identical question. |
Illustrative. The local entry is absent, the account connector appears in /mcp, and a call associated with it returns material for a relevant OpenAI documentation link. |
The useful comparison is between the two turns that actually did the lookup. For example, a connected account connector and a successful call returning only an unrelated page establish that the tool ran, while the lookup still needs work. A correct reply without visible MCP activity leaves the registration unverified. Keep the two turns available until you can pair each call with its returned link and connect the account turn to the post-removal state. See how to verify a tool call with MCP Inspector and what to preserve for session replay.
Suppose your baseline and account turns both cite the streaming guide in OpenAI’s example. Open each turn’s tool activity. In the baseline, associate the call with openaiDeveloperDocs. In the fresh session, associate it with the connector you found in /mcp. Keep the matching URL in your notes as evidence of the lookup’s relevance. Use the two different registration labels and the scoped removal confirmation to establish what changed. If either call label cannot be tied to the expected registration, record that turn as inconclusive and check the active configuration before trying again.
Diagnose a missing connector or missing tool call
| What you see | What to do next |
|---|---|
| The browser opened, but the connector is absent from Customize → Connectors. | Check the browser account and whether you selected Add. Verify the URL and finish the form before removing the local entry. |
The browser shows the connector, but fresh /mcp lacks it. |
Compare the account in /status with the browser account. Check the version and active settings sources in a plain interactive session. |
| The old CLI entry still appears after removal. | Check the working directory, run claude mcp get openaiDeveloperDocs, and look for other names using the same URL. Confirm the scope before changing a second entry. |
| The baseline connects but its tools fail to load. | Select the server in /mcp and use claude mcp get openaiDeveloperDocs for CLI-side details. Compare the configured URL with the provider’s documented path. |
| The connector is present and the answer has no visible docs call. | Check its tools in /mcp, repeat the same question and inspect any tool approval prompt. Mark the test incomplete if the expected call never happens. |
If account identity matches, use the Setting sources line in /status to find the settings files in effect. Anthropic documents that disableClaudeAiConnectors: true is honored from any scope, even when a managed source sets false. A value in the exercise project’s local settings can explain why an entry visible in the browser never appears there in Claude Code. If you added the value yourself for testing, restore the prior setting and open a fresh session. Keep existing managed restrictions in effect. Claude Code settings files and precedence · Claude Code commands
You can also open a new session in another empty directory with the same account. For an illustrative diagnosis, suppose the connector appears in that second directory and the first one has a project-local settings source. Inspect that source for the setting before editing it. If neither directory shows the connector, revisit browser completion, account identity and settings that apply in both places. A successful call in the second directory verifies availability there. Return to the original directory to finish the project’s test or restore its baseline. Claude Code settings files and precedence
A saved account connector with a connection error raises a different question. Anthropic’s custom connector guidance says the remote service must be reachable from Anthropic’s infrastructure over public HTTPS on port 443. A local baseline can succeed while the account connector still has a reachability or configuration problem. For this exercise, compare the saved address with the precise public endpoint, including /mcp, and check the authentication choice before trying another lookup. OpenAI documents this server as unauthenticated. If the CLI-side baseline hangs at startup, see the Claude Code MCP timeout guide. Claude Help Center network requirements · OpenAI Docs MCP
Roll back to the original project registration
- Choose the control that matches the intended scope. To keep the account entry and suppress Claude.ai connectors in your disposable project, use
disableClaudeAiConnectorsin.claude/settings.local.json. Its scope covers the group of account connectors in that project. If you try it, merge the key into existing strict JSON and restore the prior value when you finish. For a single browser conversation, Anthropic documents a connector toggle in the chat’s + menu. Claude Code settings files and precedence · Claude’s custom connector guide - Remove the account entry for a full rollback. On the same account, open Customize → Connectors, select
openai-docs-account, open its three-dot menu, choose Remove and confirm. Check that the exercise connector is absent from the account list. The confirmation identifies the browser-side change independently from whatever the terminal displays. Claude’s removal instructions · Claude Help Center - Restore local access from the original project directory. Exit the account test session and use the block below. If you paused before removing the baseline and
getalready shows the right name, Local scope and URL, skip the add command. Launch a new session and use/mcpto check the restored entry. Ask the same streaming question. The illustrative rollback result is a successful visible local call and an official streaming link while the browser list lacks the exercise connector. Claude Code MCP quickstart · OpenAI Docs MCP
{
"disableClaudeAiConnectors": true
}
The JSON is the complete example for a disposable .claude/settings.local.json with no other keys. For a full rollback, the browser removal and local registration are sufficient. If you added this setting during troubleshooting, undo your test edit so future sessions in the project use the configuration you intended.
claude mcp add --scope local --transport http openaiDeveloperDocs https://developers.openai.com/mcp
claude mcp get openaiDeveloperDocs
claude mcp list
claude
If restoration returns a duplicate-name error, inspect the existing definition with get before making another change. An entry that already has the intended scope and address can be checked directly in a new interactive session. A definition for another address or scope calls for a closer look at the project and the registrations you started with. Preserve that definition while you resolve which one the exercise created. Claude Code MCP quickstart
Sources
- Anthropic · Claude Code v2.1.335 release notes
- Anthropic · Claude Code CLI reference
- Anthropic · Connect to MCP servers
- Anthropic · Claude Code commands
- Anthropic · Get started with custom connectors using remote MCP
- Anthropic · Add a connector that isn’t in the directory
- Anthropic · Settings files and precedence
- OpenAI · Docs MCP
- OpenAI · MCP servers

