WebGee DocsDocs
cPanel & Hosting

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.

  1. In cPanel, open Account Preferences.
  2. Find the MCP Connection section.
  3. 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:

FileScope
~/.claude.jsonJust you, on this computer, in every project
.mcp.json in the repository rootEveryone 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

  1. Restart Claude Code so it reads the new configuration.
  2. Run /mcp.
  3. 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 PreferencesMCP 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.

On this page