Name | mcp-server-restart JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | MCP server for restarting Claude Desktop |
upload_time | 2024-12-02 03:12:36 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.13 |
license | MIT |
keywords |
claude
desktop
mcp
restart
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```bash
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`
```json
{
"mcpServers": {
"mcp-server-restart": {
"enabled": true,
"command": "uv",
"args": [
"run",
"python",
"-m",
"mcp_server_restart.server"
]
}
}
}
```
## Development
### Setup
1. Clone the repository
2. Install dependencies:
```bash
uv venv
uv pip install -e ".[dev]"
```
### Testing
Run the test suite:
```bash
pytest
```
## License
MIT License - see LICENSE file for details
Raw data
{
"_id": null,
"home_page": null,
"name": "mcp-server-restart",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.13",
"maintainer_email": null,
"keywords": "claude, desktop, mcp, restart",
"author": null,
"author_email": "Matthew Smith <non_dirty@me.com>",
"download_url": "https://files.pythonhosted.org/packages/15/91/db80a837138728eb53c964a1b76c406d3d2793bc671c7ed2fc475689f2fb/mcp_server_restart-0.1.2.tar.gz",
"platform": null,
"description": "# mcp-server-restart\n\nModel Context Protocol (MCP) server for restarting Claude Desktop for Mac\n\n## Features\n\n### Resources\n\nThe server provides a status resource:\n- `claude://status` - Returns the current status of Claude Desktop\n - Returns JSON with running status, PID, and timestamp\n - MIME type: application/json\n\n### Tools\n\nThe server implements one tool:\n- `restart_claude` - Restarts the Claude Desktop application\n - Safely terminates existing process if running\n - Launches new instance\n - Provides progress notifications during restart\n\n## Installation\n\n```bash\npip install mcp-server-restart\n```\n\n## Configuration\n\n### Claude Desktop Integration\n\nAdd the following to your Claude Desktop config file:\n\nOn MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n\n```json\n{\n \"mcpServers\": {\n \"mcp-server-restart\": {\n \"enabled\": true,\n \"command\": \"uv\",\n \"args\": [\n \"run\",\n \"python\",\n \"-m\",\n \"mcp_server_restart.server\"\n ]\n }\n }\n}\n```\n\n## Development\n\n### Setup\n\n1. Clone the repository\n2. Install dependencies:\n```bash\nuv venv\nuv pip install -e \".[dev]\"\n```\n\n### Testing\n\nRun the test suite:\n```bash\npytest\n```\n\n## License\n\nMIT License - see LICENSE file for details",
"bugtrack_url": null,
"license": "MIT",
"summary": "MCP server for restarting Claude Desktop",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/non-dirty/mcp-server-restart",
"Issues": "https://github.com/non-dirty/mcp-server-restart/issues",
"Repository": "https://github.com/non-dirty/mcp-server-restart.git"
},
"split_keywords": [
"claude",
" desktop",
" mcp",
" restart"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "53cc25f9e386bf5621fd0cd23ba02693da65a7bb957e41af5dd804d499fbff08",
"md5": "a427edeaa126cda06a90d1cd762096f4",
"sha256": "b50f3c858c919f9fd02ee38d660a68235a0d0ed8a63118ec51df4869fea9d05d"
},
"downloads": -1,
"filename": "mcp_server_restart-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a427edeaa126cda06a90d1cd762096f4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.13",
"size": 5279,
"upload_time": "2024-12-02T03:12:34",
"upload_time_iso_8601": "2024-12-02T03:12:34.983777Z",
"url": "https://files.pythonhosted.org/packages/53/cc/25f9e386bf5621fd0cd23ba02693da65a7bb957e41af5dd804d499fbff08/mcp_server_restart-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1591db80a837138728eb53c964a1b76c406d3d2793bc671c7ed2fc475689f2fb",
"md5": "18cd54165d1482d8566fd0365747a23d",
"sha256": "857247eacca4ea17d9d7d85f95da6ed743d0a56ce6e427c1bac423eecbf784e4"
},
"downloads": -1,
"filename": "mcp_server_restart-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "18cd54165d1482d8566fd0365747a23d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.13",
"size": 14926,
"upload_time": "2024-12-02T03:12:36",
"upload_time_iso_8601": "2024-12-02T03:12:36.439830Z",
"url": "https://files.pythonhosted.org/packages/15/91/db80a837138728eb53c964a1b76c406d3d2793bc671c7ed2fc475689f2fb/mcp_server_restart-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-02 03:12:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "non-dirty",
"github_project": "mcp-server-restart",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mcp-server-restart"
}