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):
- Open Settings → Connectors → Add custom connector (or install nma.sh from the Claude Plugin Directory).
- Set the Remote MCP Server URL to
https://nma.sh/mcpand click Connect. - On
nma.sh, enter your email to receive a one-time sign-in link & 6-digit code—or paste a code fromssh nma.sh mcp-connectto link an existing SSH account.
Option 1 — Official Claude Code Plugin (Remote MCP + Deploy Skills):
/plugin marketplace add nma-sh/skills
/plugin install nma-sh@nma-shOption 2 — Direct CLI command:
claude mcp add --transport http nma-sh https://nma.sh/mcpAdd to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code):
{
"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:
claude mcp add nma -- ssh nma.sh mcpOr JSON config for any stdio MCP host:
{
"mcpServers": {
"nma": {
"command": "ssh",
"args": ["nma.sh", "mcp"]
}
}
}How sign-in & account linking work
- 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). - 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. - 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:
"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.
"Build a waitlist app that stores signups in db and protects /admin with a password secret, then put it online."
"Check the latest logs for my waitlist app, fix the 500 error, or roll back to version 2."
"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):
| Category | Tools | What they do |
|---|---|---|
| Deploy & Lifecycle | deploy, apps, deployments, rollback, promote, delete, logs | Deploy 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_export | Inspect keys with prefix/pagination, strong reads, delete keys, or export up to 8 MiB NDJSON. |
| Secrets | secret_set, secret_delete | Write-only secret management (max 1024 UTF-8 bytes per secret); live-rotated without redeploying. No tool can read secrets back. |
| Domains & Names | domain_add, domains, domain_remove, rename | Pro: attach up to 10 custom domains with automatic TLS, or claim a chosen NAME.sites.diy subdomain. |
| Backups | backups, restore | Pro: list 7-day daily snapshots of db and kv and restore non-destructively. |
| Account & Usage | whoami, usage, keys, verify, plan, upgrade, billing | Check tenant/role/quotas, metered request & byte counts, list key states, request email verification, or get Stripe checkout/portal links. |
Security & IT admin guide
- OAuth 2.1 standards: Implements RFC 9728 Protected Resource Metadata (
https://nma.sh/.well-known/oauth-protected-resource/mcp), RFC 8414 Authorization Server Metadata (https://nma.sh/.well-known/oauth-authorization-server), RFC 7591 Dynamic Client Registration (/oauth/register), and mandatory S256 PKCE. - Blocked actions (least privilege): Remote MCP OAuth sessions are hard-blocked on both server and tool layers from calling
keys_create,keys_revoke,dash,mcp-connect,signup, orretry. A compromised OAuth token can never mint permanent keys or dashboard links. - Token lifetimes: Access tokens expire in 1 hour; refresh tokens expire in 30 days and are cryptographically bound to the registered OAuth client ID.
- Instant revocation: Run
ssh nma.sh mcp revoke(owner key) to invalidate every active remote MCP access and refresh token across all clients immediately, orssh nma.sh keys revoke IDto end connections created from a specific key. - Rate & execution bounds: 1 MiB max JSON-RPC request body, 300 s max per tool call, 4 concurrent calls per account (excess returns HTTP 429).
- Privacy & compliance: nma.sh receives only explicit tool calls and deployed files—never your chat transcripts. See our Privacy Policy and Security & Isolation docs.