MCP (HTTP) + DataForSEO server v2.7.7 — only some tools work; others fail schema validation (filters)

*(I allready upgraded dataforseo-mcp-server to v2.7.7 (Windows, HTTP /mcp)*
The connection from n8n Cloud works and several tools run fine, but a number of Labs endpoints still fail with a schema validation error inside the MCP client/Agent. So only specific tools are usable.

n8n Cloud: 1.107.3

Nodes tried:

MCP Client Tool (HTTP streamable)

AI Agent @n8n/n8n-nodes-langchain.agent v2.2 (ToolsAgent V2)

MCP server: dataforseo-mcp-server 2.7.7

What works (examples)

  • keywords_data_google_ads_search_volume

  • ai_optimization_keyword_data_search_volume

  • (several Trends / On-page / Backlinks summary tools also OK)

What fails (examples)

  • dataforseo_labs_google_ranked_keywords

  • (and other complex Labs endpoints that accept filters / order_by)

Error shown in n8n:
Bad request - please check your parameters
Invalid schema for function ‘dataforseo_labs_google_ranked_keywords’: In context=(‘properties’,‘filters’,‘items’,‘anyOf’,‘2’), array schema missing items.

Can you share your workflow/mcp configurations in n8n here?

thank you
Data For SEO team helped solve

We’ve recently discussed a similar case :folded_hands:

To address this, we implemented a simplified version of the filter description, which allows passing essentially any input into filtering. However, enabling this mode requires self-hosting the MCP server.

Here’s how you can set it up —>

Set the environment variable:

set DATAFORSEO_SIMPLE_FILTER=false

Run the MCP server locally:

npx dataforseo-mcp-server sse

Point your n8n instance to localhost

In this mode, everything will work as expected.

Could you try implementing this as well?

but actualy set DATAFORSEO_SIMPLE_FILTER=true worked for me!!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.