MCP Server Not Working? header with a lantern on a navy background

MCP Server Not Working? Check These Three Things First

If your MCP server isn't working, check three things in order: can the server be reached, is your client config right, and are auth or permissions blocking you? This order helps you narrow down the problem without rewriting a config that was fine all along.

This guide covers both local servers (which run on your machine) and remote ones (which run on the web). If you're not sure which kind you have, read Remote MCP vs Local MCP first.

Start with the symptom

Write down what you actually see before you change anything. Common ones:

  • The client says it can't connect, or the server never shows up.
  • The server shows up, but no tools are listed.
  • Tools are listed, but calling one returns an error.
  • It worked yesterday and stopped today.

"Can't connect" usually points to problems 1 or 2. "Connected but tools fail" often points to problem 3, or to something inside the server itself.

1. The server can't be reached

For a remote server, the first question is whether it's up and responding at all. You can check this before you touch your own setup.

Every listing on MCP Lantern shows the result of our latest automated MCP status check and when it ran. Some listings show "Online (auth required)", which means the server answered but wants you to sign in.

Be clear about what that check does and doesn't tell you. A status of online means the endpoint responded to our check at the time shown. It doesn't prove:

  • that it's up right now (the check has a timestamp for a reason),
  • that it's reachable from your network, VPN or company firewall,
  • that your account or token will work,
  • that every tool works or returns correct data,
  • that the server is safe to use. Status isn't a security review.

If the listing shows it offline, try again later or contact the owner. If it shows online but you can't connect, check your config next.

For a local server, "reachable" means the process actually starts. Local servers talk to the client over standard input and output (stdio) [1]. If the command fails, the client has nothing to talk to.

2. The client config is wrong

A config mistake can be as small as one character.

Each client (Claude Desktop, Claude Code, Cursor, and others) has its own config format. Use the setup steps from your client's docs and the server's README, not a format copied from a different client. Things to check:

For local servers:

  • The command exists on your machine (for example, Node or Python is installed and on your PATH).
  • The package name and version match the README exactly.
  • Required environment variables are set in the config, not only in your shell.
  • File paths are absolute if your client needs them to be.

For remote servers:

  • The URL is exactly right: protocol, domain, path and no stray characters.
  • The client supports the transport the server uses. The current MCP spec defines stdio and Streamable HTTP [1]. Older servers may still use the earlier HTTP+SSE transport.

After editing the config, fully restart the client. Many clients only read it at startup.

Test the server on its own with MCP Inspector

To tell a server problem from a client problem, test the server without your client. The official MCP Inspector is a testing and debugging tool [2]. You start it with:

npx @modelcontextprotocol/inspector

From there you can connect to a local or remote server, see whether it starts, list its tools, and try calling one. If it works in Inspector but not in your client, check your client config. If it fails in Inspector too, check the server and your auth. Only try tools you understand, since a tool call does the real thing the tool is built to do.

3. Auth or permissions are blocking you

A server can be online and correctly configured and still refuse you. Common causes:

  • Missing or expired token. API keys and access tokens expire or get revoked.
  • OAuth not finished. Many remote servers make you sign in through the browser. Under the MCP authorization spec, a protected server answers an unauthorized request with HTTP 401 [3]. If your client never opens a sign-in flow, check whether it supports OAuth for that server.
  • Wrong scopes or permissions. The spec lists HTTP 403 Forbidden for invalid or insufficient scopes [3]. You're signed in, but your token can't do what the tool needs.

This is also why "connected, but a tool fails" is so common. The connection and tool listing can work while one tool fails because your account can't reach that data, a rate limit kicked in, or a service behind the server is having trouble. Being online doesn't mean every tool works.

When to check logs and ask the owner

If none of the three checks finds the problem, look at the logs. The official debugging guide explains where clients like Claude Desktop write MCP logs and what to look for [4]. If you're building a local server, keep logs off stdout because it is reserved for protocol messages [4].

After that, go to the people who know the server best. Open an issue or contact the owner listed on the server's page. Include your client and version, the server version, the exact error, and what you've already checked. That turns "it doesn't work" into something they can actually fix.

None of this is guaranteed to fix every problem, since every server is built differently. Working through it in order—reachable, configured, authorized—helps narrow down the problem. If you're building your own, How to Create a Simple MCP Server is a good starting point.

References

  1. Transports – Model Context Protocol Specification (2025-06-18)
  2. MCP Inspector – Model Context Protocol
  3. Authorization – Model Context Protocol Specification (2025-06-18)
  4. Debugging – Model Context Protocol

Published · More posts