Claude can use an MCP server to retrieve documentation or call other exposed tools, but setup depends on the client. In Claude Code, add a trusted server with claude mcp add and inspect it through /mcp. In Claude's remote connector experience, add the provider's endpoint through connector settings and complete the required sign-in. These are related interfaces, not interchangeable configuration files.
Start with a read-only documentation task: find the current authentication guide, read it and cite its canonical URL. Do not enable publishing or account-management tools just to answer a documentation question.
Pick the right Claude connection path
| Your environment | Connection to configure | First thing to verify |
|---|---|---|
| Claude Code in a project | Server registered with the CLI | Scope, transport and visible tools |
| Claude remote custom connector | Endpoint in connector settings | Workspace permission and provider sign-in |
| Local process in a desktop setup | Client-specific local configuration | Package owner and executable permissions |
Anthropic's Claude Code MCP guide documents CLI registration, scopes and authentication. Its remote connector instructions cover the account-managed connection. Check the current instructions for your specific surface rather than importing a configuration from an unrelated client.
Before connecting: establish documentation identity
Find the endpoint through the publisher's own documentation. A directory listing or a similar server name is not sufficient evidence that a service belongs to the product you use.
Write down the expected publisher, documentation domain, product version, audience and capabilities. For example:
1Purpose: read Example Reports API documentation2Expected source: docs.example.com3Product version: v24Audience: public5Allowed capabilities: documentation search and page retrieval6Excluded capabilities: edit, publish, delete, account managementThis is an evaluation record, not an MCP configuration. Replace the example details with your real provider. If the service cannot explain which corpus it serves, resolve that before sharing private prompts or code with it.
Check the source page in a browser too. A tool can return a plausible answer from the wrong product, an older version or a community article. You need the intended source, not merely a working connection.
Add a remote documentation server to Claude Code
For a provider that documents an HTTP MCP endpoint, the command shape is:
1claude mcp add --transport http --scope local product-docs https://docs.example.com/mcp2claude mcp list3claude mcp get product-docsReplace the reserved example URL with the exact trusted endpoint, including its path. The example deliberately contains no credential. local keeps this initial registration tied to the current project context rather than making a team-wide configuration decision.
Open Claude Code and use /mcp to inspect connection status and complete supported authentication if required. Review the tools before running a prompt. If you see authoring or administrative operations when you expected search and read, stop and choose a narrower server or permission set.
Do not paste an access token into the chat to fix a failed connection. Use the provider's supported OAuth or credential configuration. Keep local secrets out of committed project settings and do not include them in support screenshots.
After the test, you can remove the registration with:
1claude mcp remove product-docsRemoving a client registration and revoking a provider grant are different cleanup steps. If access is no longer needed, review both.
Connect through Claude's remote connector interface
Use the current connector settings and the provider's documented URL. Review the detected sign-in method and requested access before connecting. Organization owners may need to make a connector available before members can use it.
Anthropic documents that remote connectors originate from its cloud infrastructure, including when used through a desktop application. A server reachable only from your laptop or VPN therefore needs a deliberately supported network path; do not disable authentication to make it reachable.
A public documentation endpoint may legitimately require no sign-in. A private source needs a supported authorization flow and server-side access checks. A login to Claude is not itself proof that a separate documentation server knows which private pages you may read.
Run this three-prompt documentation check
Use a new conversation so an earlier pasted answer does not hide a retrieval failure.
1Use the product-docs MCP server to find the current v2 authentication guide.2Return the page title, canonical URL and the relevant setup steps.3If you cannot retrieve the guide, say so instead of reconstructing it.Then ask for a specific exception or limit contained in that guide. Open the cited URL and compare the answer with the source. Check units, version labels, prerequisites and whether the quoted recovery step belongs to the same environment.
Finally, ask a question intentionally outside the published docs. A useful result names the missing information and the next authorized source; it does not invent a product capability to complete the answer.
This checks retrieval behavior, not general model intelligence. Repeat it after changing the server, client version or documentation source.
Test public and private access separately
For a public docs server, confirm that it returns only intended published material. For private documentation, use an approved test account with limited access and a non-sensitive test page. Ask for the allowed page, then a page that identity must not receive.
Also test a guessed URL or page identifier, not only search. Hiding a result from search is insufficient if direct retrieval bypasses the same restriction. Never put a production secret into a test page to check whether it leaks.
DocsAlot's public documentation retrieval and authenticated docs-management surfaces serve different jobs. A successful public connection does not prove that private retrieval or authoring is authorized. For the broader architecture, see MCP vs API.
Troubleshoot by failure stage
| Symptom | Investigate | Avoid |
|---|---|---|
| Server not listed | Registration scope and selected project | Adding duplicate registrations everywhere |
| Authentication repeats | Provider grant, endpoint identity and callback setup | Sharing tokens in chat |
| Tools appear but results are unrelated | Corpus, version and source domain | Treating tool discovery as source verification |
| Search works, page read fails | Returned identifier and per-page access | Broadening permissions without diagnosis |
| One client works, another fails | Transport, auth and supported features | Promising universal compatibility |
Use MCP Inspector to isolate server discovery and tool behavior, then repeat the check in the actual Claude surface. Inspector success does not replace the client test.
For other environments, compare the MCP client acceptance worksheet, Cursor setup and ChatGPT custom MCP setup.
Claude MCP FAQ
Is Claude MCP a separate model?
No. MCP is a protocol used by compatible clients to connect with external capabilities. The connected server supplies tools or context; it does not replace the model.
Can I copy Claude Code settings into every Claude app?
No. Use the setup documented for the surface you are using. CLI registration, remote connectors and desktop local processes have different configuration and network behavior.
Does a documentation connection allow Claude to publish changes?
Only if the connected service exposes authorized write capabilities. For reading documentation, prefer a surface that does not include publishing tools at all.
How do I know Claude used the right documentation?
Inspect the actual tool result and compare its source URL, product version and relevant instructions with the canonical page. A confident answer alone is not evidence of retrieval.