1. Remote Mode
Dataify
English
  • 中文
  • English
  • Introduction
    • Overview
    • Support
  • Data Services
    • Getting Started Guide
    • MCP Setup Guide
    • Dataify cloud delivery tutorial
    • Web Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter Reference
        • Amazon Parameters
        • EBay Parameters
        • Walmart Parameters
    • Video Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter
    • SERP API
      • Overview
      • Quick Start Guide
      • Send your first request
      • Billing Information
      • FAQ
      • Status Code
      • Request Parameter Reference
        • Google
          • Google Search
          • Google Light
          • Google AI Mode
          • Google Map
          • Google Scholar
          • Google News
          • Google Lens
          • Google Jobs
          • Google Videos
          • Google Local
          • Google Trends
          • Google finance
          • Google Flight
          • Google Hotel
          • Google Images
          • Google Patent
          • Google Shopping
          • Google Play
        • Bing
          • Bing Search
          • Bing Map
          • Bing News
          • Bing Videos
          • Bing Images
          • Bing Shopping
        • DuckDuckGo
          • DuckDuckGo
        • Yandex
          • Yandex
      • Response Field Reference
        • Google
          • Google Search
          • Google AI Mode
          • Google Images
          • Google Shopping
          • Google videos
          • Google news
          • Google Map
          • Google Lens
          • Google Flight
          • Google Scholar
          • Google Hotel
          • Google Jobs
          • Google Trends
          • Google Local
          • Google Play
          • Google Finance
        • Bing
          • Bing search
          • Bing Map
          • Bing Shopping
          • Bing Video
          • Bing Images
          • Bing News
        • Yandex
          • Yandex
    • Web API
      • Overview
      • Quick Start
      • Billing Information
      • Send Your First Request
        • Search API
        • Extract API
        • Map API
      • Parameter Reference
        • Search API
        • Export API
        • Map API
        • Response code
    • Web Unlocker API
      • Overview
      • Quick Start
      • Send Your First Request
      • Parameter Reference
      • Billing Information
      • Response code
    • FAQ
      • Frequently Asked Questions
  • Network Infrastructure
    • Dynamic Network Services
      • Dynamic Residential Network
        • Introduction
        • Quick Start
          • Account and Password Authentication
          • Whitelist
          • List of countries/regions
      • High bandwidth network
        • Introduction
        • Quick Start
          • Account Verification
          • Whitelist
    • Static Network Services
      • Static ISP Network
        • Introduction
        • Quick Start
      • Static Data Center
        • Introduction
        • Quick Start
  • Public API
    • Overview
    • Get Token
    • Account
      • Query Credit Balance
      • Query Traffic Balance
      • Query Traffic Usage Records
    • Geolocation
      • Get Country Lists
      • Get State Lists
      • Get City Lists
      • Get ASN Lists
    • Network Service Users
      • Update user information
      • Delete user
      • Daily Traffic Usage Records
      • Hourly Traffic Usage Records
    • Whitelist
      • Query whitelist list
      • Add to Whitelist
      • Remove from Whitelist
    • ISP / Datacenter Proxies
      • Get a list of network nodes
      • Query network nodes expired
    • Dynamic High Bandwidth
      • Get a list of dynamic high-bandwidth servers
      • Restart dynamic high-bandwidth server
      • Renewal for Dynamic High-Bandwidth Servers
      • Dynamic High-Bandwidth Upgrade
      • Whitelist for High-Bandwidth Server Sub-accounts
      • Add sub-accounts to the high-bandwidth server whitelist
      • Remove the sub-account from the high-bandwidth server whitelist.
    • Web Scraper API
      • Usage Statistics
      • Task API
        • Create Task Instructions
        • Task Execution Status Description
        • Task List Retrieval Instructions
        • Task Download Instructions
        • Get Latest Task Instructions
    • SERP API
      • Interface Information
      • Task API
        • Google search API
        • Bing Search API
        • Duckduckgo search API
        • Yandex search API
    • Web API
      • Search API
      • Extract API
      • Map API
    • Web Unlocker API
      • Get Task Interface API
      • Using the statistics API
  • Integrations
    • AdsPower
    • BitBrowser
    • ClonBrowser
    • Hubstudio
    • Puppeteer
    • Playwright
    • Selenium
    • Chrome
  • FAQ
    • Payment Issues
    • Data Services
    • Network Infrastructure
  • SDK
    • Go SDK Guide
    • JavaScript SDK Guide
    • Python SDK Guide
    • TypeScript SDK Guide
  • CLI
    • Overview
    • Installation
    • Commands
    • Usage Examples
    • FAQ
  • MCP Server
    • Overview
    • Tools
    • Usage Examples
    • Output Format
    • FAQ
    • Agent Setup
      • Codex
      • Claude Code
      • Claude Desktop
      • Cursor
      • VS Code / GitHub Copilot
      • Windsurf / Devin Local
      • Cline
      • Google Antigravity
      • Gemini CLI
      • OpenClaw
      • CodeBuddy
      • WorkBuddy
      • Alibaba Qoder / Qoder CN
      • Alibaba Qwen Code
      • Moonshot AI Kimi Code
      • ByteDance Trae
      • ByteDance Coze
    • Remote Mode
      • Quick Start
      • Advanced
  • SKILLS
    • Guide
    • Agent Setup
      • WorkBuddy
  1. Remote Mode

