1. CLI
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. CLI

FAQ

Answers to common questions about the Dataify MCP CLI, token configuration, troubleshooting, and configuration. Every answer is based on how the CLI actually behaves.

General#

What is the Dataify MCP CLI?#

It is a cross-platform command-line tool for calling the data collection tools exposed by the Dataify MCP HTTP service (search, Web Unlocker, scrape task status, and so on). It fixes the MCP address and the tool list up front, so all you configure is the token — plus the tool and parameters you want to call.

What does it need to run?#

Node.js: version >= 18.17 (an LTS release is recommended).
Operating system: Windows, macOS, or Linux.
Check your versions with node -v and npm -v.

Are there any command aliases?#

No extra aliases. After a global install the command is always dataify; when run through npx it is dataify-mcp-cli.

What output formats are supported?#

Default: the main content the tool returns — structuredContent when present, otherwise the text content; if that text parses as JSON it is pretty-printed.
--raw: the complete MCP tool result (including original fields such as content and isError).
--output <FILE>: write the result to a file instead of printing it to the terminal.
--pretty false: turn off JSON formatting and print compact single-line output.

Which commands are supported?#

The built-in commands are: init, login, logout, whoami, tools / list, balance, serp, scraper, webunlock, schema, call, config, mcp, skill, language, chat / repl, help, and version. Any other input is treated as a tool name and called directly; run dataify --help for the authoritative list.

Authentication and Token Configuration#

Where do I configure the token?#

There are three equivalent ways, each overriding the one below:
1.
Local configuration file (recommended, simplest):
2.
Inline on a single command:
3.
Environment variable (for CI / containers):

Which wins: the environment variable or the configuration file?#

Priority from highest to lowest: command-line options > environment variables (DATAIFY_API_TOKEN / DATAIFY_MCP_TIMEOUT) > local configuration file > built-in defaults. So --token on the command line overrides the environment variable, and the environment variable overrides the configuration file.

How do I switch to a different token?#

The simplest way is to set it again with dataify config set --token NEW_TOKEN, or to use a different token for one call only with dataify tools --token NEW_TOKEN. The tool authenticates by token and keeps no session state, so setting a new token switches accounts.

Can the token leak?#

The token is stored in a configuration file in your home directory and is also sent to the Dataify MCP service as the token query parameter of the request URL. Therefore: never commit the token to a Git repository, and never print it in public logs. On a shared machine you can delete the configuration file when you are done (see "How do I reset all configuration?" below).

Troubleshooting#

After installing, the dataify command is not found#

Close the current terminal, open a new one, and try again:
If it is still not found, check whether npm's global install directory is on your system PATH:
Add that directory's bin path (for example <prefix>/bin) to PATH, then try again.

dataify tools returns no tools#

This usually means the token is incorrect, or that it has no permission for those tools. Check:

schema cannot find a tool#

Run dataify tools first to see which tools the current token can actually use. If the tool is not in that list, the current token or the MCP server is not returning it — schema can only look up tools the server actually returns, and otherwise reports Tool "<tool>" was not returned by the server.

Calling google_search fails or returns an error#

google_search is a live-scraping tool, so results can fail or error out depending on the target site, proxies, the network, and the scrape queue. Try increasing the timeout:
To inspect the request itself, add --debug:

The tool reports a parameter type error, or a number parameter has no effect#

A plain --name value is always sent as a string. If a tool requires a number or a boolean, you must use --arg-json:

What happens if a parameter name contains a hyphen?#

Hyphens in unknown options are converted to underscores. For example, --no-cache true is sent as the parameter no_cache. If a parameter already contains underscores, just write --no_cache true.

A call fails — how do I see the underlying request?#

Add --debug to print the request URL and the JSON-RPC request body to stderr (this does not change the actual request or result). If a tool returns isError, the CLI exits with code 2 and writes the error message to stderr.

Configuration#

Where is the configuration file stored?#

macOS / Linux: ~/.dataify-mcp-cli/config.json
Windows PowerShell: $env:USERPROFILE\.dataify-mcp-cli\config.json
Windows cmd: %USERPROFILE%\.dataify-mcp-cli\config.json
Use dataify config path to print the absolute path for your current system.

Can I change the MCP address or the tool list?#

No. The MCP address is fixed to https://mcp.dataify.com/mcp, and the tools query parameter is fixed to the 27 built-in tool categories (including user_info, web_unlocker, google_serp, amazon, youtube, linkedin, github, chatgpt, ai_web, and more). --server / --endpoint / --tools have been removed and report "Unsupported option" if passed. You only need to make sure the token is correct.

What is the configuration priority?#

From highest to lowest: command-line options > environment variables > local configuration file > built-in defaults. Each level can override the one below it, per command.

What is the default timeout, and how do I change it?#

The default timeout is 120000 milliseconds (120 seconds). You can change it in any of the following ways (same priority order as above):
Supported formats: 120000 (milliseconds), 30s (seconds), 2m (minutes).

How do I reset all configuration?#

Delete the configuration file, then run dataify config set --token ... again:

Which fields can config set write?#

Only token and timeout. server and tools are fixed and cannot be changed with set (config get shows them purely for confirmation).
修改于 2026-11-19 03:48:11
上一页
Usage Examples
下一页
Overview
Built with