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 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 ascend-tools mcp

Codex CLI setup

codex mcp add ascend-tools -- uvx 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 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 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.3.1.tar.gz (66.1 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.3.1-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.3.1-cp313-abi3-manylinux_2_34_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.13+macOS 11.0+ ARM64

ascend_tools-0.3.1-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.3.1.tar.gz.

File metadata

  • Download URL: ascend_tools-0.3.1.tar.gz
  • Upload date:
  • Size: 66.1 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.3.1.tar.gz
Algorithm Hash digest
SHA256 d97a3172b2a4db77374d465cb924316293b99de418a30cb55fb4eff04892480b
MD5 8b0943d73350f0b9ef179dbd81728c6d
BLAKE2b-256 362dddbb2dba72a66ba7757369ecbaf95511e83e7408d5e695581cda1f092c09

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.3.1.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.3.1-cp313-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.3.1-cp313-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 404a628568f8bcd93e564c7c4692bdaedb24eff9cc0fef23e203023e049ba8a5
MD5 e9bfcea733923b71491d28f5c6cf1654
BLAKE2b-256 ed5ef880ab2c45f12dc16e393862ba9276f7026f8bc50d154aea426f5859623c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.3.1-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.3.1-cp313-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.3.1-cp313-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 118cff267bad1f79299c0dfaedd2b645a4e89f6137771e6ec80dd4737e901cad
MD5 b9dcb2a9dded774a7aaf04e0ebf20dbc
BLAKE2b-256 1ff0cc07f6232f594c97d90a532a8c5c5f4f5906ab9c81c9dc9b485d8be6a1a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.3.1-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.3.1-cp313-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.3.1-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a43eb77910586096bc80d1a4d2dbc7253f9e76488db07abb18597567d7848433
MD5 b8b6ec530890ab99b7dcca1c2199c64d
BLAKE2b-256 a5a2d40bf5844edde442ead9c3c551a833cd0e60e7360f8f3d2d14b064323e2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.3.1-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.3.1-cp313-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.3.1-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6c1e7fc1a610cd50e72921923e406e7350b85b868db1816465b3a6a4d6c38f62
MD5 cf818fd680022959a6454efe73305ac1
BLAKE2b-256 4c52065f482285a6a234783a9634a669e60651047393cd02d35a5ad5728274c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.3.1-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