Configure the StackOne MCP server for AI coding assistants like Claude, Cursor, and Windsurf.
Command
Description
stackone agent setup --global
Configure MCP tools globally in ~/.stackone
stackone agent setup --local
Configure MCP tools for current project only
stackone agent cleanup
Remove stored credentials and configuration
Copy
Ask AI
# Global setup - configures MCP server for all projects (recommended)stackone agent setup --global# Project-scoped setup - configures MCP server for current directorystackone agent setup --local# Remove all API keys and credentialsstackone agent cleanup
Use --global setup when you want the StackOne MCP tools available across all your projects. Use --local for project-specific configurations.
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 commands require an API key with Connectors scopes. See API Keys to generate one.
Command
Description
Required Scope
stackone push <path>
Upload connector to StackOne registry
connectors:write
stackone pull
Download connector files to local filesystem
connectors:read
stackone drop <provider@version>
Delete a connector version from registry
connectors:write
stackone get
Retrieve connector configuration (YAML or JSON output)
connectors:read
Copy
Ask AI
# Push using saved profilestackone push ./my-connector/ --profile prod# Push with API key directlystackone push ./my-connector/ --api-key v1.eu1.xxxxx# Pull connector files to local directorystackone pull --connector my_provider --output ./connectors/# Pull specific versionstackone pull --connector[email protected] --output ./connectors/# Get connector config as YAML (default)stackone get --connector my_provider# Get connector config from a linked accountstackone get --account-id acme-corp-provider --format json --output-file config.json
# Interactive setup (prompts for profile name and API key)stackone init# Setup for different environmentsstackone init --env stagingstackone init --env production# Check version and available updatesstackone version# Update to latest versionstackone update