# Mcp Server Restart

> Restarts Claude Desktop after mcp-server installation

- **Type:** MCP server
- **Install:** `agentstack add mcp-non-dirty-mcp-server-restart`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [non-dirty](https://agentstack.voostack.com/s/non-dirty)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [non-dirty](https://github.com/non-dirty)
- **Source:** https://github.com/non-dirty/mcp-server-restart

## Install

```sh
agentstack add mcp-non-dirty-mcp-server-restart
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# mcp-server-restart

Model Context Protocol (MCP) server for restarting Claude Desktop for Mac

## Description

Using Model Context Protocol (MCP) for Claude Desktop tool installation is a bit cumbersome. The mcp-installer makes things easier by using MCP to allow you to ask Claude to install MCP tools. 

Once they are installed, you still need to restart Claude Desktop to make the changes take effect... That is where mcp-server-restart comes in!

The `mcp-server-restart` package provides a MCP server for restarting Claude Desktop for Mac.

## Usage
Ask Claude Desktop "restart Claude" and it will restart the application. 

## Features

### Resources

The server provides a status resource:
- `claude://status` - Returns the current status of Claude Desktop
  - Returns JSON with running status, PID, and timestamp
  - MIME type: application/json

### Tools

The server implements one tool:
- `restart_claude` - Restarts the Claude Desktop application
  - Safely terminates existing process if running
  - Launches new instance
  - Provides progress notifications during restart

## Installation for Claude Desktop

Installation requires editing your Claude Desktop config file on MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`

Option 1: Install both the [mcp-installer](https://github.com/anaisbetts/mcp-installer) and the [mcp-server-restart](https://github.com/non-dirty/mcp-server-restart) packages:

Add the following to your Claude Desktop config file:

```json
{
  "mcpServers": {
    "mcp-installer": {
      "command": "npx",
      "args": [
        "@anaisbetts/mcp-installer"
      ]
    },
    "mcp-server-restart": {
      "command": "uvx",
      "args": [
        "mcp-server-restart"
      ]
    }
  }
}
```

Option 1: Install only the [mcp-server-restart](https://github.com/non-dirty/mcp-server-restart) package:

Add the following to your Claude Desktop config file:

```json
{
  "mcpServers": {
    "mcp-server-restart": {
      "command": "uvx",
      "args": [
        "mcp-server-restart"
      ]
    }
  }
}
```

### Example prompts

> Hey Claude, install the MCP server named mcp-server-fetch then restart Claude

> Please restart Claude

### Testing

Run the test suite:
```bash
pytest
```

## License

MIT License - see LICENSE file for details

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [non-dirty](https://github.com/non-dirty)
- **Source:** [non-dirty/mcp-server-restart](https://github.com/non-dirty/mcp-server-restart)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-non-dirty-mcp-server-restart
- Seller: https://agentstack.voostack.com/s/non-dirty
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
