Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLESK_HOSTYesBase URL of your Plesk server. May include port.
PLESK_API_KEYNoAPI key for authentication (recommended).
PLESK_PASSWORDNoPassword for authentication (alternative to API key).
PLESK_USERNAMENoUsername for authentication (alternative to API key). Typically "admin".

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
api_list_tagsA

List available Plesk API tags. Start here to explore Plesk APIs.

api_listB

List available Plesk APIs.

api_helpA

Explain how to call a specific Plesk API.

api_callA

Call Plesk API. Do not use any preconceived notions about how to use Plesk API. Instead validate usage with api_help tool.

execA

Executes a command on the Plesk server and returns the result.

The command CWD is the home directory of the user (e.g. /root for root user, or /var/www/vhosts/example.com for a subscription user). This tool will reject long commands. Keep the total length of the command, stdin, and env vars under about 740 characters.

This tool will fail for subscriptions with no or chrooted shell access (chrootsh).

uploadA

Uploads a file with the given content to the Plesk server and returns the file path.

The file will be uploaded to a temporary location returned by this tool and can be used in subsequent commands. The file is uploaded as 0600 psaadm:psaadm, so make sure to set proper permissions and ownership after moving it. For example, subscription files should typically have 0644 $user:psacln. Make sure to set both.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/FlayedOne/plesk-mcp'

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