---
title: "Restart an MCP server"
method: POST
path: "/v1/mcp-servers/{name}/restart"
tags: ["MCP"]
---

# Restart an MCP server

`POST /v1/mcp-servers/{name}/restart`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/mcp-servers/{name}/restart`
- Auth: HTTP bearer

Manually restarts an MCP server and resets its crash-backoff counter. `name` is URL-encoded.

## Path parameters

- `name` string, required

## Response `200`

Restarted

- object
  - `restarted` true, required

## Other responses

- `400`: Invalid request
- `404`: Resource not found
- `503`: Supervisor not initialized

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
