Skip to content

Hosted EZ MCP Server

Connect Claude Code, Cursor, Codex, VS Code, and Windsurf to the Hosted EZ MCP Server using OAuth 2.1 + PKCE and give AI agents access to machine-readable docs.

Updated View as Markdown

The Hosted EZ MCP Server (https://mcp.hostedez.com/mcp) exposes 88 native tools over the Streamable HTTP Model Context Protocol (MCP), allowing AI coding assistants and automation agents to create sites, configure static delivery and rollbacks, manage custom domains, browse and query MariaDB databases, run CLI commands, manage staging and backups, and administer Hosted EZ Email—all with interactive OAuth 2.1 consent.

Server Endpoint & OAuth 2.1 Security

Hosted EZ’s MCP server implements the modern MCP authorization specification with zero static API keys to paste or rotate:

  • MCP Endpoint: https://mcp.hostedez.com/mcp (Streamable HTTP transport)
  • Authentication: OAuth 2.1 with mandatory PKCE (S256) for public clients (token_endpoint_auth_method: "none")
  • Discovery Metadata:
    • RFC 9728 Protected Resource Metadata: https://mcp.hostedez.com/.well-known/oauth-protected-resource
    • OAuth 2.1 Authorization Server Metadata: https://mcp.hostedez.com/.well-known/oauth-authorization-server
  • Client Registration: Supports both Dynamic Client Registration (RFC 7591 at /oauth/register) and Client ID Metadata Documents (CIMD), plus RFC 8707 Resource Indicators.
  • Token Lifetimes & Revocation: Authorization codes expire in 5 minutes, access tokens expire in 1 hour, and refresh tokens last 30 days with automatic rotation and reuse detection. Revoke tokens anytime via /oauth/revoke.

OAuth Scopes

Clients can request least-privilege scopes (or omit scope to request all three):

Scope Permissions Granted
account:read View your Hosted EZ account identity and current resource usage (sites, storage, mailboxes).
sites:read Read sites, domains, static delivery config, deployments, files, SFTP settings, terminal history, backups, performance/CDN, MariaDB schemas/exports, and email configuration/queue.
sites:write Create and delete sites, deploy/rollback, write files, manage SFTP keys/passwords, run CLI commands, manage staging/backups/CDN, run SQL queries/imports, and modify email resources.

Connect Your AI Client

Select your editor or CLI below to add https://mcp.hostedez.com/mcp. On first connection, your client will open your browser to sign in to Hosted EZ and approve the requested OAuth scopes.

Register the remote HTTP MCP server with the Claude Code CLI:

claude mcp add --transport http hostedez https://mcp.hostedez.com/mcp

Then run /mcp inside Claude Code and choose hostedez to complete the OAuth 2.1 browser sign-in flow.

Add Hosted EZ to .cursor/mcp.json (project-scoped) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "hostedez": {
      "url": "https://mcp.hostedez.com/mcp"
    }
  }
}

Reload Cursor or open Settings → Tools & MCP and click Connect to complete OAuth sign-in.

Add Hosted EZ using the Codex CLI (or directly in ~/.codex/config.toml):

codex mcp add hostedez --url https://mcp.hostedez.com/mcp

Equivalent ~/.codex/config.toml configuration:

[mcp_servers.hostedez]
url = "https://mcp.hostedez.com/mcp"

Start a Codex session and follow the browser OAuth prompt when prompted to authorize hostedez.

Add Hosted EZ to .vscode/mcp.json in your workspace (or your user mcp.json):

{
  "servers": {
    "hostedez": {
      "type": "http",
      "url": "https://mcp.hostedez.com/mcp"
    }
  }
}

Open the Command Palette (Cmd/Ctrl+Shift+P), run MCP: List Servers, select hostedez, and complete OAuth authorization.

Add Hosted EZ to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "hostedez": {
      "serverUrl": "https://mcp.hostedez.com/mcp"
    }
  }
}

Refresh MCP servers in Windsurf Cascade and approve the OAuth 2.1 consent prompt in your browser.

Machine-Readable Documentation for AI Agents

In addition to live tool execution over MCP, Hosted EZ publishes clean Markdown endpoints at docs.hostedez.com so AI agents can read accurate documentation without HTML scraping overhead:

  • Concise Docs Index (llms.txt): https://docs.hostedez.com/llms.txt — Lightweight directory of all Hosted EZ guide URLs and summaries.
  • Full Documentation Bundle (llms-full.txt): https://docs.hostedez.com/llms-full.txt — Complete guide text concatenated for single-fetch ingestion.
  • OpenAPI Endpoint Index (/api/llms.txt): https://docs.hostedez.com/api/llms.txt — Machine-readable index of all customer REST API operations.
  • Per-Page Markdown (.md URLs): Append .md to any documentation page URL (for example, https://docs.hostedez.com/automation/mcp-server.md) to retrieve raw Markdown.
  • HTTP Content Negotiation (Accept: text/markdown): Send Accept: text/markdown to any docs.hostedez.com page to receive text/markdown; charset=utf-8 directly:
curl -H "Accept: text/markdown" https://docs.hostedez.com/automation/mcp-server

Next Steps

Navigation

Type to search…

↑↓ navigate↵ selectEsc close