mcp-server-cloudflare
mcp-server-cloudflare copied to clipboard
Consistent error with a missing "content" array
I am able to install just fine however when Cline attempts to utilize the MCP it consistently receives the following response, no matter which tool is attempted.
Error Error executing MCP tool: [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "content" ], "message": "Required" } ]
Ya mine is saying:
Error executing MCP tool: [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "content" ], "message": "Required" } ]
same error here.
same here it might not work guys
Not working for me in Cline, however it works fine via insector https://mcp.so/server/inspector, probably it can be a problem in Cline itself
it also doesn't work with the official js sdk, the returned result is {result: {toolResult:{content: []}}}, but the required format is {content}
@bmeyer99 @raayraay69 did you guys managed to resolve the issue?
I too am getting this using Roo Code (formerly Roo Cline):
Error executing MCP tool:
[
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"content"
],
"message": "Required"
}
]
Seems the request is malformed because RooCode is able to CURL the endpoint with the same token provided in the MCP server settings and get responses for things like zone_list and also make changes
This is relevant to the local stdio based server. We are now maintaining the remote MCP server, which shouldn't have this issue.