Skip to main content
The StackOne CLI (@stackone/cli) provides commands for building, validating, testing, and deploying custom connectors.

Full Documentation

Complete CLI documentation on npm

Installation


Command Reference

Agent Commands

Set up the agent, and the MCP server that gives an AI coding assistant StackOne’s tools.
The API key is stored in ~/.stackone/agent-config.json either way. The MCP server entry goes to ~/.claude.json for --global, or the project’s .mcp.json for --local.
Use --local in the repo where you build connectors, since it’s the only mode that installs the skills and the guide. It authenticates you at the same time, so --global is not a prerequisite. Passing neither flag prompts for the mode.

Skills

agent setup --local installs a set of connector-building skills into .claude/skills/. List what you have, and the subset recommended for a mode:
After upgrading the CLI, refresh the copies in your project:

Connector Development

Test file formats:
Params structure: each top-level key corresponds to an input’s in: location in the action’s YAML. Put every value under the key that matches where the input is sent. You can pass the same object inline instead of a file:
Faster iteration: Once your connector is pushed or an account is already linked, skip the credentials file and use --account-id instead:
This uses stored credentials from the linked account, making it easier to iterate on action logic without managing local credential files.Note: Using --account-id requires an API key with connectors:read scope.

Deployment

Deployment commands require an API key with Connectors scopes. See API Keys to generate one.

Configuration


Environment Variables

API keys are passed via --api-key flag or stored in your profile configuration, not as environment variables.

Next Steps

First Connector

Build a connector from scratch with these commands

GitHub CI/CD

Automated validation and publishing with GitHub Actions