mcp-server-restart
Restarts Claude Desktop after mcp-server installation
Overview
The mcp-server-restart is a tool designed to facilitate the restarting of Claude Desktop after the installation of Model Context Protocol (MCP) tools, making management and installation smoother for Mac users.
To use mcp-server-restart, simply ask Claude Desktop to restart via commands like "restart Claude." The server manages the application's restart process when MCP tools are added or modified.
- Provides a status resource to check the current state of Claude Desktop. - Implements a tool called
restart_claudefor safely restarting the application with progress notifications.
- Restarting Claude Desktop after installing new MCP tools.
- Checking the running status of Claude Desktop programmatically.
- Automating the application restart process for better workflow integration.
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": {
"mcp-server-restart-non-dirty": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}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": {
"mcp-server-restart-non-dirty": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-restart-non-dirty": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-restart-non-dirty": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-restart-non-dirty": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-restart-non-dirty": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-restart-non-dirty"
]
}
}
}FAQ
What do I need to install mcp-server-restart?
You need to edit your Claude Desktop config file on MacOS to include the mcp-server-restart setup.
Will this work with all versions of Claude Desktop?
Yes, it is designed to be compatible with the Mac version of Claude Desktop.
Can I use this with other MCP tools?
Yes, the mcp-server-restart integrates with other MCP tools for a seamless experience.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":289,"uuid":"6acdf177-197e-4009-a3d6-18db8369fb7d","name":"mcp-server-restart","title":"mcp-server-restart","description":"Restarts Claude Desktop after mcp-server installation","avatar_url":"https://avatars.githubusercontent.com/u/1251418?v=4","created_at":"2024-12-13T13:01:41.998Z","updated_at":"2024-12-13T15:09:08.936Z","status":"created","author_name":"non-dirty","author_avatar_url":"https://avatars.githubusercontent.com/u/1251418?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/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"}]]}]