Skip to main content

entertao-mcp

Local, non-custodial Python MCP server connecting AI agents (Claude Code, Cursor, etc.) to the entertao.com service registry with local, Just-in-Time (JIT) Bittensor Gamma payments.

  • Strict separation: entertao.com is used strictly for read-only service discovery and OpenAPI/Access manifests. All wallet signing (btauth/1), mint_gamma transactions, and provider API calls happen 100% locally on your machine.
  • Testnet-first: Defaults to BT_NETWORK=test. Mainnet (finney) requires explicit opt-in.
  • Hard local spend guardrails: Enforces ENTERTAO_MAX_MINT_USD (2.00), ENTERTAO_DAILY_CAP_USD (5.00), and ENTERTAO_AUTO_MINT=false (strictly dry-run / quote-only; an agent cannot self-approve minting).
  • Zero protocol fees: Funds go directly to your own hotkey's on-chain Gamma deposit.

Platform Support

  • Linux & macOS: Full support (discovery + wallet + Gamma minting + btauth/1 signing via bittensor>=11.3.5).
  • Windows: Read-only discovery tools work natively. Wallet and Gamma tools require Linux, macOS, or WSL because bittensor-core publishes Linux/macOS wheels only.

Quick Start (uvx)

{
  "mcpServers": {
    "entertao": {
      "command": "uvx",
      "args": ["entertao-mcp"],
      "env": {
        "BT_NETWORK": "test",
        "BT_WALLET_NAME": "default",
        "BT_HOTKEY_NAME": "api_hotkey",
        "ENTERTAO_MAX_MINT_USD": "2.00",
        "ENTERTAO_DAILY_CAP_USD": "5.00",
        "ENTERTAO_AUTO_MINT": "false"
      }
    }
  }
}

MCP Tools

  1. search_services(query, payment_method="gamma", verified_only=True) — Read-only search against entertao.com.
  2. get_service_manifest(service_id) — Fetch verified endpoints, OpenAPI operations, and Gamma requirements by product slug (with automatic UUID fallback).
  3. check_or_fund_gamma(netuid, target_usd) — Check local hotkey Gamma balance; strictly returns a dry-run quote when ENTERTAO_AUTO_MINT=false, or executes MintGamma when ENTERTAO_AUTO_MINT=true with write-ahead locking, on-chain daily_spend_cap, and local ~/.entertao/usage.jsonl audit logging.
  4. call_gamma_service(service_id, path, method="POST", body=None) — Validate HTTPS + manifest allowlist + DNS SSRF checks, sign locally with btauth/1, and call the subnet provider directly.

Development & Tests

uv sync
uv run pytest
uv run ruff check src tests
uv run mypy src

Metadata

Release files for entertao-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entertao-mcp 0.1.0
File Size Uploaded Provenance Actions
entertao_mcp-0.1.0.tar.gz 169.1 kB Without provenance Details for entertao_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entertao-mcp 0.1.0
File Interpreter ABI Platform Actions
entertao_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for entertao_mcp-0.1.0-py3-none-any.whl

Total release size: 204.6 kB

Release files / entertao_mcp-0.1.0.tar.gz

Download URL entertao_mcp-0.1.0.tar.gz
Size 169.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b28bec790b331c4d8e242e9bb11fef2884433cd432a5c1e94c889806b8f669ea
BLAKE2b-256 checksum
How to use checksums
6252c72b0de35ca67a6d57d26990d40fa3749fa3350096b96ddb9353fea2ef96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / entertao_mcp-0.1.0-py3-none-any.whl

Download URL entertao_mcp-0.1.0-py3-none-any.whl
Size 35.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a83799c812d54a668f5d0519b6ac2ec0d5fd8dee3e56fdb7fe5c59005cd1ee0
BLAKE2b-256 checksum
How to use checksums
0d0b098030455b0db8e03ef087a02199d04557d72ccadd71694d7d07c49e7375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for entertao-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page