Hosted endpoint
Open the portal and copy the HTTPS endpoint shown for the Discord or Telegram account you want to connect.
MCP server
Store each hosted account once in a protected Dataz profile, then install its read-only tools into your MCP client without copying credentials.
Each hosted account becomes one protected profile and one separately named MCP server.
Open the portal and copy the HTTPS endpoint shown for the Discord or Telegram account you want to connect.
Under Portal → API keys, create a dz_live_… key and copy it when shown. Rotate it if it is lost or exposed.
The CLI stores the key once with current-user-only filesystem permissions. MCP client configuration contains no key.
Install from PyPI, then paste the API key only into the masked prompt.
pipx install dataz-client
# alternative: uv tool install dataz-client
dataz account add work-discord \
--url https://YOUR_ACCOUNT_ENDPOINT
dataz --profile work-discord status
dataz --profile work-discord doctor --json
DATAZ_API_KEY.--provider only for an unusual endpoint and --save-unverified only when an endpoint is temporarily unavailable.The installer uses the client's supported user-level mechanism. It passes only the absolute executable path and profile name.
dataz mcp install codex --profile work-discord
dataz mcp install claude-code --profile work-discord
dataz mcp install claude-desktop --profile work-discord
dataz mcp install cursor --profile work-discord
dataz mcp install vscode --profile work-discord
~/.codex/config.toml.~/.claude.json.~/.cursor/mcp.json.mcp.json through code --add-mcp.--replace.Every generated entry has the same secret-free shape, with a distinct profile and server name.
{
"mcpServers": {
"dataz-work-discord": {
"command": "/absolute/path/to/dataz-mcp",
"args": ["--profile", "work-discord"]
}
}
}
Run dataz-mcp --profile work-discord --check or call the provider's status tool in the client. Only the selected provider's tools are exposed.
dataz doctor --json and dataz-mcp --check --json use stable codes such as key_rejected, insufficient_scope, and network_failure without printing the key or remote payload.
Two Telegram and two Discord accounts use four profiles, such as telegram-personal, telegram-team, discord-primary, and discord-community. Install each profile under its independently namespaced dataz-PROFILE server name.
~/Library/Application Support/Dataz/profiles.json.${XDG_CONFIG_HOME:-~/.config}/dataz/profiles.json.%APPDATA%\Dataz\profiles.json.0600; Windows inheritance is removed and access is restricted to the current user.icacls "%APPDATA%\Dataz\profiles.json" /inheritance:r /grant:r "%USERNAME%:(F)".Noninteractive runtimes can set DATAZ_API_URL and DATAZ_API_KEY directly. DATAZ_PROVIDER is optional when the endpoint ends in a canonical discord, discord-N, telegram, or telegram-N slug.
Do not mix DATAZ_PROFILE or --profile with direct hosted variables. The client fails before making a request so it cannot call the wrong account.
Use the portal's Connect CLI/MCP action, paste the key at the masked prompt, and install the saved profile into your client.
Last updated