nma.sh/ docs

Remote MCP Server

Connect any MCP-compatible AI client directly to https://nma.sh/mcp over Streamable HTTP with OAuth 2.1 + S256 PKCE—nothing to install locally.

Remote MCP Endpoint: https://nma.sh/mcp · Transport: Streamable HTTP · Auth: OAuth 2.1 + S256 PKCE + Dynamic Client Registration

How to install

Choose your client below:

Claude.ai (Web & Desktop):

  1. Open Settings → Connectors → Add custom connector (or install nma.sh from the Claude Plugin Directory).
  2. Set the Remote MCP Server URL to https://nma.sh/mcp and click Connect.
  3. On nma.sh, enter your email to receive a one-time sign-in link & 6-digit code—or paste a code from ssh nma.sh mcp-connect to link an existing SSH account.

Option 1 — Official Claude Code Plugin (Remote MCP + Deploy Skills):

claude-code
/plugin marketplace add nma-sh/skills
/plugin install nma-sh@nma-sh

Option 2 — Direct CLI command:

sh
claude mcp add --transport http nma-sh https://nma.sh/mcp

Add to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code):

json
{
  "mcpServers": {
    "nma-sh": {
      "type": "http",
      "url": "https://nma.sh/mcp"
    }
  }
}

On first tool call, your editor opens the nma.sh OAuth 2.1 consent page automatically.

Prefer local stdio over SSH with no browser OAuth? Run ssh nma.sh signup once, then register:

sh
claude mcp add nma -- ssh nma.sh mcp

Or JSON config for any stdio MCP host:

json
{
  "mcpServers": {
    "nma": {
      "command": "ssh",
      "args": ["nma.sh", "mcp"]
    }
  }
}

How sign-in & account linking work

  1. Enter your email on https://nma.sh/oauth/authorize: We send a single-use 10-minute email containing both a one-click sign-in link (for the same browser) and a 6-digit code (works across any device or mobile mail client).
  2. New email: Choose Create new account (starts immediately verified with 5 permanent free sites) or Connect an existing SSH-key account by pasting a one-time code from ssh nma.sh mcp-connect. Once linked to an email, that SSH account stays connected to your email for good.
  3. Returning user: Entering your verified email (whether created via email or linked to an SSH account) signs you straight back into your existing account across Claude.ai, Claude Code, Cursor, or ChatGPT—all your apps intact.

What you can build & do

Once connected, your AI assistant can ship, inspect, and maintain real production apps directly from chat:

01Instant static & SPA sites

"Create a portfolio site with index.html and styles.css and deploy it to nma.sh." Multi-file folders deploy with pretty URLs, _redirects, and _headers.

02Full-stack JS apps with DB & auth

"Build a waitlist app that stores signups in db and protects /admin with a password secret, then put it online."

03Live debugging & rollback

"Check the latest logs for my waitlist app, fix the 500 error, or roll back to version 2."

04Data exports, domains & backups

"Export all waitlist emails from db, attach waitlist.example.com, or restore yesterday's backup."

Available MCP tools (26 tools)

Remote MCP exposes 26 scoped tools over Streamable HTTP (one JSON-RPC message per POST, no batching, max 1 MiB body):

CategoryToolsWhat they do
Deploy & Lifecycledeploy, apps, deployments, rollback, promote, delete, logsDeploy single-file JS or multi-file folders (files), list apps/history (last 10 versions), roll back, promote, read bounded NDJSON logs, or delete (instant 404).
Database (db)db_list, db_get, db_delete, db_exportInspect keys with prefix/pagination, strong reads, delete keys, or export up to 8 MiB NDJSON.
Secretssecret_set, secret_deleteWrite-only secret management (max 1024 UTF-8 bytes per secret); live-rotated without redeploying. No tool can read secrets back.
Domains & Namesdomain_add, domains, domain_remove, renamePro: attach up to 10 custom domains with automatic TLS, or claim a chosen NAME.sites.diy subdomain.
Backupsbackups, restorePro: list 7-day daily snapshots of db and kv and restore non-destructively.
Account & Usagewhoami, usage, keys, verify, plan, upgrade, billingCheck tenant/role/quotas, metered request & byte counts, list key states, request email verification, or get Stripe checkout/portal links.

Security & IT admin guide