cPanel MCP Bridge
Let Claude work directly with the files and MySQL databases of your cPanel hosting account. A single small PHP app you upload to your own hosting. No Composer, no Node, no framework.
Status: early release (0.1.0). Tested with 224 automated checks, including a real MariaDB. Not yet confirmed on every host: the claude.ai OAuth sign-in and the real cPanel API calls (creating/dropping databases and users) have been verified on one account only. This software gives an AI write access to your hosting account. Read docs/SECURITY.md, keep your own backups, and start in read-only mode.
- Files: list, read, search, write, edit, move, copy, delete (to trash), restore.
- Databases: inspect, query (read-only), run changes, export, create databases and users.
- Safe by default: every overwrite saves a version, every delete goes to a trash you can restore, secrets files are hidden, a one-click read-only switch, full activity log.
- Works with: claude.ai (custom connector, OAuth), Claude Desktop, Claude Code (bearer token).
Requirements: cPanel/shared hosting, PHP 8.1+, HTTPS. A subdomain such as mcp.yourdomain.com is recommended.
Quick start: see docs/INSTALL.md, then docs/CONNECT.md. Read docs/SECURITY.md before enabling write or database access.
What Claude can and cannot do
| Area | Read level | Write level | Manage level (databases) |
|---|---|---|---|
| Files | browse, read, search | + write, edit, move, delete to trash | n/a |
| Database | SELECT / SHOW | + INSERT, UPDATE, DELETE, schema changes | + create / drop databases and users, grants |
Never possible: reading the bridge's own folder, files matching the hide list (wp-config.php, .env, keys...), leaving the folder you chose, running shell commands, changing MySQL server-level settings.
Licence
GPL-3.0-or-later. See LICENSE.