Install the Dataify MCP CLI globally with npm or run it directly with npx, sign in or configure a token, and learn where the configuration file lives and how priority works.
>= 18.17 (an LTS release is recommended).npx, with no global install required:npx dataify-mcp-cli prefix, for example:dataify command that starts faster, install it globally (recommended):Note: after a global install, the command is dataify.
dataify login opens your default browser on the Dataify sign-in page. Once you sign in and confirm, the CLI receives a one-time authorization code through a local loopback address (PKCE), exchanges it for a new API token, and writes it to the local configuration file. From then on, all commands — tools, balance, mcp, tool calls, and the rest — are available immediately.dataify login again does not create a new token (it tells you that you are already signed in). To force a new token:dataify login is the recommended approach. If you already have an API token, you can save it directly instead. The token is sent as the token query parameter in the URL, and there are three equivalent ways to provide it (each level overrides the one below).DATAIFY_API_TOKEN.$env:DATAIFY_API_TOKEN="YOUR_TOKEN"set DATAIFY_API_TOKEN=YOUR_TOKENSecurity note: the token is stored in the local configuration file and also sent to the Dataify MCP service as the tokenURL parameter. Never commit the token to a Git repository or expose it in public logs.
dataify init runs the following in order: resolve and save the token (reusing an existing one, otherwise preferring browser login with a fallback to manual paste) → install the MCP configuration → install Dataify Skills.| Option | Description |
|---|---|
--token TOKEN | Save this token first, then continue with the remaining steps. |
--yes, -y | Stop asking at every step (MCP and Skill are both installed with "all" selected). |
--skip-login | Never launch browser login; paste the token manually instead. |
--skip-mcp | Skip MCP configuration installation. |
--skip-skill | Skip Skill installation. |
--github-token TOKEN | Passed to dataify skill to ease GitHub's unauthenticated rate limit. |
dataify tools returns no tools, the token is usually incorrect or lacks permission for those tools. Run dataify config set --token ... again, or sign in again with dataify login.| Item | Value |
|---|---|
| Configuration file path (macOS / Linux) | ~/.dataify-mcp-cli/config.json |
| Configuration file path (Windows PowerShell) | $env:USERPROFILE\.dataify-mcp-cli\config.json |
| Configuration file path (Windows cmd) | %USERPROFILE%\.dataify-mcp-cli\config.json |
Fields you can write with config set | token, timeout, language |
Fields added by login | auth (metadata such as the account name and token expiry; no copy of the token) |
Default timeout | 120000 (milliseconds, i.e. 120 seconds) |
server / tools | Fixed; not written to the configuration file, and the built-in defaults are used on every run |
{
"token": "YOUR_TOKEN",
"timeout": 120000,
"language": "zh",
"auth": {
"source": "cli-login",
"name": "your-account",
"expires_at": 1767225600,
"updated_at": 1735689600
}
}0600 permissions and its directory with 0700, so only the current user can read them. dataify config get outputs only the contents of this file (token masked) and never adds server / tools.--token, --timeout, --language, and so onDATAIFY_API_TOKEN / DATAIFY_MCP_TIMEOUT / DATAIFY_LANGUAGE~/.dataify-mcp-cli/config.jsonserver is fixed to https://mcp.dataify.com/mcp, timeout defaults to 120000 milliseconds, and the language defaults to enAny level can override the one below it, per command. Note that server(the MCP address) andtools(the tool list) are always fixed. The--server/--endpoint/--toolsoptions have been removed and report "Unsupported option" if passed.
| Variable | Purpose |
|---|---|
DATAIFY_API_TOKEN | API token (takes priority over the configuration file). |
DATAIFY_MCP_TIMEOUT | Request timeout (a number of milliseconds, or with an s / m suffix, such as 180000, 30s, 2m). |
DATAIFY_LANGUAGE | Interface language (zh / en). |
GITHUB_TOKEN / GH_TOKEN | Fallback token for dataify skill when accessing GitHub. |
DATAIFY_WIDTH | Forces the terminal column width (the wizard uses it for layout). |
DATAIFY_TUI=0 | Turns off the full-screen list so wizards fall back to a plain numbered list. |