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.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.3.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.3.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.3.0-cp313-abi3-macosx_11_0_arm64.whl (4.2 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

ascend_tools-0.3.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.3.0.tar.gz.

File metadata

  • Download URL: ascend_tools-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 d66f357cc81e60a65165c6a30c5a94130c8b6079d79a61d3c4e2bbd86cd25c09
MD5 37b8173689f3f74f410a9021aba7336a
BLAKE2b-256 50263af777919f58eb11d04ada4dd44d4d1034ce6bfa041277c23099210af0e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b36a2e382c02b2090b96a493f082ae7cc81d9a15708137cf9dbac14e067a0e52
MD5 18ee90b99c9f7f00f547af08b751196e
BLAKE2b-256 8c9bc0d867d2b9974aeb76103ea15a0dce7c0a20105435fd98ea8dfbd324ae84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 84fe704029ef599fa28dad582cf9d5706c97d7246206d94356d62529b02a3a08
MD5 2c6860d445a4aeeb076eddb97a73dce0
BLAKE2b-256 9c6522a712d24991530f2fbff0f74f9d6e7299f2ca3d6bc83410000ab2e1d493

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ascend_tools-0.3.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae86db7b4b52cc4e839fb6071fe28f44094b507cdbe182df4d921ba0ffd930d2
MD5 7cf0ae45b46fd92a7d60fcd4a2b22998
BLAKE2b-256 c840d6d5fd7c78b9526258afd9f19e1910fd155a6315c147294f6a9107fd8103

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ascend_tools-0.3.0-cp313-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8abe482ad5087c08afb228fed9149bd7cf0868d28771b9c0ae411a4acec6537c
MD5 6357eca0e17ccc7bd3e445195332ba2d
BLAKE2b-256 8340ba44c2e19a7534899c0223d398dc6436a8facb2c5d6e7e0b0c4785ace146

See more details on using hashes here.

Provenance

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