drio
Open app

mcp-server-restart

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

The mcp-server-restart is a Model Context Protocol (MCP) server designed to facilitate the restarting of the Claude Desktop application for Mac. It simplifies the process of managing MCP tools and ensures that changes take effect after installation.

To use mcp-server-restart, simply ask Claude Desktop to "restart Claude" and the application will restart automatically.

  • Provides a status resource at claude://status that returns the current status of Claude Desktop in JSON format. - Implements a tool called restart_claude that safely terminates the existing process and launches a new instance of Claude Desktop, with progress notifications during the restart.
  1. Restarting Claude Desktop after installing new MCP tools.
  2. Managing application updates and ensuring the latest configurations are applied.
  3. Providing a seamless user experience by automating the restart process.

Add to your AI client

Use these steps to connect mcp-server-restart in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "non-dirty-mcp-server-restart-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-non-dirty-mcp-server-restart-mcp-mirror"
      ]
    }
  }
}

FAQ

How do I install mcp-server-restart?

You can install it by editing your Claude Desktop config file and adding the necessary MCP server configurations.

What happens if I try to restart Claude while it's running?

The server safely terminates the existing process before launching a new instance, ensuring no data loss.

Is there a way to check the status of Claude Desktop?

Yes! You can access the status resource at `claude://status` to get the current running status.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":605,"uuid":"03a89b88-d93b-45d9-9d1f-6bcdf3de95c9","name":"non-dirty_mcp-server-restart","title":"mcp-server-restart","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:23:55.354Z","updated_at":"2025-02-23T07:15:13.287Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp,server,restart,claude,desktop","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/non-dirty_mcp-server-restart","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]