Skip to main content

CLI and MCP client for hosted dataz.md Discord and Telegram accounts

Project description

dataz-client

dataz-client provides a read-only command-line client and local MCP stdio server for hosted dataz.md Discord and Telegram account endpoints.

Hosted account setup

You need two values for each hosted account:

  • DATAZ_API_URL: the account endpoint shown in the dataz.md portal.
  • DATAZ_API_KEY: the dz_live_... key created under Portal → API keys.

The provider is inferred from canonical account endpoints ending in discord, discord-N, telegram, or telegram-N. DATAZ_PROVIDER remains available as an explicit override for unusual endpoints and must agree when inference is possible.

The API key is displayed once. Keep it in your MCP client's private, user-level configuration and rotate it from the portal if it is lost or exposed. Do not commit a key to a project configuration file.

Install the commands with either:

pipx install dataz-client
uv tool install dataz-client

Verify one account from a shell without putting the key in shell history:

read -rsp "dataz.md API key: " DATAZ_API_KEY && export DATAZ_API_KEY
export DATAZ_API_URL="https://YOUR_HOSTED_ACCOUNT_ENDPOINT"
dataz status
dataz doctor

For automation, use dataz doctor --json. It reports stable error codes without including the key or remote account payload. dataz-mcp --check performs the same safe check before an MCP client starts the server.

Multiple accounts

Configure one separately named MCP server entry per account. For example, two Telegram accounts and two Discord accounts should be named distinctly:

dataz-telegram-personal
dataz-telegram-team
dataz-discord-primary
dataz-discord-community

Each entry runs dataz-mcp with that account's endpoint and key. The MCP client namespaces tools by entry, while the server exposes only the tools for the configured provider. A workspace-wide API key can be reused when its scope covers every account; otherwise use the matching scoped key per entry.

Exact configuration examples for Codex, Claude Code, Claude Desktop, Cursor, and VS Code are at https://dataz.md/mcp.

Local contributor compatibility

When DATAZ_API_URL is absent, the commands retain their legacy contributor defaults:

  • DATAZ_DISCORD_URL defaults to http://localhost:8000.
  • DATAZ_TELEGRAM_URL defaults to http://localhost:8001.
  • DATAZ_DISCORD_API_KEY and DATAZ_TELEGRAM_API_KEY may override the shared key for their service.

Local mode is intended for contributors running the repository services and prints a warning so hosted users can recognize missing configuration.

Security and support

The client performs read-only requests and sends the configured key as X-API-Key. Hosted profile URLs must use HTTPS. Setup errors never include the key value.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataz_client-0.1.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataz_client-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file dataz_client-0.1.1.tar.gz.

File metadata

  • Download URL: dataz_client-0.1.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dataz_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c75052daa70082883f3cdd67453fcf52836c3ad1b5c53427fb627bf4cefa9080
MD5 b35347f242f2218d2e3281aa9264115e
BLAKE2b-256 413196ba2898399a5f7c607edea012cefd6f7d5acab52335c8d8aae86035ed3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataz_client-0.1.1.tar.gz:

Publisher: publish-client.yml on jsindy/dataz.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dataz_client-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dataz_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dataz_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4397273f1d3f613720146ed563590a5ad6ee5739ec39f56c2f69a2a2679bd883
MD5 dc879564bd3798246b3b4d31828776ac
BLAKE2b-256 e9341288a23d20baae57d6e8da553d967cdc7c25d73dabdf2ad7dc3b39d44bbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataz_client-0.1.1-py3-none-any.whl:

Publisher: publish-client.yml on jsindy/dataz.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page