Deployment
БесплатноНе проверенEnables SSH-based deployment operations such as git pull, command execution, script upload/run, and SSH config management.
Описание
Enables SSH-based deployment operations such as git pull, command execution, script upload/run, and SSH config management.
README
An MCP (Model Context Protocol) server that handles deployment operations over SSH.
Features
ssh_git_pull– SSH into a remote host and rungit pullin a specified repository directory.ssh_run_command– Execute an arbitrary shell command on a remote host and return its stdout, stderr and exit code.ssh_run_script– Upload and execute a multi-line shell script on a remote host (piped to bash; no temporary files created locally).write_ssh_config– Write or update aHostentry in the local~/.ssh/configfile.
All SSH tools support authentication via an inline PEM private key, a path to a key file, or a password.
Installation
npm install
npm run build
Usage
Run the MCP server over stdio (used by MCP-compatible AI clients):
node dist/index.js
MCP client configuration example
{
"mcpServers": {
"deployment": {
"command": "node",
"args": ["/path/to/deployment-mcp/dist/index.js"]
}
}
}
Tool examples
ssh_git_pull
{
"host": "my-server.example.com",
"username": "deploy",
"privateKeyPath": "~/.ssh/id_rsa",
"repoPath": "/var/www/myapp",
"branch": "main"
}
ssh_run_command
{
"host": "my-server.example.com",
"username": "deploy",
"privateKeyPath": "~/.ssh/id_rsa",
"command": "systemctl restart myapp"
}
ssh_run_script
{
"host": "my-server.example.com",
"username": "deploy",
"privateKeyPath": "~/.ssh/id_rsa",
"workingDirectory": "/var/www/myapp",
"script": "#!/bin/bash\nset -e\ngit pull\nnpm install --omit=dev\nnpm run build\npm2 restart myapp"
}
write_ssh_config
{
"alias": "my-server",
"hostname": "my-server.example.com",
"user": "deploy",
"identityFile": "~/.ssh/deploy_key",
"extraOptions": {
"StrictHostKeyChecking": "no",
"ServerAliveInterval": "60"
}
}
Development
npm run dev # TypeScript watch mode
npm test # Run tests
npm run build # Compile TypeScript
Установка Deployment
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jsilvanus/deployment-mcpFAQ
Deployment MCP бесплатный?
Да, Deployment MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Deployment?
Нет, Deployment работает без API-ключей и переменных окружения.
Deployment — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Deployment в Claude Desktop, Claude Code или Cursor?
Открой Deployment на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Deployment with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
