-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Description
Bug Report
Environment
- OS: macOS
- Node.js: v20.19.4
- MCP Server: @cloudflare/mcp-server-cloudflare (latest)
- Client: Claude Desktop App
Problem Description
MCP connection establishes successfully and shows proper authentication, but all API calls return empty results without errors.
Configuration
{
"mcpServers": {
"cloudflare": {
"command": "/Users/leon/.nvm/versions/node/v20.19.4/bin/npx",
"args": ["-y", "@cloudflare/mcp-server-cloudflare", "run", "YOUR_ACCOUNT_ID"],
"env": {
"CLOUDFLARE_API_TOKEN": "YOUR_API_TOKEN",
"PATH": "/Users/leon/.nvm/versions/node/v20.19.4/bin:/usr/local/bin:/usr/bin:/bin"
}
}
}
}API Token Permissions
- Zone : Zone : Read
- Zone : DNS : Edit
- Account : Cloudflare Pages : Edit
Logs
[DEBUG 2025-09-04T15:41:46.128Z] Config loaded: {"accountId":"✓","apiToken":"✓"}
[DEBUG 2025-09-04T15:41:46.129Z] Starting server...
[DEBUG 2025-09-04T15:41:46.129Z] Server connected and running
Connection appears successful, tools list is returned properly, but calls like:
zones_listworker_listget_kvs
All return empty results without errors.
Expected Behavior
API calls should return actual Cloudflare account data (zones, workers, pages projects, etc.)
Actual Behavior
- Connection establishes successfully
- Authentication appears to work (✓ checkmarks in logs)
- Tools are loaded and available
- But all API calls return empty/no data
Additional Context
- API token works correctly when tested directly with curl
- Account has active Cloudflare Pages projects and domains
- Same issue occurs across different API endpoints
Potential Issues
- Account ID parameter might not be properly passed to API calls
- Token permissions might be insufficient despite appearing to authenticate
- Duplicate server initialization in logs suggests possible internal state issues
Would appreciate guidance on debugging this further or if there are known issues with the current version.
Metadata
Metadata
Assignees
Labels
No labels