Cloudflare MCP Server for IDE
Cloudflare MCP server for IDE ( Cline, Windsurf, Cursor, etc )
Overview
The Cloudflare MCP Server for IDE is a tool that allows developers to manage their Cloudflare accounts using natural language commands through various IDEs like VSCode, Cline, and Windsurf. It utilizes the Model Context Protocol (MCP) to facilitate communication between large language models and external systems.
To use the server, you need to install it via the command npx @gutmutcode/mcp-server-cloudflare init, then restart your IDE to access the available tools for managing your Cloudflare account.
- Natural language commands for Cloudflare account management - Support for KV Store, R2 Storage, D1 Database, and Workers management - Analytics retrieval for domain performance - Easy integration with popular IDEs
- Deploying new Cloudflare Workers with simple commands.
- Managing KV namespaces and R2 buckets directly from the IDE.
- Executing SQL queries on D1 databases through natural language.
Add to your AI client
Use these steps to connect Cloudflare MCP Server for IDE in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-cloudflare-gutmutcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-cloudflare-gutmutcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-cloudflare-gutmutcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-cloudflare-gutmutcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-cloudflare-gutmutcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-cloudflare-gutmutcode": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-cloudflare-gutmutcode"
]
}
}
}FAQ
Can I use this server with any IDE?
Yes, it is compatible with IDEs that support the Model Context Protocol, such as VSCode, Cline, and Windsurf.
Is there a demo available?
Yes! You can view a short demo video [here](https://youtube.com/shorts/SmN-I3XBO0g?si=bg4PqM5TJTMWdtGJ).
What programming language is this project built with?
The project is built using TypeScript.