# How to Remove One MCP Server from Claude Code

> Remove one MCP server from Claude Code without disturbing the others. Find the right configuration scope, edit only that entry, then verify the remaining servers.

- URL: https://www.hemory.com/blog/tool-guides/remove-mcp-server-claude-code/
- Language: English (en)
- Author: Hemory Team
- Published: 2026-11-28
- Last updated: 2026-11-28
- Summary: To remove one MCP server safely, first identify the Claude Code configuration scope that contains it; commands and locations can vary by version and setup. Follow current official documentation, back up the relevant config, remove only that entry, then reload as documented and check the target is absent while other servers still work. Removing a Hemory connection is not a Memory deletion procedure.
- Tags: Claude Code, MCP, configuration, troubleshooting

If one MCP server entry in Claude Code is no longer needed or trusted, remove that entry without deleting the rest of the configuration. The exact command and configuration location depend on Claude Code’s current version and how the server was added, so use the official Claude Code documentation for those specifics.

## TL;DR

- Identify the configuration scope and removal method documented for your Claude Code setup; don’t guess at a file path or command.
- Back up the relevant configuration, remove only the target server entry, and preserve the others.
- Reload or restart as the documentation directs. Confirm the target is gone and test the remaining servers.
- Removing a Claude Code connection entry is not a Hemory Memory deletion procedure.

## Remove one entry carefully

### 1. Identify where the server is configured

Check the current official Claude Code documentation for how MCP servers are added and removed in your version. Determine which configuration scope contains the entry you want to remove. If you are unsure, inspect the documented configuration or server list before changing anything.

A server may have been added through a documented command or by editing configuration. Follow the removal method that matches how it was set up. Do not copy a command or file path from instructions for another client, an older Claude Code version, or a different setup.

### 2. Preserve the rest of the configuration

Before editing, make a copy of the relevant configuration using your usual backup method. Locate the entry for the specific server by its configured name, then remove only that entry using Claude Code’s documented method.

If you edit a configuration file, preserve its surrounding structure and other server entries. Avoid replacing the entire file with a minimal example: that could remove settings you did not intend to change. If the target entry is unclear, stop and confirm which one it is before editing.

### 3. Reload Claude Code and check the result

Apply the reload, restart, or session-refresh step required by the current documentation. Then use Claude Code’s documented way to inspect configured MCP servers. Confirm that the target no longer appears and that the remaining entries are still present.

Test a remaining server that matters to your work. If it does not load, check the configuration you changed for accidental edits. Also consider whether the same server was configured in another scope; removing one entry may not remove a separate entry elsewhere. Use the documentation to inspect that possibility rather than deleting unrelated configuration.

If the target still appears, confirm you removed the entry from the scope Claude Code is using and followed the required reload step. Do not broaden the change to other servers just to make the list look clean.

## If the server is Hemory

Hemory’s [MCP connection](/features/) lets a supported external agent retrieve relevant Hemory Memory. Removing its server entry from Claude Code addresses that client’s connection configuration. This guide does not describe deleting Hemory Memory or changing Hemory’s stored records. Keep those as separate tasks and consult the relevant Hemory controls if you intend to manage stored data. (Sources: Hemory product information, `SRC_001`; Product Truth v1.6.)

## FAQ

### Can I remove a server without changing the others?

Yes, if you identify the correct entry and remove only that entry using the method documented for your Claude Code setup. Back up the relevant configuration first, then check that the other entries remain.

### Why does the server still appear after I remove it?

The entry may still exist in another configuration scope, or Claude Code may require a reload or restart. Check the current documentation and inspect the relevant scopes before making another change.

### Does removing Hemory from Claude Code delete my Hemory Memory?

This procedure only covers removing a Claude Code MCP server entry. It is not a method for managing or deleting Hemory Memory. Treat those as separate tasks.

## Next step

Use the current Claude Code documentation to identify the right removal method for your setup. After changing one entry, confirm both that the target is absent and that the other servers you rely on still load.

## Other language versions

- Japanese (ja): https://www.hemory.com/ja/blog/tool-guides/remove-mcp-server-claude-code/
- Korean (ko): https://www.hemory.com/ko/blog/tool-guides/remove-mcp-server-claude-code/
