Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Deployment

FreeNot checked

Enables SSH-based deployment operations such as git pull, command execution, script upload/run, and SSH config management.

GitHubEmbed

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 run git pull in 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 a Host entry in the local ~/.ssh/config file.

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

from github.com/jsilvanus/deployment-mcp

Install Deployment in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install deployment-mcp

Installs 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-mcp

FAQ

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

Compare Deployment with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs