A listed MCP server is not a working one. The entry is saved, claude mcp list shows the server, and the first real tool call still fails in front of a user. This hurts most when the tool is used rarely, under pressure, by someone who did not set it up. One real test call proves the connection, and it takes about a minute per server. A green line in a list does not.

MCP configuration is a connection contract

A setup counts as working only when a real tool call returns the expected result, and several separate things have to go right before that call.

Local and remote setups break in different places, so one generic check misleads. A registered local stdio server can fail because its runtime is missing or its working folder is wrong. A listed HTTP server can look fine and still wait for OAuth consent. Each server needs its own test, matched to how it connects and logs in.

Capture the client build before you start:

claude --version
# Expected: a Claude Code version string

Save the version with the server record, because flags, status labels and OAuth handling can change between releases. Keep the server name, its transport, the endpoint or launch command, the connection state and one successful real test.

A lot happens between a saved entry and a working tool. First, Claude Code reads a named definition and uses its transport. With stdio it starts a local process and talks to it through standard input and output. With HTTP it calls a remote endpoint. SSE still works for older event-stream servers, but new remote setups should use the transport the provider documents.

Once connected, the client and server agree on what they support, and the server lists its tools and resources. A server that runs but does not offer the tool you expected is not ready. A remote system may also ask you to log in through an identity provider before it shows its tools or answers the first protected request.

It helps to hold four distinct states in mind:

  1. Configured: the named entry exists.
  2. Reachable: the local process starts or the remote endpoint responds.
  3. Authorized: credentials or OAuth grants are valid.
  4. Functional: an expected tool completes against a controlled target.

The mistake is to treat these four as one green tick. A list command proves only that the entry exists. /mcp shows whether the session is connected and authorized. Only a small real request proves the server is useful.

Local, HTTP, and SSE have different costs

Transport Connection model Good fit Primary operational risk
stdio Claude Code starts a local command File access, local scripts, developer utilities Command, runtime, environment, and filesystem-permission drift
http Claude Code calls a remote endpoint Shared SaaS tools and centrally managed services Network reachability, identity flow, endpoint changes
sse Remote server streams events over SSE Existing MCP services that publish SSE Proxy behavior and legacy transport support

stdio keeps the work and the data on the developer's machine. That suits a local repository or database. But every laptop becomes a small runtime to maintain. Node versions, package-manager rules, PATH and shell variables differ from one developer to the next, and any of them can break a launch. Ten developers means ten setups to keep in line.

HTTP flips the problem. Upgrades and rules are managed in one place, but so are outages. A remote service needs an owner for uptime, revoking credentials, client compatibility and endpoint moves. It also needs testing with the actual Claude Code client, not a browser. Choose a transport by where the tool must run and where data may go. Convenience is a poor tiebreaker: stdio is the easy choice on day one and the wrong one for a service the whole team needs to behave the same way.

One protocol detail changes the third row of the table. The MCP specification of 26 March 2025 replaced the old HTTP+SSE transport with Streamable HTTP. SSE stays only so older servers keep working. Build new remote servers on http. Put any existing SSE endpoint on a migration list instead of copying it into new configs.

Register a local server with a bounded test

Point a filesystem server at a disposable directory, never a home directory or a repository that carries credentials:

mkdir -p "$HOME/mcp-sandbox"
claude mcp add --transport stdio filesystem-sandbox -- \
  npx -y @modelcontextprotocol/server-filesystem "$HOME/mcp-sandbox"
# Expected invariant: Claude Code records filesystem-sandbox as a stdio server

claude mcp list
# Expected invariant: filesystem-sandbox is listed with the stdio transport

Registration only saves the launch instruction. It does not prove that npx can download and run the package on every machine. Open Claude Code and check the session:

/mcp
Expected state: filesystem-sandbox is connected and its filesystem tools are available

Then ask it to list mcp-sandbox. An empty folder is a valid result. If it can reach anything outside the allowed path, that is a scope failure, not a success.

For a production local server, pin the runtime and package versions. An unpinned package can change without any Claude Code upgrade to warn you. Write down the exact launch command and the names of required environment variables. Keep secret values out of config, shell history and committed settings.

Pass credentials through an approved secret store or a controlled launch environment. Where you can, test with a non-production account. The aim is to prove only the access you intend, such as reading one test issue or querying a test database, without giving broad access.

Add a remote endpoint before OAuth begins

Register the stable MCP endpoint, not a product homepage or a generic API URL:

claude mcp add --transport http linear https://mcp.linear.app/mcp
# Expected invariant: a server named linear is registered with the HTTP transport

claude mcp list
# Expected invariant: linear appears as an HTTP server

