Skip to main content
Glama
plesk-deploy-mcp

plesk-deploy-mcp

Read-only server commands to run

server_discovery_commands
Read-onlyIdempotent

Generates read-only root commands to gather Plesk/OS, processes, ports, nginx, document root, Git status, env names, databases, crontabs, and .env/.git exposure when direct access isn't available.

Instructions

Returns the block of read-only commands for the user to run as root on the Plesk server and paste back (phase 2): Plesk and OS, who runs the app (PM2 as root and as the domain user, systemd), listening ports and nginx directives, the document root, git status of the app folder, env file NAMES only, databases, crontabs, and whether .env/.git are exposed. Values you know are filled in; unknown ones stay as . It runs nothing and connects to nothing. Use it when you can’t reach the server yourself, or before server_discover.

Input Schema

NameRequiredDescriptionDefault
appNoThe app name used by the release manager (<app>-deploy, /etc/<app>/)
domainYesThe site domain, e.g. example.com
app_dirNoThe folder the app runs from today, if known
env_fileNoThe path of the app's current .env on the server, if known
system_userNoThe domain's system user (Plesk subscription), if known
pm2_processesNoPM2 process names, if known

Output Schema

NameRequiredDescriptionDefault
blockYes
commandsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the description's 'It runs nothing and connects to nothing' reinforces rather than carries the safety profile. It does add real behavioral context beyond the annotations: output is names-of-env-files only (never values), unknown values remain as <placeholders>, and the human must run the commands as root and paste results back — a non-obvious two-party interaction. It stops short of saying what the placeholders block or what happens if the user pastes partial output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the alternative-tool routing are front-loaded, and no sentence is filler. However, the middle is one long comma-chained enumeration of return content that duplicates what the output schema already declares, which lengthens the definition without adding decision-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter read-only tool with full schema descriptions, complete annotations and an output schema, this is close to sufficient: it covers purpose, safety, placeholder behavior, and the hand-off to server_discover. The remaining gap is procedural — it does not say what the agent should do with the pasted-back output or that phase 2 feeds server_discover.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all six parameters, and the baseline is 3. The description earns above that by explaining the semantics of the five optional parameters as a group: known values are filled in and unknown ones stay as <placeholders>, which tells the agent it can call with only the required domain and still get useful output.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it returns a block of read-only commands for the user to run as root on the Plesk server and paste back, tagged as phase 2. The enumeration of what the block covers (Plesk/OS, PM2, systemd, ports, nginx, docroot, git status, env file names, databases, crontabs, exposure checks) makes it unmistakable against siblings like server_discover or deploy_logs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit triggering condition ('when you can't reach the server yourself') and an explicit ordering rule relative to a named sibling ('or before server_discover'). The agent knows both when to choose this tool and where it sits in the workflow without opening any other definition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.