Skip to main content
Glama
yashodhank

WHMCS MCP Server

by yashodhank

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_ENVNoEnv profile: local, staging, production. Layers .env.<MCP_ENV> over base .env.production
MCP_MODENoOperation mode: read_only, simulate, fullread_only
MCP_DEBUGNoEnable verbose loggingfalse
WHMCS_SECRETYesAPI secret from WHMCS API Credentials
WHMCS_API_URLYesYour WHMCS base URL (e.g., https://billing.example.com)
MCP_AUTH_TOKENNoOptional shared secret required on tool calls (auth_token param). Not used for resource reads.
MCP_RATE_LIMITNoMax WHMCS API calls per second10
MCP_ACCESS_MODENoAccess mode: admin (full) or client (scoped)admin
WHMCS_ACCESS_KEYNoOptional WHMCS API access key (for IP restricted setups)
WHMCS_ALLOW_HTTPNoAllow an http:// WHMCS_API_URL (not recommended; credentials sent in clear). Otherwise https is required.false
WHMCS_IDENTIFIERYesAPI identifier from WHMCS API Credentials
MCP_MAX_PAGE_SIZENoMaximum pagination size100
MCP_ALLOW_ANON_LLMNoAllow anonymous llm_safe_summary fallback when governance is onfalse
MCP_TOOL_ALLOWLISTNoComma-separated list of allowed tools
MCP_WRITE_AUDIT_PATHNoDurable audit log path (required when prod writes are allowlisted)
MCP_CONSUMER_REGISTRYNoJSON consumer registry (token_sha256 only)
MCP_WRITE_KILL_SWITCHNoEmergency block on controlled writesfalse
MCP_ALLOWED_CLIENT_IDSNoComma-separated client IDs allowed in client mode
MCP_GOVERNANCE_ENABLEDNoOpt-in consumer-aware projection for reads (see Phase B docs)false
MCP_PROD_WRITE_AUTHORIZEDNoComma-separated WHMCS actions allowed for production write execution
MCP_LARGE_REFUND_THRESHOLDNoRefunds above this amount require confirm_large_refund: true1000
MCP_WRITE_IDEMPOTENCY_PATHNoDurable idempotency store path
MCP_PROD_HIGH_RISK_DAILY_CAPNoDaily aggregate cap for high-risk writes0
MCP_CLIENT_CUSTOM_FIELD_LABELSNoComma-separated fieldId:label overrides for client custom fields
MCP_WRITE_EXECUTION_AUTHORIZEDNoNon-prod runtime write allowlist
MCP_PROD_HIGH_RISK_PER_ACTION_CAPNoPer-action cap for high-risk write scopes0

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yashodhank/whmcs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server