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 firstjsguardian_protect_codeProtect a JS code string in memory, no files writtenjsguardian_accountCheck plan, KB quota used, file retention & featuresjsguardian_list_backupsList backup files in a directory's .jsguardian-backups/ folderjsguardian_restore_backupRestore a file from a .bak backupUninstall
β¨οΈ 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.