Deployment
FreeNot checkedEnables SSH-based deployment operations such as git pull, command execution, script upload/run, and SSH config management.
About
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
Install Deployment in Claude Desktop, Claude Code & Cursor
unyly install deployment-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add deployment-mcp -- npx -y github:jsilvanus/deployment-mcpFAQ
Is Deployment MCP free?
Yes, Deployment MCP is free — one-click install via Unyly at no cost.
Does Deployment need an API key?
No, Deployment runs without API keys or environment variables.
Is Deployment hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Deployment in Claude Desktop, Claude Code or Cursor?
Open Deployment on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by 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
by mcpdotdirectCompare Deployment with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
