Cloudflare MCP Server
About This Server
Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Cloudflare's API.
Server Information
This webpage is the GitHub repository page for cloudflare/mcp-server-cloudflare, a project that provides an installer and MCP (Model Context Protocol) server for Cloudflare's API. MCP is a standardized protocol for managing context between large language models (LLMs) and external systems. The goal is to enable users to interact with Cloudflare services using natural language through MCP Clients like Claude Desktop. The page provides setup instructions, feature details, development guidelines, and example usages.
ā Key Points:
* The mcp-server-cloudflare project allows interaction with Cloudflare's API using natural language.
* It supports various Cloudflare services, including KV Store, R2 Storage, D1 Database, and Workers.
* The project provides tools for listing, creating, getting, updating, and deleting resources within these services.
* The setup involves running an init command and restarting the MCP client (e.g., Claude Desktop).
* The repository encourages contributions and provides development guidelines for local testing.
š Main Findings:
* The repository offers a bridge between LLMs and Cloudflare's services.
* It enables natural language interaction for managing and querying Cloudflare resources.
* The features cover a range of functionalities, from deploying Workers to querying D1 databases.
* The documentation includes setup instructions, code snippets, and examples for different services.
š Details:
* Services Supported: KV Store, R2 Storage, D1 Database, Workers, Analytics
* Setup Command: `npx @cloudflare/mcp-server-cloudflare init`
* Local Run Command: `node dist/index run
* Repository Stats: Public, 369 stars, 31 forks, 5 contributors
* License: Apache-2.0 license
* Languages: TypeScript (97.6%), JavaScript (2.4%)
šÆ Conclusion:
The cloudflare/mcp-server-cloudflare repository provides a framework for integrating Cloudflare services with LLMs through the MCP protocol. It allows users to manage and interact with their Cloudflare resources using natural language commands, offering a more intuitive and accessible interface. The project is open for contributions and includes setup and development guidelines for those interested in extending or modifying its functionality.
Server Features
KV Store Management: get_kvs
List all KV namespaces in your account
KV Store Management: kv_get
Get a value from a KV namespace
KV Store Management: kv_put
Store a value in a KV namespace
KV Store Management: kv_list
List keys in a KV namespace
KV Store Management: kv_delete
Delete a key from a KV namespace
R2 Storage Management: r2_list_buckets
List all R2 buckets in your account
R2 Storage Management: r2_create_bucket
Create a new R2 bucket
R2 Storage Management: r2_delete_bucket
Delete an R2 bucket
R2 Storage Management: r2_list_objects
List objects in an R2 bucket
R2 Storage Management: r2_get_object
Get an object from an R2 bucket
R2 Storage Management: r2_put_object
Put an object into an R2 bucket
R2 Storage Management: r2_delete_object
Delete an object from an R2 bucket
D1 Database Management: d1_list_databases
List all D1 databases in your account
D1 Database Management: d1_create_database
Create a new D1 database
D1 Database Management: d1_delete_database
Delete a D1 database
D1 Database Management: d1_query
Execute a SQL query against a D1 database
Workers Management: worker_list
List all Workers in your account
Workers Management: worker_get
Get a Worker's script content
Workers Management: worker_put
Create or update a Worker script
Workers Management: worker_delete
Delete a Worker script
Analytics: analytics_get
Retrieve analytics data for your domain. Includes metrics like requests, bandwidth, threats, and page views. Supports date range filtering.
Provider Information
Cloudflare
cloud Provider