Install for Claude Code

Add @cueapi/mcp to Claude Code as a stdio MCP server.

Prerequisites

  • Claude Code installed (claude --version)
  • Node.js 18 or later on your machine
  • A CueAPI API key (cueapi.ai)

Add the server

Claude Code ships a built-in registration command. From any project directory:

bash
claude mcp add cueapi \
  --env CUEAPI_API_KEY=cue_sk_your_key_here \
  -- npx -y @cueapi/mcp

This writes a project-scoped entry to .mcp.json (or user-scoped with --scope user). Re-open Claude Code and the eight CueAPI tools are live.

User-wide config

To make CueAPI available in every Claude Code session:

bash
claude mcp add cueapi \
  --scope user \
  --env CUEAPI_API_KEY=cue_sk_your_key_here \
  -- npx -y @cueapi/mcp

Self-hosted CueAPI

Add CUEAPI_BASE_URL:

bash
claude mcp add cueapi \
  --env CUEAPI_API_KEY=cue_sk_... \
  --env CUEAPI_BASE_URL=https://cueapi.your-domain.com \
  -- npx -y @cueapi/mcp

Verify

List registered servers:

bash
claude mcp list

Then inside a Claude Code session:

Use cueapi to list my cues.

The agent should call cueapi_list_cues.

Remove the server

bash
claude mcp remove cueapi

Scope

The key you pass becomes the upper bound on what the agent can do through MCP. See API key scope for the full surface.

How do I know if my agent ran successfully?
Ctrl+K