Skip to main content

Ascend CLI, SDK, MCP.

Project description

ascend-tools

CLI, SDK, and MCP server for the Ascend REST API.

Private preview: ascend-tools is currently in private preview. Contact your Ascend representative to request access via Service Accounts on your Instance.

Install

Pre-built binaries are available for Linux and macOS. Windows users should use Linux/macOS.

uv tool install ascend-tools

Authentication

Set three environment variables (from Ascend UI > Settings > Users > Create Service Account):

export ASCEND_SERVICE_ACCOUNT_ID="asc-sa-..."
export ASCEND_SERVICE_ACCOUNT_KEY="..."
export ASCEND_INSTANCE_API_URL="https://<instance-name>.api.instance.ascend.io"

CLI

List runtimes:

ascend-tools runtime list

Get a runtime:

ascend-tools runtime get <UUID>

Resume a runtime:

ascend-tools runtime resume <UUID>

Pause a runtime:

ascend-tools runtime pause <UUID>

List flows:

ascend-tools flow list --runtime <UUID>

Run a flow:

ascend-tools flow run <FLOW_NAME> --runtime <UUID>

Run a flow and resume the runtime first if paused:

ascend-tools flow run <FLOW_NAME> --runtime <UUID> --resume

Run a flow with full refresh:

ascend-tools flow run <FLOW_NAME> --runtime <UUID> --spec '{"full_refresh": true}'

List flow runs:

ascend-tools flow list-runs --runtime <UUID>

Get a flow run:

ascend-tools flow get-run <RUN_NAME> --runtime <UUID>

JSON output:

ascend-tools -o json runtime list

Python SDK

from ascend_tools import Client

client = Client()  # reads from env vars
client.list_runtimes()
client.run_flow(runtime_uuid="...", flow_name="sales")

MCP server

Start an MCP server for AI assistants (Claude Code, Claude Desktop, Cursor, etc.).

Stdio transport (default):

ascend-tools mcp

HTTP transport:

ascend-tools mcp --http --bind 127.0.0.1:8000

Claude Code setup

claude mcp add --transport stdio ascend-tools -- uvx --from ./ascend-tools ascend-tools mcp

The Ascend auth env vars are inherited from your shell. Verify with /mcp inside Claude Code. If Claude is launched without your shell env, add vars explicitly:

claude mcp add --transport stdio \
  -e ASCEND_SERVICE_ACCOUNT_ID="$ASCEND_SERVICE_ACCOUNT_ID" \
  -e ASCEND_SERVICE_ACCOUNT_KEY="$ASCEND_SERVICE_ACCOUNT_KEY" \
  -e ASCEND_INSTANCE_API_URL="$ASCEND_INSTANCE_API_URL" \
  ascend-tools -- uvx --from ./ascend-tools ascend-tools mcp

Codex CLI setup

codex mcp add ascend-tools -- uvx --from "$(pwd)" ascend-tools mcp

If Codex is launched without your shell env, add vars explicitly:

codex mcp add \
  --env "ASCEND_SERVICE_ACCOUNT_ID=$ASCEND_SERVICE_ACCOUNT_ID" \
  --env "ASCEND_SERVICE_ACCOUNT_KEY=$ASCEND_SERVICE_ACCOUNT_KEY" \
  --env "ASCEND_INSTANCE_API_URL=$ASCEND_INSTANCE_API_URL" \
  ascend-tools -- uvx --from "$(pwd)" ascend-tools mcp

Inspect the MCP server config:

codex mcp get ascend-tools --json

List all configured MCP servers:

codex mcp list

Remove the config:

codex mcp remove ascend-tools

The Ascend auth env vars are inherited from your shell when Codex launches the server. If you have stale MCP behavior after updating code, run this once to refresh the uvx cache:

uvx --refresh --from "$(pwd)" ascend-tools --version

Tools

Tool Description
list_runtimes List runtimes with optional filters
get_runtime Get a runtime by UUID
resume_runtime Resume a paused runtime
pause_runtime Pause a running runtime
list_flows List flows in a runtime
run_flow Trigger a flow run (supports resume, full_refresh, components, parameters, etc.)
list_flow_runs List flow runs with filters
get_flow_run Get a flow run by name

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

ascend_tools-0.2.0.tar.gz (66.2 kB view details)

Uploaded Source

Built Distributions

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

ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.34+ x86-64

ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.34+ ARM64

ascend_tools-0.2.0-cp313-abi3-macosx_11_0_arm64.whl (4.2 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

ascend_tools-0.2.0-cp313-abi3-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13+macOS 10.12+ x86-64

File details

Details for the file ascend_tools-0.2.0.tar.gz.

File metadata

  • Download URL: ascend_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ascend_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2592400586352ca5ec6db53be70f2bc3fe215668a95b49e124364b396c635052
MD5 eef222b591db33102cffeb727dbe7166
BLAKE2b-256 8a88d68253df67237f9a3a90da894c9fea2cb0c690464f2c02552dad6fb41e6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.2.0.tar.gz:

Publisher: release-python.yml on ascend-io/ascend-tools

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

File details

Details for the file ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8b0fca8fabd38e4a3b805e611703ff62a50dc397f5558380127b62cc237bcc12
MD5 34124460bd709e8ebe33af7478057420
BLAKE2b-256 056f113031fc6b7967141578bae73da2b8173f2673c2b94fa2d77ab5cbb2d093

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_x86_64.whl:

Publisher: release-python.yml on ascend-io/ascend-tools

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

File details

Details for the file ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f33f38c0f206fe5958d696233f2b35784b8f31c71b96a7f346918e2b8f7628e7
MD5 a0efa95fdb505bb508e09e029afa151b
BLAKE2b-256 8fc2aba8e4c4906e423f51725f86d4d83b8110db44ca00d4c1cf5f5e80bea896

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.2.0-cp313-abi3-manylinux_2_34_aarch64.whl:

Publisher: release-python.yml on ascend-io/ascend-tools

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

File details

Details for the file ascend_tools-0.2.0-cp313-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.2.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e44e03065243b6d52120578f701815215f767c8f13a5524bde18fae6d0446bf
MD5 5c3c4725aabde2ea93d6a2e781f2dc8b
BLAKE2b-256 cc002ee31eac97104ad74eee5cf6540d56ed5a24099c37108167f41eeced83a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.2.0-cp313-abi3-macosx_11_0_arm64.whl:

Publisher: release-python.yml on ascend-io/ascend-tools

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

File details

Details for the file ascend_tools-0.2.0-cp313-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.2.0-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8178ef39f0a4466025799d5015c07fa5dc57636e9058f024f003b59791c92c7d
MD5 740d9c41f301f33ad40b34707aada962
BLAKE2b-256 8b434477179ac68850e667d32a2e82fcf4d762140d80283bb62b2c4a102d6dad

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.2.0-cp313-abi3-macosx_10_12_x86_64.whl:

Publisher: release-python.yml on ascend-io/ascend-tools

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