Skip to main content
Glama
Ploi.io MCP Server

Ploi.io MCP Server

by captenmasin

Ploi.io MCP Server

MCP server for Ploi.io account management using the Ploi API.

It ships with two transports that share the same tools:

  • stdio — run locally, launched by your MCP client. Authenticates with a PLOI_API_TOKEN from the environment (src/index.ts).

  • Cloudflare Worker — remote, multi-tenant Streamable HTTP server. Each caller supplies their own Ploi token as Authorization: Bearer <token>; nothing is stored on the Worker (src/worker.ts). See Deploy to Cloudflare and Use with Poke.

Setup (local stdio)

npm install
npm run build

Create a Ploi API token from your Ploi profile, then configure your MCP client to launch this server with the token in the environment:

{
  "mcpServers": {
    "ploi": {
      "command": "node",
      "args": ["/path/to/ploi-mcp-server/dist/index.js"],
      "env": {
        "PLOI_API_TOKEN": "your-ploi-api-token"
      }
    }
  }
}

Optional environment variables:

  • PLOI_API_BASE_URL: override the API base URL. Defaults to https://ploi.io/api.

  • PLOI_USER_AGENT: override the user agent sent to Ploi. Defaults to ploi-mcp-server/1.0.0.

Related MCP server: Ploi MCP Server

Deploy to Cloudflare

The Worker exposes the same tools over the MCP Streamable HTTP transport at /mcp (legacy SSE at /sse), backed by a Durable Object via the agents SDK. GET / is a health check.

Authentication is multi-tenant and pass-through. The Worker stores no Ploi credentials. Every request must carry the caller's own Ploi token as Authorization: Bearer <token>; that token is bound to the MCP session and used for all Ploi API calls in that session. Requests without a bearer token get 401.

Deploy

npm install
npx wrangler login
npm run deploy        # deploys to https://ploi-mcp-server.<subdomain>.workers.dev

No secrets to configure. Optional PLOI_API_BASE_URL / PLOI_USER_AGENT overrides can be added under vars in wrangler.jsonc.

Local development

npm run dev           # local worker at http://localhost:8787

Pass a token per request, e.g.:

curl -s http://localhost:8787/health
curl -s -X POST http://localhost:8787/mcp \
  -H "Authorization: Bearer <your-ploi-token>" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"dev","version":"0"}}}'

After editing wrangler.jsonc, run npm run cf-typegen (wrangler types) and typecheck the Worker with npm run typecheck:worker.

Use with Poke

Poke sends the integration's API key as Authorization: Bearer <key> on every request — so each user simply pastes their own Ploi API token as the key, and the Worker uses it for that user.

  1. Deploy the Worker (above) and note its URL.

  2. In Poke, add an MCP integration:

    • URL: https://ploi-mcp-server.<subdomain>.workers.dev/mcp

    • API Key: the user's Ploi API token (from the Ploi profile page)

    Or via CLI:

    npx poke@latest mcp add \
      https://ploi-mcp-server.<subdomain>.workers.dev/mcp \
      -n "Ploi" -k "<user-ploi-api-token>"

Each Poke user's token only ever touches their own session; the Worker keeps no copy. If a request arrives without a token, or the token is rejected by Ploi, the corresponding tool call returns an error.

Tools

Servers

  • ploi_list_servers

  • ploi_get_server

  • ploi_create_server

  • ploi_create_custom_server

  • ploi_start_custom_server_installation

  • ploi_update_server

  • ploi_restart_server

  • ploi_delete_server

Sites

  • ploi_list_sites

  • ploi_get_site

  • ploi_create_site

  • ploi_update_site

  • ploi_delete_site

  • ploi_deploy_site

  • ploi_get_site_nginx_configuration

  • ploi_update_site_nginx_configuration

Databases

  • ploi_list_databases

  • ploi_get_database

  • ploi_duplicate_database

  • ploi_forget_database

Docker containers / services

  • ploi_list_containers

  • ploi_get_container

  • ploi_create_container

  • ploi_update_container

  • ploi_start_container

  • ploi_stop_container

  • ploi_restart_container

  • ploi_delete_container

Ploi exposes documented up and down endpoints for Docker containers. The restart tool queues a shutdown followed by a startup using those endpoints.

Account helpers

  • ploi_list_server_providers

  • ploi_get_server_provider

  • ploi_list_backup_configurations

  • ploi_get_ip_addresses

Destructive tools require a confirm: true argument.

Available Tools

32 tools
ploi_create_containerCreate Ploi Docker containerB

Create a Docker application container on a Ploi server.

Inputs: name (required), server_id (required), deploy_script.

ploi_create_custom_serverCreate custom Ploi serverA

Create a custom server record and return the SSH command/start URL required to begin installation.

Inputs: ip (required), name (required), type.

ploi_create_serverCreate Ploi serverA

Create a new provider-backed Ploi server. Use account provider tools first to discover valid credentials, plans, and regions.

Inputs: name (required), plan (required), region (required), credential (required), +6 more.

ploi_create_siteCreate Ploi siteB

Create a new site on a Ploi server.

Inputs: server_id (required), root_domain (required), system_user, webhook_url, +4 more.

ploi_delete_containerDelete Ploi Docker containerB
Destructive

Delete a Docker container from a Ploi server.

Inputs: confirm (required), server_id (required), container_id (required).

ploi_delete_serverDelete Ploi serverA
Destructive

Delete a Ploi server. This is irreversible and removes associated data.

Inputs: confirm (required), server_id (required).

ploi_delete_siteDelete Ploi siteA
Destructive

Delete a site from a Ploi server.