Advanced

This document covers the service architecture, request format, transports, configuration, and operational details of Dataify MCP remote mode.

MCP Service Architecture#

Transports#

The Dataify MCP server supports the following transports, selected with the -transport startup parameter:
TransportValueDescriptionEndpoint path
STDIOstdioStandard input/output; the client process manages the lifecycle—
HTTPhttpStreamable HTTP protocol/mcp
SSEsseServer-Sent Events long connection/sse + /message
Both (default)both or allServes HTTP and SSE at the same time/mcp + /sse
A default start serves both HTTP and SSE on the same port.

Service Endpoints#

EndpointPurposeDescription
/mcpHTTP MCP entryStreamable HTTP protocol endpoint
/sseSSE connection entryServer-Sent Events handshake
/messageSSE message endpointMessage exchange in SSE mode
/healthzLiveness probeReturns 200 OK whenever the process is alive
/readyzReadiness probePings MySQL / ClickHouse / Redis in turn; 200 when all are reachable, otherwise 503

Default Configuration#

The following are the server's default values (overridable in configs/config.yaml):
SettingDefaultDescription
server.namedataify-mcpService name
server.version1.0.0Service version
server.port7780Listening port
server.timeout30sRequest timeout
web_unlocker.base_urlshttps://webunlocker.dataify.comWeb Unlocker endpoint
web_unlocker.timeout180sWeb Unlocker request timeout
scraper_api.base_urlshttps://scraperapi.dataify.comWeb scraping Builder endpoint
scraper_api.timeout180sWeb scraping request timeout
serp_api.base_urlshttps://scraperapi.dataify.comSERP search engine endpoint
serp_api.timeout180sSERP request timeout

MCP Service Address and Request Format#

MCP Service Address#

https://mcp.dataify.com/mcp          # HTTP mode
https://mcp.dataify.com/sse          # SSE mode
Default local development address: http://localhost:7780/mcp

Request Format#

HTTP Mode#

https://mcp.dataify.com/mcp?token=<your-api-token>&tools=<tool-list>

SSE Mode#

https://mcp.dataify.com/sse?token=<your-api-token>&tools=<tool-list>
SSE mode caches session authentication data in Redis (TTL 24 hours): the token and tools are stored on the first connection, and authentication is restored automatically from the sessionId afterwards.
⚠️ Client compatibility note: not every client supports the SSE endpoint. Codex, for example, supports only the HTTP transport (/mcp) and cannot use the SSE endpoint; Claude Code, Cursor, VS Code, and similar clients support both HTTP and SSE. Confirm that your client supports SSE before choosing SSE mode.

Parameters#

ParameterTypeRequiredDescription
tokenStringYesDataify API token, used for authentication
toolsStringNoComma-separated list of MCP tool names, used to restrict which tools are visible. If omitted, only free tools are shown

The tools Parameter in Detail#

