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

Skills

Install reference skills for AI coding assistants (Claude Code, Codex, etc.):

ascend-tools skill install --target .claude/skills --all

Available skills: --cli (default), --python, --mcp, --all.

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.5.0.tar.gz (48.8 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.5.0-cp311-abi3-manylinux_2_34_x86_64.whl (4.7 MB view details)

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

ascend_tools-0.5.0-cp311-abi3-manylinux_2_34_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ ARM64

ascend_tools-0.5.0-cp311-abi3-macosx_11_0_arm64.whl (4.2 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

ascend_tools-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: ascend_tools-0.5.0.tar.gz
  • Upload date:
  • Size: 48.8 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.5.0.tar.gz
Algorithm Hash digest
SHA256 447a04d5099beeca8995cb7c060b9b79221084282204b0fc92dd42b168238c53
MD5 bcf55b8e55547dd81b1ed44bda103b48
BLAKE2b-256 15dfd2353f4b2e3c1e9b50adf35ed3f683b2f2208bf8f9143f0ebdc07d9e3774

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.5.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.5.0-cp311-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.5.0-cp311-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d3c07516c0c196b798d980b181fb4f3878346d717a62ffbd812686699c9966c7
MD5 6832cf3ccd29308650f51b087e797f5b
BLAKE2b-256 2023f7dd3393eb1ae73645a64f2210368d95e9a8459f980d33e32ef6ab4caf44

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.5.0-cp311-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.5.0-cp311-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.5.0-cp311-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 9133f1f34f3c3e59e6937209dcab814615f85696a3f30fc60ff0578e3286dfb1
MD5 5f45be60461b15e7633f026f5b84da38
BLAKE2b-256 eb8b912e5a9c3a4403d60676ccb58e17b16288880f0b4ce32bba636b204bd13a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.5.0-cp311-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.5.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.5.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddcefe0978202197c26708d339279582122f758836181e6f33b009857fb3b1eb
MD5 9fb269919a4b1b9ba14da96582497ecd
BLAKE2b-256 7303cd22dd1f30a6fcc76b7d5ad41936dc0e3bee7e06dac8e7fcae850743da29

See more details on using hashes here.

Provenance

The following attestation bundles were made for ascend_tools-0.5.0-cp311-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.5.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ascend_tools-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 84f8958b54c8e9724c5e1b0941c2d37e7c2d99a7daacf487a6133ae6786e96f8
MD5 d9cf8431c241331aa629e6dcd96d8e0b
BLAKE2b-256 b22659eb45de5159bd011b3a610d6687660deaff82910ca582538b62a3608888

See more details on using hashes here.

Provenance

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