MCP.so
登录

MCP Server Restart

@non-dirty

基本信息

分类

其他

传输方式

stdio

作者

non-dirty

关于 MCP Server Restart

Restarts Claude Desktop after mcp-server installation

MCP Server Restart 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP Server Restart 工具

2

Install an MCP server via npx or uvx

Install an MCP server whose code is cloned locally on your computer

概览

What is mcp-server-restart?

mcp-server-restart is a Model Context Protocol (MCP) server for restarting the Claude Desktop application on macOS. It is designed for users who install MCP tools via packages like mcp-installer and need a convenient way to restart Claude without manually quitting and relaunching.

How to use mcp-server-restart?

Install by adding the server to the Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json) using uvx. Then ask Claude Desktop “restart Claude” and the server will restart the application. Optionally, install mcp-installer alongside it to enable Claude to install other tools before restarting.

Key features of mcp-server-restart

  • Provides a restart_claude tool to restart Claude Desktop safely.
  • Offers a claude://status resource returning JSON (status, PID, timestamp).
  • Safely terminates any existing Claude process before launching a new instance.
  • Sends progress notifications during the restart sequence.
  • Works alongside the mcp-installer for a seamless tool‑installation workflow.

Use cases of mcp-server-restart

  • Restart Claude Desktop after installing new MCP tools via mcp-installer.
  • Quickly reload Claude when configuration changes require a restart.
  • Automate restart as part of a multi‑step tool setup requested from Claude.

常见问题

1

Does mcp-server-restart work on Windows or Linux?

The README only mentions support for macOS (Claude Desktop for Mac). No other platforms are described.

2

How do I install mcp-server-restart?

Edit your Claude Desktop config file at `~/Library/Application Support/Claude/claude_desktop_config.json` and add an entry with command `uvx` and arguments `["mcp-server-restart"]`. Two installation options are provided: one that includes the mcp-installer and one that installs only this server.

3

What does the `restart_claude` tool do?

It terminates any running Claude process, launches a new instance, and provides progress notifications to the user throughout the restart.

4

How do I test the server?

Run the command `pytest` in the project directory to execute the test suite.

5

What transport or authentication does this server use?

The README does not describe the transport protocol or any authentication mechanism.

评论

其他 分类下的更多 MCP 服务器