Ascend CLI, SDK, MCP.
Project description
ascend-tools
CLI, SDK, and MCP server for the Ascend REST API.
Private preview:
ascend-toolsis 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66f357cc81e60a65165c6a30c5a94130c8b6079d79a61d3c4e2bbd86cd25c09
|
|
| MD5 |
37b8173689f3f74f410a9021aba7336a
|
|
| BLAKE2b-256 |
50263af777919f58eb11d04ada4dd44d4d1034ce6bfa041277c23099210af0e7
|
Provenance
The following attestation bundles were made for ascend_tools-0.3.0.tar.gz:
Publisher:
release-python.yml on ascend-io/ascend-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascend_tools-0.3.0.tar.gz -
Subject digest:
d66f357cc81e60a65165c6a30c5a94130c8b6079d79a61d3c4e2bbd86cd25c09 - Sigstore transparency entry: 1014623880
- Sigstore integration time:
-
Permalink:
ascend-io/ascend-tools@74a35cf128020e4a458d14418e76f69faca1e472 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ascend-io
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@74a35cf128020e4a458d14418e76f69faca1e472 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.13+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36a2e382c02b2090b96a493f082ae7cc81d9a15708137cf9dbac14e067a0e52
|
|
| MD5 |
18ee90b99c9f7f00f547af08b751196e
|
|
| BLAKE2b-256 |
8c9bc0d867d2b9974aeb76103ea15a0dce7c0a20105435fd98ea8dfbd324ae84
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
b36a2e382c02b2090b96a493f082ae7cc81d9a15708137cf9dbac14e067a0e52 - Sigstore transparency entry: 1014623932
- Sigstore integration time:
-
Permalink:
ascend-io/ascend-tools@74a35cf128020e4a458d14418e76f69faca1e472 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ascend-io
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@74a35cf128020e4a458d14418e76f69faca1e472 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.13+, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84fe704029ef599fa28dad582cf9d5706c97d7246206d94356d62529b02a3a08
|
|
| MD5 |
2c6860d445a4aeeb076eddb97a73dce0
|
|
| BLAKE2b-256 |
9c6522a712d24991530f2fbff0f74f9d6e7299f2ca3d6bc83410000ab2e1d493
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascend_tools-0.3.0-cp313-abi3-manylinux_2_34_aarch64.whl -
Subject digest:
84fe704029ef599fa28dad582cf9d5706c97d7246206d94356d62529b02a3a08 - Sigstore transparency entry: 1014624070
- Sigstore integration time:
-
Permalink:
ascend-io/ascend-tools@74a35cf128020e4a458d14418e76f69faca1e472 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ascend-io
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@74a35cf128020e4a458d14418e76f69faca1e472 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ascend_tools-0.3.0-cp313-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: ascend_tools-0.3.0-cp313-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.13+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae86db7b4b52cc4e839fb6071fe28f44094b507cdbe182df4d921ba0ffd930d2
|
|
| MD5 |
7cf0ae45b46fd92a7d60fcd4a2b22998
|
|
| BLAKE2b-256 |
c840d6d5fd7c78b9526258afd9f19e1910fd155a6315c147294f6a9107fd8103
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascend_tools-0.3.0-cp313-abi3-macosx_11_0_arm64.whl -
Subject digest:
ae86db7b4b52cc4e839fb6071fe28f44094b507cdbe182df4d921ba0ffd930d2 - Sigstore transparency entry: 1014623972
- Sigstore integration time:
-
Permalink:
ascend-io/ascend-tools@74a35cf128020e4a458d14418e76f69faca1e472 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ascend-io
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@74a35cf128020e4a458d14418e76f69faca1e472 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ascend_tools-0.3.0-cp313-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: ascend_tools-0.3.0-cp313-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.13+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8abe482ad5087c08afb228fed9149bd7cf0868d28771b9c0ae411a4acec6537c
|
|
| MD5 |
6357eca0e17ccc7bd3e445195332ba2d
|
|
| BLAKE2b-256 |
8340ba44c2e19a7534899c0223d398dc6436a8facb2c5d6e7e0b0c4785ace146
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ascend_tools-0.3.0-cp313-abi3-macosx_10_12_x86_64.whl -
Subject digest:
8abe482ad5087c08afb228fed9149bd7cf0868d28771b9c0ae411a4acec6537c - Sigstore transparency entry: 1014624021
- Sigstore integration time:
-
Permalink:
ascend-io/ascend-tools@74a35cf128020e4a458d14418e76f69faca1e472 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ascend-io
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@74a35cf128020e4a458d14418e76f69faca1e472 -
Trigger Event:
push
-
Statement type: