Skip to main content

MCP Server for managing your AceDataCloud account (balances, usage, API keys, orders, announcements)

Project description

AceDataCloudMCP

PyPI version Python 3.10+ License: MIT MCP

A Model Context Protocol (MCP) server for managing your AceDataCloud account through the platform management API.

Check your balance, look up usage and spend, manage API keys, list services, create and pay recharge orders, manage platform tokens, list models, and (for admins) publish announcements — directly from Claude, VS Code, or any MCP-compatible client.

This is the management / console API (platform.acedata.cloud) — different from the data-generation MCP servers (Suno, Midjourney, …) that call api.acedata.cloud.

Tool Reference

Read (always safe)

Tool Description
acedatacloud_get_balance Remaining credits per subscription, plus a total.
acedatacloud_list_applications Your subscriptions with balance/spend.
acedatacloud_list_services List or search available services.
acedatacloud_list_usage Recent API call records (status, latency, credits).
acedatacloud_usage_summary Spend aggregated by API over N days.
acedatacloud_list_credentials Your API keys (token values masked).
acedatacloud_list_orders Recharge orders.
acedatacloud_list_platform_tokens Platform tokens (masked).
acedatacloud_list_models Available chat models.
acedatacloud_list_announcements Published announcements.

Write (require confirm=true)

Tool Description
acedatacloud_create_credential Create an API key on an application.
acedatacloud_delete_credential Revoke an API key.
acedatacloud_create_order Create a recharge order.
acedatacloud_pay_order Create a payment session and return pay_url.
acedatacloud_create_platform_token Create a new platform token.
acedatacloud_delete_platform_token Revoke a platform token.

Admin (superuser token)

Tool Description
acedatacloud_create_announcement Publish a platform announcement (confirm=true).

Calling a write/admin tool without confirm=true returns a dry-run preview and changes nothing.

Quick Start

1. Get a platform token

Create one at platform.acedata.cloud/console/platform-tokens. It starts with platform- and never expires.

Use a platform token, not the per-service api.acedata.cloud token — the latter returns 401 against the management API.

2. Install

pip install mcp-acedatacloud

3. Configure your client

Claude Desktop / VS Code (stdio):

{
  "mcpServers": {
    "acedatacloud": {
      "command": "mcp-acedatacloud",
      "env": {
        "ACEDATACLOUD_PLATFORM_TOKEN": "platform-v1-xxxxxxxx"
      }
    }
  }
}

Hosted (HTTP) — token per request:

{
  "mcpServers": {
    "acedatacloud": {
      "url": "https://mcp.acedata.cloud/mcp",
      "headers": { "Authorization": "Bearer platform-v1-xxxxxxxx" }
    }
  }
}

Example prompts

  • "How many credits do I have left?"
  • "What did I spend on Suno in the last 7 days?"
  • "List my API keys and show which ones have a spend cap."
  • "Create a new API key on application <id> named ci." → previews, then run with confirm.
  • "Top up application <id> with package <id> and give me the Stripe pay link."

Configuration

Variable Default Description
ACEDATACLOUD_PLATFORM_TOKEN Required. Platform token.
PLATFORM_API_BASE_URL https://platform.acedata.cloud Management API base.
PLATFORM_REQUEST_TIMEOUT 30 Request timeout (seconds).
LOG_LEVEL INFO Logging level.

Development

pip install -e ".[dev,test,http]"
pytest -m "not integration"      # unit tests
ruff check .                      # lint
mypy core tools                   # type-check
mcp-acedatacloud --transport http --port 8000

Notes

  • Amounts (remaining_amount, used_amount, totals) are in Credits, not USD.
  • Newly created credential/platform tokens are returned in full only once — store them immediately.
  • Credential rotation = delete + recreate (no in-place rotate endpoint).
  • Announcement tools require a superuser token.

License

MIT — see LICENSE.

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

mcp_acedatacloud-2026.6.28.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

mcp_acedatacloud-2026.6.28.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_acedatacloud-2026.6.28.0.tar.gz.

File metadata

  • Download URL: mcp_acedatacloud-2026.6.28.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for mcp_acedatacloud-2026.6.28.0.tar.gz
Algorithm Hash digest
SHA256 26590cf13f0739f402a3e7969cb79a389436bcb457d3d021ed90f5d473a7e93a
MD5 b046e20c58416cf1251c229fc1843e24
BLAKE2b-256 23b2a63a4d1176c8afb1bbb8463da500938c6106bfa58c1297633b9a282a0423

See more details on using hashes here.

File details

Details for the file mcp_acedatacloud-2026.6.28.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_acedatacloud-2026.6.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1357c725bd867433bc667357dd752c1a70646ae0ba558a1051daeb5094d7791
MD5 583f1c543c582d25eeea5b1ae76befba
BLAKE2b-256 b8e3b4613719f4decc01ed34d3e04b5f4f370771e2de088a44f193f3bd79b837

See more details on using hashes here.

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