MCP Server Setup

Connect your AI coding tool to JSGuardian β€” protect files directly from your editor.

Checking plan…

API Keys

Loading…

Install & Configure

1MCP server URLβ€” hosted, no install needed
https://jsguardian.com/api/mcp
2Add to your config~/.claude/settings.json
⚠️ Create or select an API key above β€” the config will auto-fill your key.
{
  "mcpServers": {
    "jsguardian": {
      "url": "https://jsguardian.com/api/mcp",
      "headers": {
        "Authorization": "Bearer jsg_live_YOUR_KEY_HERE"
      }
    }
  }
}
3Restart your editor

Restart Claude Code (quit & reopen), then run /mcp to verify jsguardian appears.

Available MCP Tools

jsguardian_protect_fileProtect a .js file on disk β€” backup always created first
jsguardian_protect_codeProtect a JS code string in memory, no files written
jsguardian_accountCheck plan, KB quota used, file retention & features
jsguardian_list_backupsList backup files in a directory's .jsguardian-backups/ folder
jsguardian_restore_backupRestore a file from a .bak backup

Uninstall

⌨️ CLI

npm uninstall -g jsguardian

πŸ”Œ MCP β€” Claude Code

Open ~/.claude/settings.json and remove the jsguardian entry from mcpServers, then restart Claude Code.

πŸ”Œ MCP β€” Cursor

Open ~/.cursor/mcp.json, remove the jsguardian entry, then restart Cursor.

πŸ”Œ MCP β€” Windsurf

Open ~/.codeium/windsurf/mcp_config.json, remove the jsguardian entry, then restart Windsurf.

πŸ”Œ MCP β€” Continue

Open ~/.continue/config.json, remove the jsguardian object from mcpServers, then reload the VS Code window.

Your API keys remain valid β€” delete them above if no longer needed.