Connect cPanel to Claude Code with MCP
Link a WebPros account, add cPanel's MCP server to Claude Code, and let an AI coding tool deploy sites and maintain the account for you.
cPanel's MCP connection exposes your account to an AI coding tool through the Model Context Protocol, so the tool can deploy a website and perform account maintenance for you rather than telling you which buttons to press. Claude Code is the supported client.
Applies to cPanel accounts using the Meridian theme. You need a WebPros account to link to, and Claude Code installed on your own computer.
Link your WebPros account
- In cPanel, open Account Preferences.
- Find the MCP Connection section.
- Select Link WebPros Account and sign in when prompted.
The link is what authorises the connection. Unlinking later disconnects your WebPros account from cPanel, and you have to authenticate again before using MCP from that machine.
Add the server to Claude Code
Still in the MCP Connection section, either download mcp.json or copy the
connection configuration shown. Then put it in one of two places, depending on
who should have access:
| File | Scope |
|---|---|
~/.claude.json | Just you, on this computer, in every project |
.mcp.json in the repository root | Everyone working in that repository |
Use the repository file when a team shares the project and each member links their own WebPros account. Use the home-directory file for your own machine.
.mcp.json is committed with the repository. Check what the configuration
contains before adding it to a repository other people can read, and never
commit an access token to a public repository.
Connect
- Restart Claude Code so it reads the new configuration.
- Run
/mcp. - Choose the authentication option. A browser window opens to complete verification.
Once verification finishes, the cPanel tools are available in that session.
What you can do with it
The connection is built for deploying websites and routine account maintenance. A deployment request reads much like a sentence:
Deploy this Node.js app to my cPanel account and give me the live HTTPS URL.That flow is also available from the Websites hub — see Deploy a Node.js app, which lists Deploy via WebPros MCP as one of its three code sources.
Disconnect
Return to Account Preferences → MCP Connection and unlink the WebPros
account. Do this when you stop using the machine you configured, or when someone
who had access to a shared .mcp.json should no longer have it.
Related
Use the AI Assistant
Ask questions about your own cPanel account in plain language. What the Meridian AI Assistant can explain, diagnose and change, and what it will not touch.
Build a site with Sitejet Builder
Start from a template or describe your site to the AI generator, edit it in the drag-and-drop builder, then publish it to your domain from cPanel.