Cover image
Try Now
2024-12-02

Restarts Claude Desktop after mcp-server installation

3 years

Works with Finder

1

Github Watches

1

Github Forks

4

Github Stars

mcp-server-restart

Model Context Protocol (MCP) server for restarting Claude Desktop for Mac

Description

Using Model Context Protocol (MCP) for Claude Desktop tool installation is a bit cumbersome. The mcp-installer makes things easier by using MCP to allow you to ask Claude to install MCP tools.

Once they are installed, you still need to restart Claude Desktop to make the changes take effect... That is where mcp-server-restart comes in!

The mcp-server-restart package provides a MCP server for restarting Claude Desktop for Mac.

Usage

Ask Claude Desktop "restart Claude" and it will restart the application.

Features

Resources

The server provides a status resource:

  • claude://status - Returns the current status of Claude Desktop
    • Returns JSON with running status, PID, and timestamp
    • MIME type: application/json

Tools

The server implements one tool:

  • restart_claude - Restarts the Claude Desktop application
    • Safely terminates existing process if running
    • Launches new instance
    • Provides progress notifications during restart

Installation for Claude Desktop

Installation requires editing your Claude Desktop config file on MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Option 1: Install both the mcp-installer and the mcp-server-restart packages:

Add the following to your Claude Desktop config file:

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

Option 1: Install only the mcp-server-restart package:

Add the following to your Claude Desktop config file:

{
  "mcpServers": {
    "mcp-server-restart": {
      "command": "uvx",
      "args": [
        "mcp-server-restart"
      ]
    }
  }
}

Example prompts

Hey Claude, install the MCP server named mcp-server-fetch then restart Claude

Please restart Claude

Testing

Run the test suite:

pytest

License

MIT License - see LICENSE file for details

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • https://hubeiqiao.com
  • IT problem solver with clear, step-by-step guidance.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • oatpp
  • Anthropic’s Model Context Protocol implementation for Oat++

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

    Reviews

    1 (1)
    Avatar
    user_ksYXd9Qr
    2025-04-16

    I've been using mcp-server-restart by non-dirty and it's been a game-changer for managing my server restarts. It's incredibly reliable and user-friendly, providing a seamless experience. It's made maintaining server uptime so much easier, and I highly recommend it to anyone in need of a dependable server restart solution. Check it out on GitHub!