Inputs: confirm (required), site_id (required), server_id (required).

ploi_deploy_siteDeploy Ploi siteA

Trigger or schedule a deployment using the site's configured deploy script.

Inputs: site_id (required), server_id (required), scheduled, variables.

ploi_duplicate_databaseDuplicate Ploi databaseA

Clone an existing database to a new database on the same server.

Inputs: name (required), server_id (required), database_id (required), user, +1 more.

ploi_forget_databaseForget Ploi databaseA
Destructive

Remove a database from Ploi records without deleting it from the server.

Inputs: confirm (required), server_id (required), database_id (required).

ploi_get_containerGet Ploi Docker containerA
Read-onlyIdempotent

Retrieve details for a single Docker container on a Ploi server.

Inputs: server_id (required), container_id (required).

ploi_get_databaseGet Ploi databaseA
Read-onlyIdempotent

Retrieve details for a single database on a Ploi server.

Inputs: server_id (required), database_id (required).

ploi_get_ip_addressesGet Ploi IP addressesA
Read-onlyIdempotent

Retrieve Ploi IP addresses for allow-listing workers and uptime checks.

Inputs: no named parameters.

ploi_get_serverGet Ploi serverA
Read-onlyIdempotent

Retrieve details for a single Ploi server.

Inputs: server_id (required).

ploi_get_server_providerGet Ploi server providerA
Read-onlyIdempotent

Retrieve a server provider credential, including available plans and regions.

Inputs: provider_id (required).

ploi_get_siteGet Ploi siteA
Read-onlyIdempotent

Retrieve details for a single site on a Ploi server.

Inputs: site_id (required), server_id (required).

ploi_get_site_nginx_configurationGet site NGINX configurationA
Read-onlyIdempotent

Retrieve the NGINX configuration for a Ploi site.

Inputs: site_id (required), server_id (required).

ploi_list_backup_configurationsList Ploi backup configurationsB
Read-onlyIdempotent

List backup configurations linked to the authenticated Ploi account.

Inputs: page, per_page.

ploi_list_containersList Ploi Docker containersA
Read-onlyIdempotent

Retrieve a paginated list of Docker containers on a Ploi server.

Inputs: server_id (required), page, per_page.

ploi_list_databasesList Ploi databasesA
Read-onlyIdempotent

Retrieve a paginated list of databases on a Ploi server.

Inputs: server_id (required), page, per_page.

ploi_list_server_providersList Ploi server providersA
Read-onlyIdempotent

List server provider credentials linked to the authenticated Ploi account.

Inputs: page, per_page.

ploi_list_serversList Ploi serversA
Read-onlyIdempotent

Retrieve a paginated list of all servers in the authenticated Ploi account.

Inputs: page, per_page.

ploi_list_sitesList Ploi sitesA
Read-onlyIdempotent

Retrieve a paginated list of all sites on a Ploi server.

Inputs: server_id (required), page, per_page.

ploi_restart_containerRestart Ploi Docker containerA
Destructive

Queue a Docker container shutdown followed by startup using Ploi's documented down/up endpoints.

Inputs: server_id (required), container_id (required), up_flags, down_flags.

ploi_restart_serverRestart Ploi serverB
Destructive

Reboot a Ploi server.

Inputs: server_id (required).

ploi_start_containerStart Ploi Docker containerB

Queue a Docker container for startup on a Ploi server.

Inputs: server_id (required), container_id (required), flags.

ploi_start_custom_server_installationStart custom server installationA

Start installation for a custom Ploi server after the returned SSH command has been run.

Inputs: server_id (required), webhook_url, install_monitoring.

ploi_stop_containerStop Ploi Docker containerA

Queue a Docker container for shutdown on a Ploi server.

Inputs: server_id (required), container_id (required), flags.

ploi_update_containerUpdate Ploi Docker containerA

Update a Docker container name or compose deploy script.

Inputs: server_id (required), container_id (required), name, deploy_script.

ploi_update_serverUpdate Ploi serverB

Update server metadata such as name, IP address, and SSH port.

Inputs: server_id (required), ip, name, ssh_port.

ploi_update_siteUpdate Ploi siteA

Update site properties. Domain changes are processed asynchronously by Ploi.

Inputs: site_id (required), server_id (required), root_domain.

ploi_update_site_nginx_configurationUpdate site NGINX configurationA

Replace the NGINX configuration for a Ploi site. Ploi may require a reload/restart afterward.

Inputs: content (required), site_id (required), server_id (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 32 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action. Categories like servers, sites, databases, and containers have clear boundaries with no overlapping operations.

    Naming Consistency5/5

    All tools follow a consistent 'ploi_verb_noun' pattern (e.g., ploi_list_servers, ploi_create_site), making it easy to infer function from name.

    Tool Count4/5

    With 32 tools, the set is on the high side but still reasonable for managing multiple server aspects (servers, sites, databases, containers, providers, backups, IPs). A slight reduction could improve focus.

    Completeness3/5

    The tool surface covers servers, sites, and containers well, but databases lack create/delete operations and backups only list configurations. Notable gaps for a server management tool.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Integrates Ploi.io API functionality into AI assistants for managing servers, sites, and databases through natural language. It enables features like one-command deployments, project linking, server log retrieval, and database backup management.
      46
      17 npm
      3
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Enables managing Pterodactyl Panel 1.x and 2.0 servers, files, databases, schedules, backups, users, and administrative resources across multiple panels through Client, Application, and Admin APIs. Supports stdio, Streamable HTTP, Docker, and Cloudflare Workers with runtime panel switching and automatic API-version detection.
      75
      1
      MIT