/cwv-superpowers:setting-up-coredashfrom cwv-superpowers
Walks through connecting the CoreDash MCP server for Core Web Vitals diagnosis via OAuth or API key, including account creation and client-specific configuration.
Ships in cwv-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Called by the cwv-superpower orchestrator when CoreDash is unavailable and the user wants to connect, or invoked directly when the user asks how to set up CoreDash MCP.
Do not skip steps. Walk the user through each step and wait for confirmation before moving to the next.
Ask the user which tool they are working in:
"Which AI coding tool are you using?"
- Claude Desktop
- Claude Code (terminal)
- Cursor
- Windsurf
- Gemini CLI
- Other
Store the answer for Step 4.
Ask the user:
"Do you have a CoreDash account at app.coredash.app?"
"You'll need a free CoreDash account first. Go to https://coredash.app/signup and create one. It takes about two minutes. Come back here when you're in."
CoreDash MCP accepts two authentication methods. Pick based on the client and use case:
| Method | Best for | API key needed? |
|---|---|---|
| Browser login (OAuth) | Interactive use in native/CLI clients like Claude Code (terminal) | No |
API key (cdk_…) | Headless / automated / CI, agency or multi-project setups (master keys), and config-file clients (Claude Desktop, Cursor, Windsurf, Gemini CLI) | Yes |
Both connect to the same hosted server — nothing changes on the CoreDash side. OAuth is the better experience for interactive clients; API keys are the right choice when there's no interactive browser.
No API key required. Add the server with no header:
claude mcp add --transport http coredash https://app.coredash.app/api/mcp
Then authenticate from inside an interactive Claude Code session:
- Run
/mcp- Select coredash
- Choose Authenticate
- Your browser opens the CoreDash login/consent page — log in, pick the project to connect, and approve.
Claude Code stores a short-lived OAuth token that auto-refreshes (1-hour access token, 30-day refresh token) and is revocable from CoreDash at any time.
Note: OAuth is triggered interactively through
/mcp → Authenticate, not byclaude mcp list.claude mcp listis only a health check — it will report the server as failing ("tools fetch failed") until you authenticate. That's expected; complete the/mcpflow above and it connects.
Once authenticated, skip to Step 5 to verify.
First, generate the key. Tell the user:
"Let's generate an API key. Inside the CoreDash app:
- Open the project you want to connect
- Go to Project Settings
- Click the API Keys (MCP) tab
- Give the key a name (e.g. 'Claude Code' or 'Cursor')
- Click Generate API Key
- Copy the key now — it starts with
cdk_and is shown exactly once"
Ask: "Do you have your API key copied?" Wait for confirmation, then provide the exact config for the tool the user chose in Step 1.
Run this command, replacing the key:
claude mcp add --transport http coredash https://app.coredash.app/api/mcp \
--header "Authorization: Bearer cdk_YOUR_API_KEY"
Tip: for interactive Claude Code use, Option A (browser login) is simpler and needs no key. Use this API-key command for headless or scripted setups.
Open this file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd this inside the mcpServers object (create the file if it does not exist):
{
"mcpServers": {
"coredash": {
"url": "https://app.coredash.app/api/mcp",
"headers": {
"Authorization": "Bearer cdk_YOUR_API_KEY"
}
}
}
}
Replace cdk_YOUR_API_KEY with the key they copied. Then restart Claude Desktop.
Open Settings → MCP → Add Server. Set:
coredashhttps://app.coredash.app/api/mcpAuthorization: Bearer cdk_YOUR_API_KEYOpen Settings → AI → MCP Servers → Add. Set:
coredashhttps://app.coredash.app/api/mcpAuthorization: Bearer cdk_YOUR_API_KEYAdd to ~/.gemini/settings.json:
{
"mcpServers": {
"coredash": {
"url": "https://app.coredash.app/api/mcp",
"headers": {
"Authorization": "Bearer cdk_YOUR_API_KEY"
}
}
}
}
Tell the user:
"Any MCP-compatible client needs two things:
- Endpoint URL:
https://app.coredash.app/api/mcp- Header:
Authorization: Bearer cdk_YOUR_API_KEYCheck your client's documentation for how to add an HTTP MCP server with a custom header."
Once the user confirms they've connected — authenticated via /mcp (Option A) or saved the config and restarted their client (Option B) — silently call get_metrics with no arguments. Do not announce the test beforehand.
"Connected. CoreDash MCP is live — I can now see your real Core Web Vitals data."
Then tell the user which skill they were trying to run originally and offer to continue with it.
If it returns -32001 Authentication Error or the user hasn't authenticated yet:
"You still need to authorize. Run
/mcp, select coredash, and choose Authenticate — your browser will open the CoreDash login. Note thatclaude mcp listshows the server as failing until you do this; that health check doesn't trigger the login."
"The API key looks wrong. Check that it starts with
cdk_, there are no extra spaces, and theBearerprefix is included. If the key was lost, generate a new one from Project Settings."
If the tool is not found or unavailable: say
"The MCP server isn't loading yet. Try fully quitting and restarting your AI client (not just reloading). If you're on Claude Code, run
claude mcp listto confirm the server appears — then, for OAuth, run/mcp → Authenticateto log in."
/mcp → Authenticate to switch projects or after revoking. Nothing needs to be configured on the CoreDash side — the keyless flow just works on the hosted server.| Plan | Daily MCP requests |
|---|---|
| Trial | 30 |
| Starter | 100 |
| Standard | 500 |
| Pro | 1,000 |
| Enterprise | 50,000 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/cwv-superpowerOrchestrator for full Core Web Vitals diagnosis. Use when the user asks for a site audit, "find my biggest CWV issue", general page speed help, or multi-metric analysis. Dispatches to peer skills diagnosing-lcp, diagnosing-inp, diagnosing-cls, tracing-with-chrome, and setting-up-coredash. For a single named metric, the agent may invoke the matching diagnosing-* skill directly instead./diagnosing-clsUse when diagnosing CLS (Cumulative Layout Shift) issues — visual layout jumps, content shifting during load, poor CLS at p75, or when the cwv-superpower orchestrator dispatches at Step 2B. Matches the shifting element to one of 5 cause patterns (images without dimensions, FOUT, injected content, late-loading resources, non-composited animations). Requires CoreDash MCP./diagnosing-inpUse when diagnosing INP (Interaction to Next Paint) issues — slow/laggy clicks, delayed interactions, poor INP at p75, or when the cwv-superpower orchestrator dispatches at Step 2B. Identifies the slow interaction element, the bottleneck phase (INPUTDELAY/PROCESSING/PRESENTATION), and the responsible LOAF script. Requires CoreDash MCP./diagnosing-lcpUse when diagnosing LCP (Largest Contentful Paint) issues — slow hero images, slow page loads, poor Largest Contentful Paint at p75, or when the cwv-superpower orchestrator dispatches at Step 2B. Identifies the LCP element, the bottleneck phase (TTFB/LOADDELAY/LOADTIME/RENDERDELAY), and the cause pattern. Requires CoreDash MCP./tracing-with-chromeUse when running a Chrome lab trace for a specific CWV bottleneck — investigating LCP/INP/CLS with browser tools after RUM has identified the target phase, element, and cause. Typically called by the cwv-superpower orchestrator at Step 3. Requires either chrome-devtools-mcp (preferred) or claude-in-chrome (fallback).npx claudepluginhub corewebvitals/cwv-superpowers --plugin cwv-superpowersOther plugins' skills for the same job