setup
Set up the Rootly plugin. Verifies MCP server connection via OAuth2 or API token and guides through configuration. Run this after installing the plugin.
by CognitionAI★ 42 GitHub stars
Install setup in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Rootly Plugin Setup
You are running the first-time setup for the Rootly Claude plugin. Follow these steps in order:
Step 1: Verify MCP Connection
First, test the MCP server connection by calling mcp__rootly__get_server_version.
- Succeeds: The MCP server is reachable. Continue to Step 2.
- Fails with 401 / OAuth prompt: Claude should automatically start the OAuth2 flow -- a browser window will open for you to log in to Rootly and grant access. Once authorized, retry
mcp__rootly__get_server_version. - Fails with other error: MCP server connection issue. Check network connectivity to
https://mcp.rootly.com.
Step 2: Verify Authentication
Call mcp__rootly__getCurrentUser to confirm your identity.
- Succeeds: Authentication is working. Report the authenticated user and team, then continue to Step 3.
- Fails: Authentication issue. Provide troubleshooting:
Authentication Troubleshooting
This plugin uses OAuth2 by default -- Claude handles the login flow automatically when it connects to the MCP server. No API token is needed for MCP commands.
If OAuth2 is not working:
- Ensure your Rootly organization has OAuth2 enabled
- Try disconnecting and reconnecting the MCP server:
/mcp> find Rootly > disconnect > reconnect- Check that your browser can reach
https://rootly.com/oauth/authorizeFallback: API Token (for hook scripts or environments without browser access)
Hook scripts (active-incident warnings on commit/push) still need an API token:
- Go to your Rootly dashboard: Settings > API Keys
- Create a new API key
- Provide the token through the plugin's userConfig prompt, or
export ROOTLY_API_TOKEN="..."API tokens are optional for MCP commands -- OAuth2 is the recommended auth method.
Then stop here -- no further steps possible without working authentication.
Step 3: Service Mapping Configuration
Check if .claude/rootly-config.json exists in the current project directory.
If the file does NOT exist, offer to create it:
- Ask the user which Rootly service(s) correspond to this repository
- Ask which team owns this service (optional)
- Create
.claude/rootly-config.jsonwith the format:{ "services": ["service-name-1", "service-name-2"], "team": "team-name" }
If the file exists, read and display its current configuration.
Step 4: Show Quick-Start Guide
Once setup is complete, display:
Rootly plugin is ready!
Authentication: OAuth2 (logged in as {user name})
Command Description /rootly:deploy-checkCheck deployment safety before pushing /rootly:respond [incident-id]Investigate and respond to an incident /rootly:oncallView on-call dashboard /rootly:retro [incident-id]Generate post-incident retrospective /rootly:statusService health overview /rootly:ask [question]Ask questions about your incident data /rootly:brief [incident-id]Generate stakeholder brief for executives /rootly:handoff [incident-id]Prepare incident or on-call handoff docs Hooks are active:
- Session start: Connection validation (already ran)
- Pre-commit/push: Active critical incident warnings (requires API token in plugin config)
Allowed tools
Tools this skill is permitted to call.
- 01
Bash - 02
mcp__rootly__*
FAQ
What does the setup skill do?
Set up the Rootly plugin. Verifies MCP server connection via OAuth2 or API token and guides through configuration. Run this after installing the plugin.
How do I install the setup skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the setup skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…