Skip to main content
Glama
jsilvanus

deployment-mcp

by jsilvanus

deployment-mcp

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.

Related MCP server: MCP SSH Server

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 Server
F
license - not found
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables SSH operations including connecting to remote servers, executing commands, and transferring files between local and remote systems. Supports multiple SSH connections with both password and private key authentication methods.
    Last updated
    18
  • F
    license
    B
    quality
    D
    maintenance
    Enables seamless SSH operations including secure connections, file transfers, interactive shell sessions, and Docker container management on remote servers. Supports both password and SSH key authentication with credential management and connection pooling.
    Last updated
    18
  • A
    license
    B
    quality
    D
    maintenance
    Enables secure SSH connections to remote servers for executing shell commands and managing active sessions. It supports authentication via passwords or private keys and provides optional host-based access control.
    Last updated
    4
    100
    MIT

View all related MCP servers

Related MCP Connectors

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

  • Deploy apps on your cloud. Create environments, configure infrastructure, and monitor jobs.

  • Operate your Linux servers from your LLM. Every action runs through an auditable allowlist.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsilvanus/deployment-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server