MCP Autostarter

MCP Autostarter

An intelligent MCP server that enables seamless restarting of Claude's MCP handler process without disrupting the UI, allowing for plugin reloading without closing the entire Claude Desktop application.

Category
Visit Server

Tools

restart_mcp

Intelligently restarts only the MCP handler process without disrupting Claude Desktop UI

restart_claude

Fully restarts Claude Desktop application (use only if MCP restart fails)

get_mcp_status

Check if MCP handler and Claude Desktop processes are running

README

MCP Autostarter

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.

Why MCP Autostarter?

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:

  1. Identifies the MCP handler process - Finds the specific Node.js process managing MCP connections
  2. Gracefully restarts it - Sends SIGTERM first, then SIGKILL if needed
  3. Lets Claude auto-recover - Claude Desktop detects the disconnection and automatically restarts the handler
  4. Keeps your UI intact - No window closing, no lost context

Installation

The easiest way is to let Claude Desktop install it automatically via npx. Just add it to your configuration!

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.

Usage

Once configured, you can use these commands in Claude:

Smart MCP Restart (Recommended)

"restart MCP"

This intelligently restarts only the MCP handler process, keeping Claude Desktop running.

Full Claude Restart

"restart Claude"

This fully restarts Claude Desktop (use only if MCP restart fails).

Check Status

"check MCP status"

Shows the current status of MCP handler and Claude Desktop processes.

How It Works

  1. Process Detection: Uses intelligent heuristics to find the Node.js process running MCP servers
  2. Graceful Shutdown: Sends SIGTERM to allow clean shutdown
  3. Automatic Recovery: Claude Desktop detects the disconnection and restarts the handler
  4. Verification: Confirms the new process is running before reporting success

Platform Support

  • ✅ macOS
  • ✅ Windows
  • ✅ Linux

Development

# Install dependencies
npm install

# Build
npm run build

# Development mode (watch)
npm run dev

# Type checking
npm run typecheck

# Linting
npm run lint

Comparison with mcp-server-restart

Feature mcp-autostarter mcp-server-restart
Restarts MCP handler only
Keeps UI running
Cross-platform ❌ (Mac only)
Process detection Intelligent Basic
Graceful shutdown

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured