Connect Cursor to UAI x402 MCP
Install links in cloud-agent chat do not open Cursor. Use one of the methods below on your Mac.
Method 1 — Cursor Settings (recommended)
- Open Cursor on your Mac (desktop app).
- Go to Settings → Tools & MCP.
- Click Add new MCP server (or edit
mcp.json). - Add server name
uai-x402-securitywith URL:
https://x402-hono-api.inraby.workers.dev/mcp
Save, then run Command Palette → Developer: Reload Window.
Method 2 — Mac Terminal (one command)
Paste this in Terminal.app on your Mac:
open 'cursor://anysphere.cursor-deeplink/mcp/install?name=uai-x402-security&config=eyJ1cmwiOiJodHRwczovL3g0MDItaG9uby1hcGkuaW5yYWJ5LndvcmtlcnMuZGV2L21jcCJ9'
Cursor should open an Install dialog. Click Install.
Method 3 — Paste into mcp.json
Create or edit ~/.cursor/mcp.json on your Mac:
{
"mcpServers": {
"uai-x402-security": {
"url": "https://x402-hono-api.inraby.workers.dev/mcp"
}
}
}
Reload Cursor after saving.
Method 4 — Project config (if repo is open locally)
This repo includes .cursor/mcp.json. Pull latest main, reopen the project, and reload Cursor.
Verify
- Settings → Tools & MCP →
uai-x402-securityshows green/connected - Try the free
catalogtool in Agent chat - Health: /health · Catalog: /api/v1/catalog