Skip to main content
Glama
antigravity-server-ops

antigravity-server-ops

by aqcool

antigravity-server-ops

An open-source MCP Server + MCP App Plugin for Google Antigravity and standard MCP clients.

Manage SSH servers directly inside an Antigravity-styled UI with ZCode-style separated metadata + encrypted credential storage (no ~/.ssh/config dependency), authorize specific servers for the agent, execute remote commands, and atomically upload files.

Quick Start (One-Command Install via npx)

npx -y antigravity-server-ops init

That's it! It installs the plugin into ~/.gemini/config/plugins/server-ops and Antigravity discovers it automatically without restarting.

To uninstall:

npx -y antigravity-server-ops uninstall

Related MCP server: SSH MCP Server

Features

  • Antigravity-Native MCP App UI (@modelcontextprotocol/ext-apps): Add, edit, delete, test SSH connectivity, and toggle server authorization in Antigravity's full-page view (global), side pane (aux_pane), or inline chat card.

  • Separated Profile & Encrypted Credential Storage:

    • Non-sensitive profile metadata (host, port, username, displayName, privateKeyPath) is stored in ${PLUGIN_DATA}/profiles.json.

    • Passwords and private key passphrases are stored separately in the macOS Login Keychain (with AES-256-GCM encrypted vault fallback on Linux/Windows) and are never exposed to the LLM or UI.

  • Built-in Pure-JS SSH & SFTP Engine (ssh2): Supports password auth and private key + passphrase auth without modifying or depending on OS ~/.ssh/config.

  • Safe Remote Operations:

    • open_server_picker: Opens the Server Ops UI.

    • server_list: Lists currently authorized servers.

    • remote_run: Executes a shell command on an authorized server (32 KiB output cap, timeout & cancellation support).

    • server_copy: Uploads a local file via SFTP to a remote temporary staging file and atomically publishes it (replace / skip / error) with automatic cleanup on failure.

Use with Other MCP Clients

{
  "mcpServers": {
    "server-ops": {
      "command": "npx",
      "args": ["-y", "antigravity-server-ops"]
    }
  }
}

Development

pnpm install
pnpm build
pnpm test

License

MIT

Available Tools

9 tools
open_server_pickerA
Read-only

Show the SSH server manager and picker to add, test, or authorize servers.

Inputs: no named parameters.

picker_readB
Read-only

Read saved SSH server profiles and current authorization.

Inputs: no named parameters.

picker_saveC

Save the user's authorized SSH server selection.

Inputs: serverIds (required).

profile_deleteB

Delete a saved SSH server profile and its stored credentials.

Inputs: profileId (required).

profile_saveC

Create or update a saved SSH server profile.

Inputs: host (required), authType (required), username (required), port, +6 more.

profile_testC

Test SSH connectivity for a saved profile.

Inputs: profileId (required).

remote_runC
Destructive

Run a shell command on an authorized SSH server.

Inputs: command (required), serverId (required).

server_copyC
Destructive

Upload a local file to an exact absolute destination on an authorized SSH server.

Inputs: source (required), serverId (required), destination (required), overwrite.

server_listA
Read-only

List the SSH servers currently authorized by the user.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 9 tools

    Disambiguation3/5

    Most tools are clearly separable (profile_save/delete/test vs. remote_run/server_copy), but picker_read and server_list both appear to read saved/authorized server state, and picker_save vs. profile_save require careful reading to distinguish. The picker_* family also sits ambiguously between UI control and data access.

    Naming Consistency4/5

    Eight of nine tools follow a clear noun_verb convention (picker_read, profile_save, server_list, remote_run, server_copy), with only open_server_picker deviating into verb_noun form. The pattern is predictable enough that an agent can group tools by prefix.

    Tool Count4/5

    Nine tools is well within a healthy range for an SSH server management server, and each maps to a plausible operation (pick, read, save, test, delete, list, run, copy). A couple of picker tools could arguably merge, but nothing feels padded.

    Completeness3/5

    The surface covers profile lifecycle, authorization listing, remote execution, and upload, but lacks a remote download/read counterpart to server_copy and has no way to revoke authorization or close/disconnect sessions. These are notable gaps that would force agents into dead ends for common file-retrieval workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to securely connect to and manage remote servers via SSH, supporting command execution, file transfers via SFTP, and multi-server management with both password and SSH key authentication.
      9
      34 npm
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI tools to manage SSH connections, execute commands, transfer files, and perform remote server diagnostics via MCP protocol.
      17
      10 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to manage remote servers via SSH, including command execution, multi-host batch operations, SFTP file transfer, background job handling, DevOps diagnostics, port tunneling, and safety guardrails like high-risk command blocking and read-only mode.
      MIT