# Uninstalling

To remove NeoHive from your machine:

## Stop and remove the container

```sh
docker rm -f neohive
```

## Remove your data

This permanently deletes all projects, hives, and indexed knowledge. Only run this if you're sure.

```sh
docker volume rm neohive-data
```

## Clean up cached files

```sh
rm -f ~/.cache/neohive/license-key
```

## Remove the agent plugin

In Claude Code:

```
/plugin uninstall neohive@neohive-claude
```

For Cursor or Codex, remove the NeoHive plugin configuration from your agent's settings.

## Disconnect the MCP servers

Each NeoHive project has its own MCP connection configured in your agent. Removing the plugin may not remove these automatically.

In Claude Code, list your MCP servers and remove each NeoHive entry:

```
claude mcp list
claude mcp remove <neohive-project-name>
```

Repeat for each NeoHive project. For other agents, remove the NeoHive entries from your MCP configuration file (e.g., `.mcp.json`).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neohive.ai/troubleshooting/uninstalling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
