non-dirty_mcp-server-restart
The mcp-server-restart is a Model Context Protocol server that allows users to easily restart Claude Desktop on MacOS, applying changes after the installation of MCP tools. It simplifies the user experience with prompt commands and provides status updates during the restart process.
mcp-server-restart
Description
The mcp-server-restart
is a Model Context Protocol (MCP) server designed for restarting Claude Desktop for MacOS. It simplifies the process of applying changes after installing MCP tools by automating the restart of the Claude Desktop application.
Usage
Initiate a restart by asking Claude Desktop "restart Claude," which will safely terminate and relaunch the application.
Features
- Resources: Provides a status resource
claude://status
that returns the current status of Claude Desktop in JSON format. - Tools: Implements
restart_claude
to restart the Claude Desktop application, ensuring safe termination and relaunch with progress notifications.
Installation
Requires editing the Claude Desktop config file on MacOS. Options include installing both the mcp-installer
and mcp-server-restart
packages or just the mcp-server-restart
package. Follow configuration instructions for setup.
Testing
Run the test suite using pytest
.