Basic information
About cloudflare-api-mcp Server
Lightweight MCP server to give your Cursor Agent access to the Cloudflare API.
cloudflare-api-mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by zueai-mcp. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 15 GitHub stars. Source code is hosted on github.com. Related topics: api, cloudflare, cursor-agent, mcp, server.
Setup
{
"mcpServers": {
"cloudflare-api-mcp-zueai-mcp": {
"command": "bun",
"args": [
"create",
"mcp",
"--clone",
"https://github.com/zueai/cloudflare-api-mcp"
]
}
}
}
{
"mcpServers": {
"cloudflare-api-mcp-zueai-mcp": {
"command": "bun",
"args": [
"create",
"mcp",
"--clone",
"https://github.com/zueai/cloudflare-api-mcp"
]
}
}
}
{
"servers": {
"cloudflare-api-mcp-zueai-mcp": {
"command": "bun",
"args": [
"create",
"mcp",
"--clone",
"https://github.com/zueai/cloudflare-api-mcp"
]
}
}
}
cloudflare-api-mcp — by zueai-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cloudflare-api-mcp-zueai-mcp": {
"command": "bun",
"args": [
"create",
"mcp",
"--clone",
"https://github.com/zueai/cloudflare-api-mcp"
]
}
}
}
cloudflare-api-mcp — by zueai-mcp tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is cloudflare-api-mcp?
A lightweight Model Control Protocol (MCP) server bootstrapped with create-mcp and deployed on Cloudflare Workers. It enables AI agents (such as Cursor) to interface with the Cloudflare REST API.
How to use cloudflare-api-mcp?
Run the automated install script (bun create mcp --clone https://github.com/zueai/cloudflare-api-mcp), configure in Cursor Settings → MCP, and upload your Cloudflare API key and email as worker secrets using bunx wrangler secret put. For local development, add credentials to a .dev.vars file.
Key features of cloudflare-api-mcp
- Deployed on Cloudflare Workers for serverless execution.
- Automatically exposes class methods as MCP tools.
- Integrates with the full Cloudflare REST API.
- Extensible by adding new methods to the MyWorker class.
- Lightweight and actively developed.
Use cases of cloudflare-api-mcp
- Automate DNS record creation, updates, and deletions via an AI agent.
- Manage Cloudflare zones, certificates, or other resources programmatically.
- Embed Cloudflare API operations into Cursor workflows.
Frequently asked questions
1 What is the purpose of cloudflare-api-mcp?
It allows AI agents (like Cursor) to call Cloudflare REST API endpoints through the Model Control Protocol, enabling automated infrastructure management.
2 How do I install cloudflare-api-mcp?
Clone the repository using bun create mcp --clone https://github.com/zueai/cloudflare-api-mcp, then add the server to Cursor settings and deploy with your Cloudflare API key and email as worker secrets.
3 What tools are available?
Every method in the MyWorker class in src/index.ts becomes an MCP tool. The README provides an example for createDNSRecord; the current full list is in the source code.
4 How can I add new tools?
Add a method to the MyWorker class with JSDoc comments (first line as description, @param tags for parameters, @return for return type). The method is automatically exposed as an MCP tool.
5 Does cloudflare-api-mcp require any specific runtime or credentials?
Yes, it runs on Cloudflare Workers and requires Bun for local development. You need a Cloudflare API key and email, set as worker secrets (CLOUDFLARE_API_KEY and CLOUDFLARE_API_EMAIL).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In