# dashboardbase

Checks widget endpoint responses and dashboard setup files against the contract dashboardbase enforces, before the app is opened.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: dashboardbase
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dashboardbase/mcp
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/dashboardbase

## What it does

The server exposes three tools to your agent. `validate_setup_file` reads the JSON that provisions a dashboard's widgets and datasources and reports errors and warnings with field, line and column. `validate_widget_response` takes the JSON body returned by a widget endpoint and compares it to the widget contract, giving a path and message per problem. `create_setup_link` uploads a finished setup file and returns a link into its import preview, but only when asked; a file with credentials is refused and the offending fields are listed.

Every tool calls the public dashboardbase tools API. No account, no key, no environment variable to set. The `npx` routes need Node.js 20 or newer, and that is the only prerequisite.

No schemas live in the server, so improved validation messages reach you as soon as the API changes. A new tool, by contrast, arrives only after the package updates and the client restarts the server: a running process keeps a fixed tool list for the session. If `npx -y @dashboardbase/mcp --version` reports something older than the latest release, npm is serving cached registry metadata; `npx -y @dashboardbase/mcp@latest --version` forces a fresh check.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `DASHBOARDBASE_API_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env DASHBOARDBASE_API_URL=<DASHBOARDBASE_API_URL> --transport stdio dashboardbase -- npx -y @dashboardbase/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add dashboardbase --env DASHBOARDBASE_API_URL=<DASHBOARDBASE_API_URL> -- npx -y @dashboardbase/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dashboardbase": {
            "command": "npx",
            "args": [
                "-y",
                "@dashboardbase/mcp"
            ],
            "env": {
                "DASHBOARDBASE_API_URL": "<DASHBOARDBASE_API_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dashboardbase": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@dashboardbase/mcp"
            ],
            "env": {
                "DASHBOARDBASE_API_URL": "<DASHBOARDBASE_API_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DASHBOARDBASE_API_URL=<DASHBOARDBASE_API_URL> dashboardbase npx -y @dashboardbase/mcp
```
Replace <…> with your own values

## When to use it
- validate a dashboard setup file before importing it
- catch a misspelled widget type with its line number
- compare a widget endpoint response to the contract
- get an import preview link for a finished setup
- spot credentials inside a setup file before upload

## Example prompts
- Validate my dashboardbase setup file and list the errors
- Check this widget endpoint response against the dashboardbase contract
- Create a setup link for this dashboard file

## Similar
- [build-evidence-map](https://affpapa.org/en/nevibecode/skills/build-evidence-map.md) — skill · 70 installs
- [treatment-plans](https://affpapa.org/en/nevibecode/skills/treatment-plans.md) — skill · 1900 installs
- [Oh My Posh Validator](https://affpapa.org/en/nevibecode/mcp/oh-my-posh-validator.md) — MCP server · ★ 23668
- [fastify](https://affpapa.org/en/nevibecode/skills/fastify.md) — skill · 571 installs
- [Bilig WorkPaper](https://affpapa.org/en/nevibecode/mcp/bilig-workpaper.md) — MCP server · ★ 35
- [extension-querying-oql](https://affpapa.org/en/nevibecode/skills/extension-querying-oql.md) — skill · 25200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
