rudder-cli-setup
Installs and authenticates rudder-cli. Use when installing rudder-cli, setting up rudder cli, rudder-cli command not found, or authenticating with RudderStack
Configures Claude Code to connect to RudderStack's MCP server at mcp.rudderstack.com. Use when setting up MCP for rudderstack, connecting claude to rudderstack, or configuring the rudderstack MCP server
$ npx -y skills add rudderlabs/rudder-agent-skills --skill rudder-mcp-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/rudder-mcp-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Configures Claude Code to connect to RudderStack's MCP server at mcp.rudderstack.com. Use when setting up MCP for rudderstack, connecting claude to rudderstack, or configuring the rudderstack MCP server
name: rudder-mcp-setup description: Configures Claude Code to connect to RudderStack's MCP server at mcp.rudderstack.com. Use when setting up MCP for rudderstack, connecting claude to rudderstack, or configuring the rudderstack MCP server allowed-tools: "Bash(which, npx), Read, Write, Edit"
Configure Claude Code to connect to RudderStack's hosted MCP server at `mcp.rudderstack.com`. Authoritative reference: https://mcp.rudderstack.com/docs.
1. Check Prerequisites ──► which npx
│
├── Found ──► Configure Claude Code
│
└── Not Found ──► Install Node.js first
2. Configure Claude Code
│
├── Option A: /mcp command (recommended)
│
└── Option B: Edit settings.json directly
3. Authenticate (OAuth) ──► Browser opens, sign in to RudderStack
4. Verify Connection ──► Restart Claude, list workspace resourceswhich npx
**If found:** Continue to Step 2.
**If not found:** Install Node.js first from https://nodejs.org/ (includes npx).
/mcp add rudderstack
Follow the prompts: 1. Server name: `rudderstack` 2. Transport type: `http` (via mcp-remote) 3. URL: `https://mcp.rudderstack.com/mcp`
Edit your Claude Code settings file.
| Platform | Path | |----------|------| | macOS / Linux | `~/.claude/settings.json` | | Windows | `%APPDATA%\claude\settings.json` |
Add under `mcpServers`:
{
"mcpServers": {
"rudderstack": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.rudderstack.com/mcp"]
}
}
}The first time you invoke an MCP tool, `mcp-remote` opens your browser:
1. Sign in with your RudderStack account (email/password) 2. Review and approve the MCP integration's requested permissions 3. The browser redirects back; the session is established
No long-lived tokens to manage — OAuth handles the handshake per session.
After configuration, restart Claude Code:
Ask Claude to inspect your workspace:
List my RudderStack sources
**If connected:** Claude lists the sources in your workspace.
**If not connected:** Claude reports the MCP server is unavailable — see Troubleshooting below.
When connected, your MCP client discovers tools covering five categories (per https://mcp.rudderstack.com/docs):
See `/rudder-mcp-workflow` for workflow patterns that combine these.
The same hosted server works with Claude Desktop, Cursor, VS Code, Windsurf, and the claude.ai web UI (Team / Enterprise / Individual Paid plans get a one-click connector under `claude.ai/settings/connectors`). For per-client config snippets, see https://mcp.rudderstack.com/docs.
| Issue | Solution | |-------|----------| | `npx: command not found` | Install Node.js from https://nodejs.org/ | | MCP server not responding | Verify `https://mcp.rudderstack.com` is reachable; check network/proxy | | Authentication failed | Clear browser cookies for the RudderStack domain and retry; verify your account is active | | Tools not appearing | Restart Claude Code; check `settings.json` syntax with `python3 -m json.tool ~/.claude/settings.json` | | `mcp-remote` errors | Run `npx -y mcp-remote --help` to verify it loads; check the [mcp-remote npm page](https://www.npmjs.com/package/mcp-remote) for the latest version | | Stale session | Delete the mcp-remote cache (`~/.mcp-auth/`) and re-authenticate |
If the connection remains broken after these steps, contact your RudderStack administrator.
Outbound HTTPS access to `mcp.rudderstack.com` (port 443). If behind a corporate proxy, ensure this domain is allowed.
This skill instructs the agent to open a browser to RudderStack's OAuth endpoint and to install `mcp-remote` from npm — both are external sources:
A Claude Code plugin marketplace and Agent Skills collection that teaches your AI coding agent how to drive every programmatic RudderStack surface — CLI, MCP server, Terraform, and Profiles — with the right preflight checks, commands, and recovery paths.
Installs and authenticates rudder-cli. Use when installing rudder-cli, setting up rudder cli, rudder-cli command not found, or authenticating with RudderStack
Validates, previews, and applies RudderStack resource changes via YAML specs. Use when iterating on RudderStack resources with rudder-cli - validates specs,…
Imports existing RudderStack workspace resources into YAML files for git-based management. Use when importing existing RudderStack resources to CLI management…
Creates and manages RudderStack transformations and libraries with local testing. Use when creating, editing, or managing RudderStack transformations and…
Generates type-safe SDKs (Swift/Kotlin) from tracking plans with compile-time validation. Use when generating type-safe event tracking code from tracking plans…
Derives tracking plans from existing codebase types and structures. Use when instrumenting an existing product that wasn't well-instrumented or restructuring…