Assurly MCP Server
A ship gate AI agents call before deploy — add it to Claude in one click, or run @assurly/mcp-server in Cursor, Claude Code and other MCP clients.
npx -y @assurly/mcp-serverUse it in Claude — no install
Assurly is in the Claude connectors directory. Connect it on the web, desktop or mobile, then ask “Is my app safe to launch? https://my-app.lovable.app”. Its one tool, check_live_app, checks the deployed app from the outside and answers with a ship verdict, a Ship Score and a fix for each problem.
https://assurly.dev/api/mcpThe button opens Assurly in the Claude connectors directory — click Connect. No Assurly account is needed. Other MCP clients, such as Claude Code, can connect to the URL above directly.
The check is passive: it loads the public page and its scripts like a browser and never logs in, submits data or reads your database. Each site can be checked 6 times per 10 minutes.
What your agent gets back
Local scans return a Ship Gate summary the agent can read inline. Example output from assurly_scan_path:
⚠️ REVIEW RECOMMENDED Ship Score: 88/100
Scanned repository · 0 of 0 source files
Warnings (review):
· No .env.example file found at the root of the project. It is highly r… → 1 file
· GitHub Actions workflow for Assurly is missing. → 1 file
↳ Run: npx assurly initThe same tool also returns a markdown report and a JSON payload with verdict, status, shipScore, blockers, reviews, warnings, findings, detectedStack, and scanScope.
assurly_verdict calls Live Lock. Pass the deployed url and the gitSha being deployed. The answer is READY or BLOCKED from that fresh read-only check, not from a stored score. Example:
Assurly Live Lock: BLOCKED · Ship Score 59/100
Target: https://my-app.vercel.app
Commit: abc1234
BLOCKED (runtime_blocker). Do not deploy. Open the Assurly proof for this URL.When Live Lock is blocked, the tool returns that text with isError: true, so the agent does not deploy. Call it again after the fix is on the URL. A previous READY does not cover a new commit.
Tools
| Tool | Description |
|---|---|
assurly_scan_path | Scan a local project directory |
assurly_scan_files | Scan in-memory { path, content }[] files |
assurly_explain_rule | Explain a rule id and how to fix it |
assurly_verdict | Live Lock for a deployed URL. Requires ASSURLY_API_KEY, url, and gitSha. READY or BLOCKED comes from a fresh read-only check. BLOCKED is returned as an error so the agent does not deploy. |
assurly_scan_agent | Advisory audit of MCP client configs and agent instruction files only. Never blocks ship (isError stays false). |
assurly_plant_canary | Mint ASSURLY_CANARY_URL via the hosted API and append it to local .env.example. Requires ASSURLY_API_KEY. Never uploads source. |
Install
One-click install exists only where the client offers it: Cursor and VS Code each accept a server config over a URL handler. Claude Code installs with a single terminal command and Windsurf with a config file — no less supported, just one copy away in the tabs below.
Prerequisites: Node.js ^20.19.0 || >=22.12.0. Run via npx -y @assurly/mcp-server (package @assurly/mcp-server, bin assurly-mcp).
Add this server to .cursor/mcp.json next to your other MCP entries:
{
"mcpServers": {
"assurly": {
"command": "npx",
"args": ["-y", "@assurly/mcp-server"]
}
}
}After saving, restart Cursor (or reload MCP) and confirm the six assurly_* tools appear.
From your project directory:
claude mcp add assurly -- npx -y @assurly/mcp-serverRestart the session (or reload MCP) and confirm the six assurly_* tools appear.
Add this server to .vscode/mcp.json. VS Code uses the top-level key servers (not mcpServers):
{
"servers": {
"assurly": {
"command": "npx",
"args": ["-y", "@assurly/mcp-server"]
}
}
}After saving, reload MCP and confirm the six assurly_* tools appear.
Add this server to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"assurly": {
"command": "npx",
"args": ["-y", "@assurly/mcp-server"]
}
}
}After saving, restart Windsurf (or reload MCP) and confirm the six assurly_* tools appear.
Any stdio MCP client can launch the server with npx. Point the client at:
{
"command": "npx",
"args": ["-y", "@assurly/mcp-server"]
}Run via npx -y @assurly/mcp-server (bin assurly-mcp). Confirm the six assurly_* tools appear after the client reloads MCP.
Make the gate automatic
A ship gate nobody remembers to invoke is not a gate. Paste this into .cursorrules, CLAUDE.md, or AGENTS.md so the agent calls Assurly before every deploy without being asked:
# Assurly ship gate
Before deploying, pushing to production, or claiming the app is ready to ship:
1. Call assurly_scan_path (or assurly_scan_files) on the project.
2. Fix every blocker; re-scan until the verdict is READY TO SHIP.
3. Before deploy, call assurly_verdict with the deployed url and the gitSha of the commit. Live Lock runs a fresh read-only check. BLOCKED is returned with isError: true — stop and do not ship. READY applies only to that run.
4. After you claim a fix: deploy is allowed only when a new assurly_verdict call for that commit returns READY. A stored score is not a ship decision.
Do not skip this gate or ask the user whether to run it.Connect the hosted verdict
assurly_verdict requires ASSURLY_API_KEY. Create a key in the dashboard under Settings → API keys (shown once), then expose it to the MCP server. Optional: ASSURLY_API_URL defaults to https://assurly.dev.
Example Cursor .cursor/mcp.json with the key set (VS Code uses servers instead of mcpServers):
{
"mcpServers": {
"assurly": {
"command": "npx",
"args": ["-y", "@assurly/mcp-server"],
"env": {
"ASSURLY_API_KEY": "ask_your_key_here"
}
}
}
}Typical agent loop
- Agent writes or edits code.
- Call
assurly_scan_pathorassurly_scan_files. - Read blockers from the Ship Gate summary.
- Call
assurly_explain_rulefor remediation hints. - Fix issues and re-scan until the verdict is READY TO SHIP.
Troubleshooting
- Node too old. The server requires Node
^20.19.0 || >=22.12.0. Upgrade, then retrynpx -y @assurly/mcp-server. - Tools not appearing after install. Restart the client or reload MCP, then confirm the six
assurly_*tools are listed. - Missing API key.
ASSURLY_API_KEY is not set. Create a key in the Assurly dashboard (Settings → API keys) and expose it to this MCP server as ASSURLY_API_KEY. - Invalid or revoked key.
The Assurly API key is invalid or revoked (401). Issue a new key. - Wrong verdict arguments.
Live Lock needs the deployed `url` and the `gitSha` of the commit being deployed. A stored score is not a ship decision.
Pricing
The MCP server is free. Local scans and explaining blockers before deploy are part of the Free tier — the same distribution model as the URL scan.
Paid plans (Pro and OEM) add monitoring, private repos, auto-fix PRs, regression alerts, AI deep review, and the white-label keyed verdict. Pro includes a 3-day free trial. A payment method is required at checkout; cancel before day 3 and you pay nothing.