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
Connects AI agents to RudderStack via MCP tool calls for catalog, sources, destinations, transformations, and live events. Use when connecting an AI agent to RudderStack's MCP server, driving RudderStack via MCP, or mentions of mcp.rudderstack.com.
$ npx -y skills add rudderlabs/rudder-agent-skills --skill rudder-mcp-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/rudder-mcp-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Connects AI agents to RudderStack via MCP tool calls for catalog, sources, destinations, transformations, and live events. Use when connecting an AI agent to RudderStack's MCP server, driving RudderStack via MCP, or mentions of mcp.rudderstack.com.
name: rudder-mcp-workflow description: Connects AI agents to RudderStack via MCP tool calls for catalog, sources, destinations, transformations, and live events. Use when connecting an AI agent to RudderStack's MCP server, driving RudderStack via MCP, or mentions of mcp.rudderstack.com. allowed-tools: "Read, Write, Edit"
RudderStack's hosted MCP server at `mcp.rudderstack.com` exposes a RudderStack workspace as an MCP endpoint so AI agents (Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, or any MCP client) can inspect and drive workspace resources via tool calls. Authoritative docs: https://mcp.rudderstack.com/docs.
The user wants an AI agent to drive RudderStack, mentions RudderStack + MCP, asks about `mcp.rudderstack.com`, or wants to configure MCP tool access for a RudderStack workspace.
Before running any workflow, verify:
Claude Code `mcpServers` block (HTTP transport via `mcp-remote`):
{
"mcpServers": {
"rudderstack": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.rudderstack.com/mcp"]
}
}
}For other clients (Claude Desktop, Cursor, VS Code, Windsurf, claude.ai connectors), use the snippets at https://mcp.rudderstack.com/docs.
The server exposes tools across five categories. Exact names are discovered dynamically by your MCP client — inspect your client's tools panel (or ask Claude "what RudderStack tools do you have?") for the authoritative list. The names below are representative.
List sources and fetch a specific source's details, definitions, event schemas, event metrics, and the tracking plan(s) bound to it. Useful for: "what's broken in source X?", "what events does source X emit?".
List destinations and fetch a specific destination's details, definitions, event metrics, latency metrics, and recent errors. Useful for: "why is destination X dropping events?", "compare event volume across destinations".
List transformations and libraries, fetch a specific transformation, create or update transformations, and test them against captured payloads. Useful for: "draft a transformation for use case X", "test this transformation against last week's events".
Stream and inspect live events flowing through your workspace. Useful for: "show me the last 10 events from source X", "did the 'Order Completed' event land with the right properties?".
Search RudderStack documentation from inside your client. Useful for: "how does RETL handle late-arriving rows?", "what destination types support transformations?".
Patterns to ask Claude — phrased as a user would say them:
After instrumenting events (via CLI, Terraform, or code), verify they reach destinations:
1. APPLY TRACKING PLAN
└── e.g. rudder-cli apply -l ./
2. TRIGGER EVENTS
└── Run your app, trigger the instrumented events
3. VERIFY LIVE EVENTS
└── Ask Claude: "show recent live events from source <id>"
└── Confirm event name, properties, context match the tracking plan
4. VERIFY DESTINATION
└── For warehouse destinations: query the warehouse
(Snowflake, BigQuery, Redshift, etc.) for the event
└── For SaaS destinations: check the destination UI
5. CHECK FOR VIOLATIONS
└── Ask Claude: "any tracking-plan violations on source <id>?"
└── Review violations to identify schema mismatches1. Apply tracking plan with "Audience Created" event 2. Create an audience in the web app 3. Ask Claude: "any Audience Created events on source <id> in the last hour?" 4. Verify properties: audience_id, audience_name, condition_count 5. Confirm the event landed in your warehouse destination
Recommended for safe iteration:
| Workspace | Purpose | Governance | |-----------|---------|------------| | Dev | Testing, iteration | `unplannedEvents: log` | | Prod | Production traffic | `unplannedEvents: block` |
Workflow:
1. Point your MCP client at the Dev workspace
(your MCP client surfaces a workspace-switch tool if your account
has access to multiple workspaces)
2. Apply changes to Dev
└── e.g. rudder-cli apply -l ./
3. Verify events end-to-end in Dev
└── Live events + warehouse check via MCP
4. Switch to the Prod workspace and apply**Why two workspaces:**
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…