cloudflare-api-mcp
by amxv
This is a lightweight Model Control Protocol (MCP) server deployed on Cloudflare Workers. It allows agents to interface with the Cloudflare REST API.
Last updated: N/A
What is cloudflare-api-mcp?
cloudflare-api-mcp is an MCP server that enables agents to interact with the Cloudflare REST API. It's built using create-mcp and deployed on Cloudflare Workers, providing a serverless environment for managing Cloudflare resources programmatically.
How to use cloudflare-api-mcp?
- Use the automated install script to clone and deploy the server. 2. Add the server to your agent's MCP settings. 3. Upload your Cloudflare API key and email as worker secrets. 4. Create new MCP tools by adding methods to the
MyWorker
class insrc/index.ts
.
Key features of cloudflare-api-mcp
Lightweight
Serverless
Cloudflare API Integration
Extensible with custom tools
Automated deployment
Use cases of cloudflare-api-mcp
Automating Cloudflare DNS record management
Programmatically managing Cloudflare firewall rules
Integrating Cloudflare services with AI agents
Creating custom Cloudflare management tools
Automated deployment and configuration of Cloudflare resources
FAQ from cloudflare-api-mcp
What is MCP?
What is MCP?
MCP stands for Model Control Protocol. It's a protocol for agents to interface with servers and execute commands.
What is create-mcp?
What is create-mcp?
create-mcp is a tool for bootstrapping MCP servers.
How do I add new tools?
How do I add new tools?
Add methods to the MyWorker
class in src/index.ts
. Each function will automatically become an MCP tool.
What information is needed to deploy?
What information is needed to deploy?
You need a Cloudflare API key and email address associated with your Cloudflare account.
Where can I find more information about Cloudflare API?
Where can I find more information about Cloudflare API?
You can find more information in the Cloudflare API Documentation: https://developers.cloudflare.com/api/