An intelligent MCP server that restarts Claude's MCP handler process without disrupting the UI. Unlike traditional restart tools that kill the entire Claude Desktop application, this tool surgically restarts only the Node.js process handling MCP connections, allowing for seamless plugin reloading.
When developing or installing MCP plugins, you need to restart Claude to load new configurations. Traditional approaches kill the entire Claude Desktop app, disrupting your workflow. MCP Autostarter is smarter - it:
- Identifies the MCP handler process - Finds the specific Node.js process managing MCP connections
- Gracefully restarts it - Sends SIGTERM first, then SIGKILL if needed
- Lets Claude auto-recover - Claude Desktop detects the disconnection and automatically restarts the handler
- Keeps your UI intact - No window closing, no lost context
The easiest way is to let Claude Desktop install it automatically via npx. Just add it to your configuration!
Add to your Claude Desktop MCP settings:
{
"mcpServers": {
"autostarter": {
"command": "npx",
"args": ["-y", "mcp-autostarter"],
"env": {}
}
}
}
That's it! No manual installation needed - npx will handle everything automatically.
Once configured, you can use these commands in Claude:
"restart MCP"
This intelligently restarts only the MCP handler process, keeping Claude Desktop running.
"restart Claude"
This fully restarts Claude Desktop (use only if MCP restart fails).
"check MCP status"
Shows the current status of MCP handler and Claude Desktop processes.
- Process Detection: Uses intelligent heuristics to find the Node.js process running MCP servers
- Graceful Shutdown: Sends SIGTERM to allow clean shutdown
- Automatic Recovery: Claude Desktop detects the disconnection and restarts the handler
- Verification: Confirms the new process is running before reporting success
- ✅ macOS
- ✅ Windows
- ✅ Linux
# Install dependencies
npm install
# Build
npm run build
# Development mode (watch)
npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
Feature | mcp-autostarter | mcp-server-restart |
---|---|---|
Restarts MCP handler only | ✅ | ❌ |
Keeps UI running | ✅ | ❌ |
Cross-platform | ✅ | ❌ (Mac only) |
Process detection | Intelligent | Basic |
Graceful shutdown | ✅ | ❌ |
MIT