GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Safe, approval-gated Plesk deployments: inspect, generate and validate a kit; status, logs, rollback
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PLESK_DEPLOY_SSH_HOSTS, PLESK_DEPLOY_GITHUB_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"plesk-deploy": {
"command": "npx",
"args": [
"-y",
"plesk-deploy-mcp"
],
"env": {
"PLESK_DEPLOY_SSH_HOSTS": "your-value",
"PLESK_DEPLOY_GITHUB_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add plesk-deploy --env PLESK_DEPLOY_SSH_HOSTS=your-value --env PLESK_DEPLOY_GITHUB_TOKEN=your-value -- npx -y plesk-deploy-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"plesk-deploy": {
"command": "npx",
"args": [
"-y",
"plesk-deploy-mcp"
],
"env": {
"PLESK_DEPLOY_SSH_HOSTS": "your-value",
"PLESK_DEPLOY_GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"plesk-deploy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"plesk-deploy-mcp"
],
"env": {
"PLESK_DEPLOY_SSH_HOSTS": "your-value",
"PLESK_DEPLOY_GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PLESK_DEPLOY_SSH_HOSTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 usama-saeed831 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PLESK_DEPLOY_GITHUB_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that helps any AI agent (Claude Code, Claude Desktop, Cursor, VS Code and others) set up and run safe deployments to Plesk servers. Deploys work like this:
The server packages a workflow that has been proven in production. It inspects your project, generates the whole deploy kit as a diff you review, and validates it. Once you turn the SSH tools on, it can also read deploy status and logs and roll back over your own SSH.
Not affiliated with or endorsed by Plesk or WebPros.
ssh, your ~/.ssh/config alias, your ssh-agent and your known_hosts..env files are never opened.production environment. No tool builds, uploads or deploys.PLESK_DEPLOY_SSH_HOSTS.--status, --log and --rollback. There is no "run this command" tool.StrictHostKeyChecking=yes), and agent forwarding is always off. Your own config can't loosen this.write: true, inside your git repository, and never through a symlink.overwrite.confirm: " @ ". It is never interrupted halfway.api.github.com when you ask for run status.Details: the threat model and the privacy policy.
You need Node.js 22 or later, except in Claude Desktop, which brings its own.
claude mcp add --transport stdio --scope user plesk-deploy -- npx -y plesk-deploy-mcp
With the SSH tools on for the alias myserver (see below):
claude mcp add --env PLESK_DEPLOY_SSH_HOSTS=myserver --transport stdio --scope user plesk-deploy -- npx -y plesk-deploy-mcp
Check it with claude mcp list (it should say ✔ Connected), or /mcp in a session.
Or as a plugin. It brings the server *and* the plesk-deploy skill, which loads by itself when you talk about deploying to Plesk:
/plugin marketplace add usama-saeed831/plesk-deploy-mcp
/plugin install plesk-deploy@plesk-deploy-mcp
Claude Code then asks for the allowed SSH host aliases (leave it empty to keep the SSH tools off) and an optional read-only GitHub token, which it stores as a secret.
As an extension: download plesk-deploy-mcp- .mcpb from the releases, then go to Settings → Extensions → Advanced settings → Install Extension… and choose the file. The extension's settings let you enter the allowed SSH host aliases and an optional read-only GitHub token.
Or in `claude_desktop_config.json` (Settings → Developer → Edit Config):
{
"mcpServers": { "plesk-deploy": { "command": "npx", "args": ["-y", "plesk-deploy-mcp"], "env": { "PLESK_DEPLOY_SSH_HOSTS": "myserver" } } } }
In ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "plesk-deploy": { "command": "npx", "args": ["-y", "plesk-deploy-mcp"], "env": { "PLESK_DEPLOY_SSH_HOSTS": "myserver" } } } }
Run this:
code --add-mcp '{"name":"plesk-deploy","type":"stdio","command":"npx","args":["-y","plesk-deploy-mcp"]}'
Or add it to .vscode/mcp.json:
{
"servers": { "plesk-deploy": { "type": "stdio", "command": "npx", "args": ["-y", "plesk-deploy-mcp"], "env": { "PLESK_DEPLOY_SSH_HOSTS": "myserver" } } } }
In any client, leave out env to keep the SSH tools off. The local tools work without them.
~/.ssh/config. The safest account is the deploy account that server-setup.sh creates: its only sudo right is the release manager, so it can read status and logs and roll back, and nothing else. Host myserver
HostName 203.0.113.10 User myapp-deploy IdentityFile ~/.ssh/myapp_deploy IdentitiesOnly yes
ssh myserver). Before accepting the host key, compare its fingerprint with the output of ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the server. This server never adds host keys for you.PLESK_DEPLOY_SSH_HOSTS (comma-separated), then restart the MCP server.If the key has a passphrase, load it into your ssh-agent (ssh-add). The server never prompts for passwords or passphrases.
Ask your agent:
Set up a Plesk deployment for this project.
Or start the prompt directly. In Claude Code, /mcp__plesk-deploy__setup-plesk-deployment walks through the 8 phases:
The agent stops for your agreement before anything touches production. It tells you where each secret goes, and never asks you for one.
Other things you can ask:
myserver for app acme, and what did the last deploy log say?"acme on myserver." The agent shows you what would become live and asks you to confirm first.me/acme pass? Is it waiting for approval?"| Tool | What it does | Changes anything? |
|---|---|---|
inspect_project | Deployment facts table for a project | No |
server_discovery_commands | Read-only commands for you to run on the server | No |
generate_deploy_kit | Renders the deploy kit; dry run by default | Only with write: true |
validate_deploy_kit | Checks the kit, and runs the release manager's tests | No (works in a temporary folder) |
server_discover | The same read-only commands, over SSH | No |
deploy_status | Releases on the server, and which is live | No |
deploy_logs | The end of the deploy log | No |
rollback | Makes the previous good release live | Yes (destructive) |
github_deploy_runs | Status of recent Deploy to Plesk runs | No |
Every tool declares title, readOnlyHint, destructiveHint, idempotentHint and openWorldHint, and returns structured content next to readable text.
inspect_projectIt reads manifests, lockfiles, runtime pins, framework configs, Dockerfiles, CI, migrations and source code. It returns a Deployment facts table where each fact is *verified* (with the file it came from) or *unknown*, so nothing is guessed. It also lists the apps with their build, start and migrate commands, and the env variable names, split into build-time and run-time.
{ "project_dir": "/Users/me/code/acme" }
server_discovery_commandsIt returns the read-only block to run as root on the server and paste back: Plesk and the OS, PM2 as root and as the domain user, ports, nginx directives, the document root, env file names, databases, crontabs, and whether .env and .git are exposed.
{ "domain": "example.com", "app": "acme", "system_user": "acme_sys", "pm2_processes": ["acme-api"] }
generate_deploy_kitIt renders these files:
.github/workflows/deploy-plesk.ymldeploy/plesk/: build-bundle.sh, the -deploy release manager, deploy.conf.example, server-setup.sh, -db-backup, PM2 or systemd definitions, optional nginx directives, and README.mdEach new file is shown as a diff against the vetted template it came from. Values it doesn't know are left as FILL IN, and you get a list of what a person still has to adapt.
{
"project_dir": "/Users/me/code/acme", "app": "acme", "stack": "node", "process_manager": "pm2", "site_url": "https://example.com/", "public_health_url": "https://example.com/health", "base_dir": "/var/www/acme-app", "health_checks": [{ "url": "http://127.0.0.1:3001/health/ready", "contains": "\"status\":\"ready\"" }], "health_commit_url": "http://127.0.0.1:3001/health/ready", "pm2_apps": [{ "name": "acme-api", "dir": ".", "script": "dist/main.js" }], "database": "postgres", "migrate_cmd": "NODE_ENV=production node node_modules/typeorm/cli.js migration:run -d dist/data-source.js", "write": false }
Call it again with "write": true once you've agreed the diff. Add "overwrite": ["deploy/plesk/README.md"] only for a file you agreed to replace.
validate_deploy_kitIt runs these checks:
bash -n on every script, and shellcheck if it's installedproduction approval gate, deploys never cancelled, the key removed afterwards, read-only permissions, callable CI{ "project_dir": "/Users/me/code/acme" }
server_discoverIt runs the server_discovery_commands list over one SSH session. Each command runs under a timeout with stdin closed, and output that looks like a secret is redacted. Add "sudo": true to run as root through sudo -n, which only works with password-less sudo.
{ "host_alias": "myserver", "domain": "example.com", "app": "acme" }
deploy_statusIt runs /usr/local/bin/ -deploy --status, which needs no sudo.
{ "host_alias": "myserver", "app": "acme" }
deploy_logsIt runs sudo -n -deploy --log . The log is root-only, so this goes through the deploy account's single sudo rule.
{ "host_alias": "myserver", "app": "acme", "lines": 100 }
rollbackIt runs sudo -n -deploy --rollback and reports which release was live before and which is live now. Migrations are not undone; that's why migrations must only ever add (expand, then contract).
{ "host_alias": "myserver", "app": "acme", "confirm": "acme@myserver" }
github_deploy_runsIt reads runs, their jobs, and runs waiting for approval from api.github.com. For a private repository, set `PLESK_DEPL
只显示了开头部分;其余内容请在仓库中阅读