productivity
Paperspace CLI for Headless Automation
Use the Paperspace CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Paperspace CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Paperspace CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Paperspace CLI for Headless Automation
kosmokrator integrations:configure paperspace --set access_token="$PAPERSPACE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call paperspace.paperspace_list_machines '{}' --json Discovery Before Execution
Agents and scripts can inspect Paperspace docs and schemas before choosing a function.
kosmo integrations:docs paperspace --json
kosmo integrations:docs paperspace.paperspace_list_machines --json
kosmo integrations:schema paperspace.paperspace_list_machines --json
kosmo integrations:search "Paperspace" --json
kosmo integrations:list --json Useful Paperspace CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
paperspace.paperspace_list_machines | Read | none | List all GPU machines in the Paperspace account. Returns IDs, names, OS, machine type, state, and public IP address. |
paperspace.paperspace_get_machine | Read | machine_id | Get details for a specific Paperspace machine by ID. Returns full machine information including specs, state, and network configuration. |
paperspace.paperspace_list_notebooks | Read | none | List all Gradient notebooks in the Paperspace account. Returns notebook IDs, names, cluster, machine type, and state. |
paperspace.paperspace_list_datasets | Read | none | List all datasets in the Paperspace account. Returns dataset IDs, names, storage usage, and creation dates. |
paperspace.paperspace_list_projects | Read | none | List all Gradient projects in the Paperspace account. Returns project IDs, names, descriptions, and creation dates. |
paperspace.paperspace_list_ssh_keys | Read | none | List all SSH keys in the Paperspace account. Returns key IDs, names, and fingerprints. |
paperspace.paperspace_get_current_user | Read | none | Get information about the current authenticated Paperspace user, including email, user ID, and team membership. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.