CLI, SDK, and MCP server for the Ascend Instance web API.
Rust core with napi-rs bindings for Node.js. Exposes the Client class and the full ascend-tools CLI.
npm install ascend-toolsnpx ascend-tools workspace list
npx ascend-tools flow run "My Flow" --workspace "My Workspace"
npx ascend-tools otto tuiOr install globally:
npm install -g ascend-tools
ascend-tools workspace listimport { Client } from "ascend-tools";
const client = new Client(); // reads from env vars
const workspaces = await client.listWorkspaces();
const run = await client.runFlow("sales", "My Workspace");All methods are async and return plain objects/arrays. See the demo app for a full example.
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"Or pass them directly:
const client = new Client(
"asc-sa-...", // serviceAccountId
"...", // serviceAccountKey
"https://api.instance.ascend.io", // instanceApiUrl
);Start an MCP server for AI assistants:
npx ascend-tools mcpnpm install
npm run build # release
npm run build:debug # debug
npm testRequires Rust toolchain and @napi-rs/cli.
| Platform | Architecture |
|---|---|
| macOS | x86_64, aarch64 |
| Linux | x86_64, aarch64 |
See the full documentation for more details.