Home / Servers / Cloudflare API / pages_project_create_project

Create a Cloudflare Pages project

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Create a Cloudflare Pages project for configuring and deploying a site or application. [POST /accounts/{account_id}/pages/projects]

Name on the gateway: cloudflare_api__pages_project_create_project · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
build_configobjectConfigs for the project build process.
deployment_configsobjectConfigs for deployments in a project.
name requiredstringName for the Pages project. Must begin with a…
production_branch requiredstringProduction branch of the project. Used to…
sourceobjectConfigs for the project source control.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__pages_project_create_project",
  "arguments": {
    "account_id": "…",
    "name": "…",
    "production_branch": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a cloudflare pages project tool with account_id set to ….

More from Cloudflare API