How rodriguedev13/obambu-cpanel-mcp works
This is an MCP server that turns assistant tool requests into cPanel UAPI operations. An MCP client connects over stdio; registered tools handle account summaries, domains, DNS, email, file listing, MySQL, and a generic UAPI escape hatch. Those handlers call a shared client, which builds authenticated HTTPS requests and returns UAPI data. The README documents the tool capabilities; the sampled source shows their dispatch and shared transport, but not the cPanel service internals.
Main entry points: index.ts Tool server · cpanelClient.ts UAPI client
Components 11
MCP interface
- Tool server
src/index.ts
Account and domains
- Account summary
src/index.ts - Domain listing
src/index.ts
Resource management
- DNS tools
src/index.ts - Email tools
src/index.ts - MySQL tools
src/index.ts
File and API access
- File listing
src/index.ts - Generic UAPI
src/index.ts
cPanel access
- UAPI client
src/cpanelClient.ts
Other components
- MCP client
- cPanel UAPI
Connections 16
- MCP client → Tool server: connects over stdio
src/index.ts - Tool server → Account summary: registers tools
src/index.ts - Tool server → Domain listing: registers tools
src/index.ts - Tool server → DNS tools: registers tools
src/index.ts - Tool server → Email tools: registers tools
src/index.ts - Tool server → MySQL tools: registers tools
src/index.ts - Tool server → File listing: registers tools
src/index.ts - Tool server → Generic UAPI: registers tool
src/index.ts - Account summary → UAPI client: calls UAPI
src/index.ts - Domain listing → UAPI client: calls UAPI
src/index.ts - DNS tools → UAPI client: calls UAPI
src/index.ts - Email tools → UAPI client: calls UAPI
src/index.ts - MySQL tools → UAPI client: calls UAPI
src/index.ts - File listing → UAPI client: calls UAPI
src/index.ts - Generic UAPI → UAPI client: calls UAPI
src/index.ts - UAPI client → cPanel UAPI: sends HTTPS requests
src/cpanelClient.ts