# How to Check That an MCP Server Is Working in Claude Code

> Register an MCP server in Claude Code, confirm the tools are really exposed, and run one small test that proves the connection returns real data.

- URL: https://www.hemory.com/blog/ai-agents/check-mcp-server-working/
- Language: English (en)
- Author: Hemory Team
- Published: 2026-11-14
- Last updated: 2026-11-14
- Summary: An MCP server can register cleanly and still expose no usable tools, so check it in stages. Confirm the entry is listed, inspect the exposed tool list, make one direct call whose answer you can grade, then run a small task that needs real data. Commands are client- and version-specific. Hemory's server exposes Memory retrieval and documented Speaker management, not arbitrary writes.
- Tags: MCP, Claude Code, AI Agents, Hemory

Setup can look finished before it is. You add a server entry, the client accepts it, the name appears, and then you ask the agent for something only that server would know — and it either reports no such tool or calls one and comes back empty. The configuration was accepted; the connection may never have been usable.

Registration, connection, and a usable tool are three separate states, and only the last one tells you the setup is done. This guide checks them in that order, with Claude Code as the client and Hemory as the worked example of a server with a specific job. Command names and configuration syntax belong to the client and change between releases, so use these steps as a structure and read Claude Code's current MCP reference before pasting anything.

## TL;DR

- A server that is registered, listed, and connected can still expose no usable tools. Treat working as three separate checks and do not stop at the first.
- Confirm the server is in the client's MCP list, then inspect the tool list it advertises. Zero tools is a failed setup, however healthy the status looks.
- Your first call should ask for a fact you already know and the model could not guess. Grade three things separately: did a tool run, did it return content, and is the content right.
- Empty results usually point to scope or missing capture rather than broken wiring. Check what the connection is bound to and whether the material was ever recorded.
- Exact commands are version-specific. Copying a command from an older tutorial is a common way to create an entry that never starts.

## Why a registered server is not a working server

Registration is a configuration write. The client records a name, how to start or reach the server, and any credentials. That is all it does. Nothing has to respond for the entry to be saved successfully.

Connection is the next layer: the client starts the process or opens the URL and completes a handshake. A server can handshake and still advertise an empty or broken tool list. And a server with a healthy tool list can still return nothing, because the tools work and the scope behind them is empty, or the token belongs to a different workspace than the one you meant.

| Stage | What it confirms | How it can still be false |
|---|---|---|
| Registered | The client has an entry for the server | The entry sits in a scope you are not currently in, or the launch command in it fails |
| Connected | The client started the process or reached the URL and completed the handshake | The process exits after connecting, credentials have expired, or the server advertises an empty tool list |
| Serving tools | A call returns data you can check | The call errors, or it returns nothing because the connection is bound to a scope with no relevant content |

Each stage fails differently, which is why a single does-it-work test is unreliable. Checking in order tells you where to look.

## Before you start

Three inputs decide whether the check can succeed at all.

**A launch method.** Either a command the client runs locally, which needs to exist on your PATH and start without prompting, or a URL for a hosted server. If the launch command only works inside a particular shell or virtual environment, the client will not see it.

**Credentials scoped to the right thing.** A token that authenticates but is bound to someone else's workspace produces a working connection to the wrong data. That is harder to notice than an authentication failure.

**Content the server can answer from.** A memory server over a scope with no captured conversations returns empty results truthfully. That is the correct answer and a failed test at the same time, so check the input before blaming the wiring.

## Step 1: Register the server

The entry needs a name you will recognize later, the launch method, and any credentials passed as environment variables rather than pasted into the command line. Most clients also let you choose a scope: a project-level entry applies only when you are working in that project, and a user-level entry applies everywhere.

Scope is the most common reason a check fails on a machine where setup clearly appeared to work. You registered in one directory and are testing from another.

In Claude Code, MCP servers are managed through the `claude mcp` command group, and connection status is also visible inside a session. The exact subcommands and the syntax of a server entry differ between releases, so read the current MCP reference instead of a cached snippet. Whatever the syntax, the entry holds the same three parts: a name, a way to launch or reach the server, and credentials.

## Step 2: Confirm the server appears

List the servers the client knows about, from the same directory you set it up in. You are looking for the name, the transport, and a status.

You are not yet judging whether it works. At this stage the only question is whether the client has the entry at all. A missing name usually means a scope mismatch, a configuration file the client is not reading, or a session that started before the entry was added.

## Step 3: Inspect the tools it exposes

Ask the client for the server's details rather than its status. A healthy result shows tools by name, each with a one-line description.

Read that list instead of scanning it. You want tools that match the job you are connecting for: a search or retrieval tool if the server holds conversations, a document tool if it holds files. An empty list, or a list that stops at a connect or ping tool, means the connection exists and the capability does not.

This is also where you learn what the connection can change, not only what it can read. For a Hemory connection, the [Features page](/features/) states that the built-in Q&A capability is opened through MCP as well, and its example shows `search_memory` retrieving across sessions and individual transcript lines. Speaker labeling and management is also documented over MCP, so the connection is not purely read-only — but other write scope is not documented, and you should not assume a tool exists because a similar feature exists in the app.

## Step 4: Make one direct call you can grade

Pick a fact you know is stored and that the model could not supply from general knowledge: an unusual project name, the date of a specific discussion, the exact phrasing someone used. Ask for it with a single clue — a name, a rough time frame, a word you remember.

