Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ploi MCP Serverdeploy the latest changes to mydomain.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ploi MCP Server
An MCP (Model Context Protocol) server that exposes Ploi.io API functionality as tools for AI assistants like Claude.
Deploy your sites with a simple "deploy" command - no clicking around in dashboards!
Features
One-command deployments - Just say "deploy" and watch it happen
Auto-wait - Deployments wait for completion and report success/failure
Project linking - Link projects to Ploi sites with
.ploi.jsonFull server management - List, restart, view logs
Site management - Deploy, suspend, resume, view logs
Database management - List databases, create backups
Installation
Option 1: Global Install (Recommended)
Option 2: No Install (using npx)
Skip installation - npx will download and run it automatically when configured.
Quick Start
Step 1: Get your API token
Get your token from ploi.io/profile/api-keys
Step 2: Configure Claude Code
Add to ~/.claude.json:
If you installed globally:
If using npx (no install):
Step 3: Restart Claude Code
Close and reopen Claude Code for the MCP server to load.
Step 4: Link your project
In Claude Code, say:
Step 5: Deploy anytime
Just say:
That's it! The deployment will run and notify you when complete.
Configuration
Claude Code
Add to ~/.claude.json:
Or using environment variable:
Claude Desktop
Add to config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Usage
Command Line Options
Project Setup
Link a project to its Ploi site for one-command deployments:
This creates .ploi.json in your project:
Now just say "deploy" and it will:
Trigger deployment
Wait for completion (polling every 5 seconds)
Report success or failure
Available Tools
Project Tools
Tool | Description |
| Deploy current project and wait for completion |
| Link project to a Ploi site by domain |
| Check deployment status |
Server Management
Tool | Description |
| List all servers |
| Get server details |
| Restart a server |
| Get server logs (auth, error, lastlog, syslog) |
Site Management
Tool | Description |
| List sites on a server |
| Get site details |
| Deploy a site and wait for completion |
| Get deployment logs |
| Suspend a site |
| Resume a suspended site |
| Search for a site by domain |
Database Management
Tool | Description |
| List databases on a server |
| Create a database backup |
Example Commands
Development
License
MIT