This confirms the saved name and endpoint. It says nothing about identity or permissions. Open a Claude Code session and check /mcp. Depending on the provider and client version, it may show authentication required, disconnected or connected.

Name servers for what they are, such as linear-prod, linear-staging and linear-readonly, not mcp1. Never use one name for unrelated endpoints. When you replace an endpoint, remove or rename the old entry first. If both stay, someone may log in to one server while the work goes to the other.

Then check you can trust it. Confirm the hostname in the provider's documentation, require HTTPS, and look at the actions the server offers. A tool description does not control access. An account used for tools that create tickets, change records or read customer data should have narrower rights than the person setting it up.

OAuth completes inside the active session

OAuth is usually runtime authorization rather than an extra flag on claude mcp add. Register the HTTP server first, open Claude Code, and begin sign-in from the MCP status view:

/mcp
Expected state before consent: linear requests authentication

Authenticate with the provider in the browser window
Expected state after consent: linear changes to connected or authorized

Depending on the provider, the browser step may happen when you connect or on the first protected request. Come back to Claude Code, check that access was granted, and then run a safe read the signed-in account is allowed to do.

Most OAuth problems are really the wrong identity: the wrong workspace, an account without access to the project, or an unexpected browser profile. A server can look connected until a protected call fails. So test against an object you know the account can access, and note which account you used. If access is revoked, check the session status before you recreate the server. Registering it again may leave old browser sessions or grants in place and hide the real cause.

Connection labels can hide broken capability

The four states from earlier matter most at this point. A connected process can fail its very first request because of a missing dependency, an expired token, an unresolved hostname, or the wrong role.

So build one reproducible proof artifact per server:

Date tested: 2026-08-23
Claude Code version: <output from claude --version>
Server name: filesystem-sandbox
Transport: stdio
Registration command: <approved command>
Expected MCP state: connected
Functional test: list files in ~/mcp-sandbox
Expected result: directory contents only, no access outside the sandbox
Observed result: <pass or failure detail>

For a remote server, add the endpoint hostname and the signed-in account or environment, without secrets. When a reviewer looks later, this record shows the command was actually run and checked, not just copied. For powerful tools, add a blocked-call test too. Check that a read-only account cannot create an issue, or that a filesystem server cannot leave its allowed folder. A refusal proves the boundary holds.

How many blocked-call tests are enough depends on what the server can do. A simple rule: one test for each write action the account should not have, plus one for the edge of the data it may read. A read-only issue-tracker connection needs one blocked call per write tool it exposes, starting with "cannot create", plus "cannot see a restricted project". A filesystem server needs one per allowed folder. If a server offers 14 tools and the account should use 3, the other 11 are where these tests belong.

Shared servers need an owner and fresh evidence

Keep personal experiments where they will not surprise a teammate. Put shared project dependencies where the team can review the commands, the runtime they need and the access they get. Register a personal service at user level only if its permissions and availability suit every project that might call it.

Underneath all of this is ownership. A server used by one developer can be looked after locally. A repository dependency needs a named owner, a documented test target and a clear plan for endpoint or package changes. Shared config with nobody responsible for it is where hidden failures come from.

Keep names stable, because renaming breaks instructions, automation, and support notes. When a new name is required, run both entries for a short while, validate the replacement with the same proof artifact, and retire the old entry on a stated date.

Records also go out of date. Each one describes one client build, one package version and one account. Re-run the registration, status and functional tests after any of four events: a Claude Code upgrade, a server package upgrade, an OAuth provider change or an endpoint move. Compatibility problems usually show up when a tool is called, not as an obvious outage.

Store the record with the owner's documentation and update its version field. Do not assume an old command still works. When a release does break a server, the previous record shows the last working combination of client, package, endpoint and account. The investigation becomes a comparison of two records, not a search through four layers.

The cost is smaller than it sounds. Take an example team with six shared servers. Each gets three checks (status, one allowed call, one blocked call), about a minute each. That is 18 minutes per upgrade. Eight upgrades in a quarter add up to 144 minutes, under two and a half hours. Now compare one incident. Mid-outage, the on-call engineer learns that the paging tool's MCP server lost its OAuth access weeks ago. That costs more than 144 minutes before anyone opens a log.

The fair objection: this is paperwork for tools people use every day. A developer who calls a local filesystem server twenty times a morning will notice within minutes if an upgrade breaks it. A written record adds little there. For daily, personal, mostly read-only tools, that is true. It is not true for servers used rarely and under pressure: incident tools, release automation, anything touched once a month. Those break unseen between uses. So keep records for every shared or privileged server and for anything used less than weekly. For daily personal tools, daily use is the test.