# Connect Pagetaste MCP

Use this guide to register the Pagetaste MCP server in the Agent you are running in.
No account, login, or API key is required. Once connected, you can search the Pagetaste visual skill catalog and install any `SKILL.md` pack directly into the skills directory.

## Rules

- Add only the `pagetaste` entry. Keep every other MCP server in the client's configuration intact.
- Never ask the user for an API key, password, or token.
- If you cannot run a command or edit a config file yourself, show the exact step to the user and wait until they complete it.

## 1. Check Requirements

- macOS, Windows, or Linux
- Node.js 22 or newer (`node --version`)

## 2. Add Pagetaste MCP to Your Client

Windows entries start `npx` through `cmd /c`; use them on Windows only.

### Claude Code

macOS and Linux:

```bash
claude mcp add --scope user --transport stdio pagetaste -- npx --yes pagetaste-cli@latest mcp
```

Windows:

```bash
claude mcp add --scope user --transport stdio pagetaste -- cmd /c npx --yes pagetaste-cli@latest mcp
```

Check: `claude mcp get pagetaste`

### Codex

macOS and Linux:

```bash
codex mcp add pagetaste -- npx --yes pagetaste-cli@latest mcp
```

Windows:

```bash
codex mcp add pagetaste -- cmd /c npx --yes pagetaste-cli@latest mcp
```

Check: `codex mcp list`

### Antigravity

macOS and Linux:

```bash
agy mcp add pagetaste -- npx --yes pagetaste-cli@latest mcp
```

Windows:

```bash
agy mcp add pagetaste -- cmd /c npx --yes pagetaste-cli@latest mcp
```

Manual fallback (`~/.gemini/config/mcp_config.json` or workspace `.agents/mcp_config.json`):

macOS and Linux:

```json
{
  "mcpServers": {
    "pagetaste": {
      "command": "npx",
      "args": [
        "--yes",
        "pagetaste-cli@latest",
        "mcp"
      ]
    }
  }
}
```

Windows:

```json
{
  "mcpServers": {
    "pagetaste": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "--yes",
        "pagetaste-cli@latest",
        "mcp"
      ]
    }
  }
}
```

### Cursor

Merge into `~/.cursor/mcp.json`:

macOS and Linux:

```json
{
  "mcpServers": {
    "pagetaste": {
      "command": "npx",
      "args": [
        "--yes",
        "pagetaste-cli@latest",
        "mcp"
      ]
    }
  }
}
```

Windows:

```json
{
  "mcpServers": {
    "pagetaste": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "--yes",
        "pagetaste-cli@latest",
        "mcp"
      ]
    }
  }
}
```

### VS Code

macOS and Linux:

```bash
code --add-mcp '{"name":"pagetaste","type":"stdio","command":"npx","args":["--yes","pagetaste-cli@latest","mcp"]}'
```

Windows:

```bash
code --add-mcp '{"name":"pagetaste","type":"stdio","command":"cmd","args":["/c","npx","--yes","pagetaste-cli@latest","mcp"]}'
```

## 3. Available MCP Tools

- `search_skills` — Search visual skills by keyword, output format (`slides` | `mockup` | `web`), role, or use case.
- `get_skill` — Inspect a skill's exact templates, themes, deliverables, runtime requirements, and invocation prompt.
- `install_skill` — Download, SHA-256 verify, and atomically install a skill into the target Agent's skills directory.
- `list_installed_skills` — List installed skills and their versions.
- `check_updates` — Compare installed skills against the latest versions from https://pagetaste.com.
- `update_skill` — Upgrade an installed skill while preserving a backup of the previous version.

## 4. Verify Connection

Restart your Agent or start a new session, then try:

> Use the Pagetaste MCP server to search for system architecture diagram skills and show their templates, outputs, and preview URLs. Do not install yet.
