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 three values for each hosted account:

  • DATAZ_PROVIDER: discord or telegram.
  • 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 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_PROVIDER=discord
export DATAZ_API_URL="https://YOUR_HOSTED_ACCOUNT_ENDPOINT"
dataz discord status

Use dataz telegram status for a Telegram account.

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 three environment values. 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_PROVIDER and DATAZ_API_URL are 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.

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.0.tar.gz (12.6 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.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dataz_client-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 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.0.tar.gz
Algorithm Hash digest
SHA256 4222aba2dfb81a4d157c0be2cd7bdff1d96970a9af220b1c0fb232e0ef57634c
MD5 f4ba0727b3f4999baaf2c27ceb53c53e
BLAKE2b-256 3a5da872c9ffe73cdb957f16a4d226599180ce61cac8447e55e5e893c890867d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataz_client-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: dataz_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c1c85708f01f3644ea63c4c8d342f71407ed096d1bd00f17f7c1b6b929f87e6
MD5 663522162df69bc21f3f64ccc5235081
BLAKE2b-256 6f94cd7aebbe00d6e353f2b1f79e0c1453a10cf1a06b95a25b8538deb80d5283

See more details on using hashes here.

Provenance

The following attestation bundles were made for dataz_client-0.1.0-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