# GrowSurf CLI The official GrowSurf CLI is published on npm as [`@growsurfteam/growsurf-mcp`](https://www.npmjs.com/package/@growsurfteam/growsurf-mcp). It is maintained by GrowSurf and also runs the local stdio Model Context Protocol (MCP) server for referral and affiliate programs. ## Run Node.js 22 or newer is required. Run the latest published CLI without a global installation: ```sh npx -y @growsurfteam/growsurf-mcp ``` The package exposes the `growsurf-mcp` executable. Use it with Claude Code, Cursor, Codex, Claude Desktop, Antigravity, and other clients that support local stdio MCP servers. ## Authentication Public resources and static integration guidance do not require credentials. API-calling commands and MCP tools use `GROWSURF_API_KEY`. Program-scoped actions also need a `campaignId` argument or the optional `GROWSURF_CAMPAIGN_ID` default. Keep credentials in the approved environment or secret store. Never paste a GrowSurf API key into a conversation. ## Related resources - [GrowSurf MCP source and CLI documentation](https://github.com/growsurf/growsurf-mcp) - [GrowSurf Build with AI guide](https://growsurf.com/build-with-ai.md) - [GrowSurf agent authentication guide](https://growsurf.com/auth.md) - [GrowSurf OpenAPI 3.1 schema](https://growsurf.com/openapi.json)