Omit tools: only free tools are shown; calling a non-free tool returns the "tool currently unavailable" error.
Pass tools: only the enabled tools or categories are shown, and they must match your account's permissions.
Format: comma-separated category names or specific tool names; category names are recommended, such as google_serp,web_unlocker,amazon.
Deduplication: duplicate tool names are removed automatically.

Examples#


Authentication#

How the Token Is Passed#

The Authorization: Bearer <token> request header is recommended; clients that do not support custom request headers can use the URL token query parameter instead. If both are present, the header takes priority.
The compatible URL token mode has two forms:
1.
Direct parameter: every request carries ?token=xxx&tools=yyy.
2.
SSE session: in SSE mode the parameters are sent on the first connection, and later connections are authenticated automatically through a sessionId cached in Redis (valid for 24 hours).

Tool Permission Control#

The server applies two levels of permission filtering:
1.
Tool list filtering (filterToolsByAccess): looks up the tool codes available to the account using the token and tools parameters; tools not on the allow list are never exposed to the client.
2.
Tool call guard (guardToolCallByAccess): re-checks that the tool is on the allow list before every actual call; unauthorized calls return an error.
The error returned when unauthorized:
当前工具不可用:未传 tools 时仅允许免费工具;传入 tools 时需要匹配已启用的工具或分类
📌 The service returns this message in Chinese. It means: the tool is unavailable — without the tools parameter only free tools are allowed, and when tools is supplied the requested tool must match an enabled tool or category.

Logging#

Logging is controlled by the log configuration node:
SettingAllowed valuesDefaultDescription
leveldebug / info / warn / errorinfoLog level; set to debug when troubleshooting upstream request parameters
formatjson / textjsonOutput format
outputstdout / stderrstdoutOutput target
What the logs contain:
Startup information (name, version, port, transport)
HTTP/SSE request logs (method, path, status code, byte count, duration, whether a token was present, tools list)
MCP tool call logs (tool name, duration, whether an error occurred)
Upstream request status codes and durations
⚠️ The debug level logs SERP form fields but never outputs full tokens or Authorization information.

CORS Configuration#

Both the HTTP and SSE endpoints support CORS:
SettingDefaultDescription
allowed_origins* (allow all origins)CORS allow list; when unset, all origins are allowed by default
Allowed request headers: Content-Type, Mcp-Session-Id, Last-Event-ID
Exposed response headers: Mcp-Session-Id

Data Store Dependencies#

At startup the service checks connectivity to the following storage backends in order (skip with check_database_on_start: false):
StorePurpose
MySQLPrimary database for task status data
Tool permission MySQLTool access permission checks
ClickHouseTask statistics
RedisSSE session authentication cache
The readiness probe /readyz pings all four stores in turn and returns 503 Service Unavailable if any is unreachable.

Troubleshooting#

Common Problems#

The connection succeeds, but tools cannot be called#

Check the following in order:
1.
Is the API token valid? — Confirm in the Dataify console that it has not expired.
2.
Is the tools parameter correct? — When calling tools/call, name must be the concrete registered name, for example google_search. When configuring the URL's tools query parameter, you can use a category name such as google_serp, or specific tool names.
3.
Does the account have permission for those tools? — Some tools require a specific subscription tier.
4.
Is the MCP tool enabled? — Contact Dataify to confirm tool availability.

The health check fails (503)#

Check whether the following storage backends are reachable:
The MySQL primary database and the tool permission database
ClickHouse
Redis (required for SSE mode)
Look at the specific error in the logs to identify which store failed to connect.

The SSE connection drops#

SSE sessions have a 24-hour TTL in Redis. If the connection cannot be restored after dropping:
1.
Check that Redis is running normally.
2.
Start a new SSE connection (with the token and tools parameters).

Tool calls time out#

Each upstream interface has a default timeout of 180 seconds (Web Unlocker / SERP / web scraping). If timeouts are frequent:
1.
Check connectivity to scraperapi.dataify.com / webunlocker.dataify.com.
2.
For SERP searches, try no_cache=true to skip the cache layer.
3.
For Web Unlocker, adjust js_render, block_resources, and similar parameters to reduce rendering time.
修改于 2026-11-19 05:38:10
上一页
Quick Start
下一页
Guide
Built with