NowPage MCP Server — Admin Guide

Manage the MCP server that lets AI assistants publish to HC Protocol sites.

Architecture

One Vercel deployment, three endpoints:

EndpointProtocolUsed By
/api/mcpMCP (Streamable HTTP)Claude.ai
/api/publishREST (JSON)ChatGPT, scripts, any HTTP client
/api/openapi.jsonOpenAPI 3.1 specChatGPT Actions import

Environment Variables

VariableRequiredDescription
NP_API_KEYYesDefault NowPage API key (used when customer provides no Bearer token)
ALLOWED_DOMAINSNoComma-separated domain allowlist. Empty = no restriction.

Authentication Model

Two modes:

Customer Onboarding

Product: $50/month per site

  1. Customer signs up for NowPage — you issue an NP_API_KEY scoped to their domain
  2. Add their domain to ALLOWED_DOMAINS in Vercel env vars
  3. Send them the Customer Connection Guide
  4. They connect Claude.ai or ChatGPT with their API key
  5. They publish by talking to AI

Domain Restrictions

Two layers:

Connecting Claude.ai (Owner)

  1. Go to Claude.ai → Settings → Connectors
  2. Click Add custom connector
  3. URL: https://YOUR-VERCEL-URL/api/mcp
  4. No auth needed

Connecting ChatGPT (Owner)

  1. Go to ChatGPT → Create a GPT → Configure → Actions
  2. Click Import from URL
  3. Paste: https://YOUR-VERCEL-URL/api/openapi.json
  4. Set Authentication: API Key, Bearer, paste your NP_API_KEY

Monitoring

Use Vercel dashboard → Function logs to see publish requests, errors, and per-customer usage.

See also: Deploy Guide | Customer Guide