mcp-server-restart
Model Context Protocol (MCP) server for restarting Claude Desktop for Mac
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
pip install mcp-server-restart
Configuration
Claude Desktop Integration
Add the following to your Claude Desktop config file:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-server-restart": {
"enabled": true,
"command": "uv",
"args": [
"run",
"python",
"-m",
"mcp_server_restart.server"
]
}
}
}
Development
Setup
- Clone the repository
- Install dependencies:
uv venv
uv pip install -e ".[dev]"
Testing
Run the test suite:
pytest
License
MIT License - see LICENSE file for details
Metadata
Release files for mcp-server-restart 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_server_restart-0.1.2.tar.gz | 14.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_restart-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / mcp_server_restart-0.1.2.tar.gz
| Download URL | mcp_server_restart-0.1.2.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
857247eacca4ea17d9d7d85f95da6ed743d0a56ce6e427c1bac423eecbf784e4
|
|
BLAKE2b-256 checksum How to use checksums |
1591db80a837138728eb53c964a1b76c406d3d2793bc671c7ed2fc475689f2fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / mcp_server_restart-0.1.2-py3-none-any.whl
| Download URL | mcp_server_restart-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b50f3c858c919f9fd02ee38d660a68235a0d0ed8a63118ec51df4869fea9d05d
|
|
BLAKE2b-256 checksum How to use checksums |
53cc25f9e386bf5621fd0cd23ba02693da65a7bb957e41af5dd804d499fbff08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Security for mcp-server-restart 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.