# The MCP server stopped

What "the MCP server stopped" means and how to fix it.

```text
error: the MCP server stopped: The pipe is being closed. (os error 232)
hint: Restart the server from the agent.
```

## Why it happens

[`axle mcp`](https://axlers.dev/docs/reference/mcp.md) talks to the AI agent that started it over standard input and output. It stops with this error when it can't read from or write to the agent any more, such as when the agent closed the connection while a task was running. If Axle was uninstalled or moved while the server ran, the server keeps going, but each tool answers with an error that starts "Axle couldn't start".

## How to fix it

Restart the server from the agent; most agents have a command that lists MCP servers and restarts one. If Axle was upgraded, reinstalled or moved, restart the agent too. `axle mcp` is meant to be started by an agent, not typed into a terminal.