![Agent session searching a past sync and drafting a follow-up checklist.](/blog-assets/article-images/hemory-memory-qa-agent.webp)

*Retrieve past commitments and draft follow-up tasks.*

Then grade three things separately.

1. **Did a tool actually run?** A confident answer with no tool call tells you about the conversation, not the connection. Sometimes the tool is missing; sometimes the agent decided it was not needed. Ask in a way that cannot be answered otherwise, and prefer a client view where you can see the call.
2. **Did it return content or an error?** An error names its own cause more often than people expect. Read the message before changing anything.
3. **Is the content right?** Compare against a source you can open. A plausible reconstruction is exactly what a failed retrieval looks like from the outside.

An [empty result](/blog/searchable-memory/troubleshoot-conversation-search/) deserves its own reading. It may mean the scope holds no such conversation, the clues do not match how it was actually said, or the tool searched a narrower index than you assumed. On its own it does not mean the server is down.

## Step 5: Run one small task end to end

A direct call proves a tool. It does not prove the connection is useful for what you actually want, because the agent still has to choose the tool, read the result, and use it correctly.

Pick a task with a checkable answer that takes one or two tool calls.

Example: you need to brief a colleague on what a client asked for during an onboarding discussion captured a few weeks earlier. Ask the agent what they said the cutover had to avoid, and who raised it. Then check four things: the attribution, the conditions, whether anything is presented as agreed when it was only proposed, and whether you can trace the answer back to the discussion you remember.

If the result is fluent but vague — they had some timing concerns — the connection is fine and the request was too thin. Add the person, the month, or a phrase you remember.

## When the server is listed but returns nothing

| What you see | What it usually means | Next check |
|---|---|---|
| Server missing from the list | The entry was written to a different scope, or the session started before it was added | List servers again from the directory you set it up in |
| Listed, but no tools | The handshake completed against a server with nothing to offer, or authentication failed after connecting | Inspect the tool list and read the launch output verbatim |
| Tools listed, every call errors | Credentials, or a permission and scope problem | Run the smallest possible call and read the error text |
| Calls succeed but return nothing | The scope holds no matching content, or the clues do not match how it was said | Try a broader clue, then check whether the material was ever captured |

The pattern to watch is a check that passes at one stage and fails at the next without an error. Errors are easy to act on. Silent emptiness is what convinces people the whole setup is broken when one field is wrong.

## What to check on the Hemory side

If the server you are testing is Hemory, four things decide whether a test can succeed.

**The plan.** MCP agent connection appears among included capabilities on every tier shown on the Features page, including the free trial, so testing the connection does not require an upgrade.

**The client.** Hemory publicly lists Claude Code, Codex, Gemini, Cursor, VS Code, OpenClaw, and Hermes among supported clients and exposes a standard MCP server capability. A public listing is not the same as independently tested connection steps for each client, so your client's own documentation remains the source for how to register it.

**The scope.** The Features example binds the connection to the current Vault. If the conversations you are testing against live somewhere else, the tools will return empty and be right to.

**The captured material.** Hemory records through phone and watch apps, with desktop, web, and self-hosted clients marked as coming soon. The client you are testing therefore runs on your computer while capture happens elsewhere — and a conversation that was never recorded cannot be retrieved, however well the connection works.

That last point is why the test is worth doing properly. The connection only removes work when there is something behind it: conversations captured while you were in them, organized well enough to search, and retrievable when a later task needs the detail you did not write down.

## Re-run the same check after anything changes

Keep the small task that worked. It is a regression test and costs one message.

Re-run it when the client updates, when you rotate a token, when you edit the configuration file, and when you move the same setup to another machine. Those are the moments when a previously working connection quietly stops serving tools, and the failure looks like the agent got worse rather than like a configuration problem.

## FAQ

### Can I skip the tool list and go straight to a real task?

You can, but you lose the ability to tell a wiring problem from a retrieval one. A failed task with tools listed sends you to scope and wording; the same failure without tools sends you back to registration.

### Does a working MCP connection mean the agent can also change things?

Only what the documented tools allow. For Hemory, documented MCP access covers Memory retrieval and Speaker labeling and management; other write scope is not documented. Read the tool list rather than assuming parity with the app.

### The server worked yesterday and now returns errors. What changed?

Usually a token, a client update, or a moved configuration entry — the three things that break silently. Repeat the listing check before changing any request. If the server is still listed with its tools, the problem is downstream of the connection.

### Do I need to summarize conversations before asking?

No. Retrieval works over captured transcripts, and you supply the task plus whatever clues you remember. Summarizing each conversation first would reintroduce the work the connection is meant to remove.

## What to do next

The check is five ordered questions rather than one hopeful test: is the entry there, does it handshake, does it advertise the tools you need, does a call you can grade return the right content, and does a small real task come out usable.

If you are about to connect Hemory, run the same sequence. Choose one conversation you know was captured, ask for a detail in it that the model could not guess, and grade the answer against what was actually said. If that passes, you can hand the agent the task you really needed — and spend your attention on the discussion rather than on writing down everything that might matter later.

## Other language versions

- Japanese (ja): https://www.hemory.com/ja/blog/ai-agents/check-mcp-server-working/
- Korean (ko): https://www.hemory.com/ko/blog/ai-agents/check-mcp-server-working/
