Turn any website into your personal programmable workspace.
It’s one thing to hide an annoying banner. It’s another to spin up a live Side Panel Output Window, harvest & cache data as you browse, and pipe that data straight into other websites or your AI agent—all written in seconds over MCP without touching a build step.
Prompt-to-Patch via MCP
Connect Claude, Cursor, Windsurf, or Antigravity once. Describe what you want changed or scraped on a site, and your AI calls get_patch_sdk_guide & upsert_cloud_patch to deploy it straight to your browser—zero compiling or extension reloading.
Built-in Side Panel Output Windows
Never fight a website’s broken z-index or Shadow DOM just to render a UI. Call ctx.panel.set(...) to publish pre-styled stats grids, callouts, interactive lists, action buttons, and forms directly into your browser’s Side Panel (Chrome, Edge, Brave, Arc & Firefox).
Save on Site A, Import on Site B
Harvest prices, tickets, watchlists, or notes with ctx.store, tag them with resources (project:alpha, domain:...), and pull that exact data into patches running on completely different websites—or straight into your AI chat.
Build & ship a browser patch in 30 seconds with MCP
You don’t need to memorize the SDK or set up a local bundler to write powerful patches. MonkeyBrain has a built-in Model Context Protocol (MCP) server that teaches your AI coding assistant the entire Patch SDK automatically.
Connect the Stash MCP Server
Add the MonkeyBrain Stash MCP server (https://stash.monkeypatch.cc/mcp) to Claude, Cursor, Windsurf, or Antigravity. When your AI connects, it opens a browser prompt for you to sign in once—no API keys to manage.
Ask for any tool or workflow
Tell your AI what site you’re on and what you want to see, fix, or collect. Your AI automatically calls get_patch_sdk_guide to learn every available ctx.* method and UI component.
sprint-tracker, and highlight tickets over 8 points in pink.”
Live in your browser immediately
Your AI calls upsert_cloud_patch to save the script directly to your monkeybrain-cloud-patches workspace. Refresh the tab (or click ↻ Refresh in the extension) and it’s live across Chrome, Edge, Brave, Arc, or Firefox!
get_patch_sdk_guideupsert_cloud_patchquery_patch_dataupsert_quick_css_ruleThe Side Panel “Output Window” & Scoped Styling
Traditional userscripts force you to hand-roll ugly floating <div> overlays that clash with host websites. In MonkeyPatch, setting usesPanel: true gives your patch a dedicated 📊 Output tab in the Chrome Side Panel with 5 built-in, theme-matched UI primitives—plus automatic scoped CSS injection when you do want to restyle the page.
Display live counters, prices, story points, cache freshness, or latency metrics in crisp cards without writing a single line of HTML.
default · info · highlight)
Surface summaries, warnings, matched URL patterns, or AI-generated notes in styled callout boxes at the top or bottom of your panel.
Render scraped links, discussion threads, or saved items with titles, subtitles, badges, and per-item action buttons (actionId) that trigger callbacks in your script.
Need user input, a filter keyword, or a custom CSS selector override? Render a form in the Side Panel and receive the submitted values in ctx.panel.onAction(...).
Add primary, secondary, or danger buttons to trigger rescans or exports, and call ctx.badge.set(count) to light up the Chrome toolbar icon.
Every patch has a dedicated css field injected into <head> while active and automatically removed when toggled off or navigating away via ctx.onCleanup(...).
// Example code inside your patch's run(ctx):
ctx.badge.set(threads.length);
ctx.panel.set({
title: '🎬 Series & Discussion Finder',
badge: `${threads.length} threads`,
subtitle: ctx.page.pathname,
sections: [
{ type: 'stats', columns: 2, items: [
{ label: 'Episodes Found', value: 10 },
{ label: 'Cache Status', value: 'Fresh (Cached)' }
]},
{ type: 'list', title: 'Matched Episode Discussions', items: threads }
],
actions: [{ id: 'rescan', label: '↻ Refresh Threads', variant: 'primary' }]
});
Collect data on one site. Import & act on it everywhere else.
Normal browser storage (localStorage) traps your data on a single website. With ctx.store, anything a patch saves goes into your private MonkeyBrain cloud—so you can grab data on one website and immediately pull it up on another, set automatic refresh or cleanup timers, or encrypt sensitive items with one flag.
Attach tags like watchlist:pc-build or project:alpha when saving on Site A, then query that exact tag from a patch running on Site B.
Pass staleInSeconds to know when cached data needs a background refresh (doc.isStale), or expiresInSeconds to auto-delete old data.
Pass { encrypted: true } when opening a store namespace and the extension encrypts your data locally before it ever leaves your browser.
Scrape the current page, tag it with watchlist:pc-build, mark it stale after 1 hour, and auto-purge after 30 days:
const store = ctx.store.namespace('deal-scout', { encrypted: true });
await store.set('gpu-rtx-5090', {
title: document.title,
bestPrice: 1999,
sourceSite: ctx.page.domain
}, {
staleInSeconds: 3600, // Needs refresh after 1 hr (doc.isStale)
expiresInSeconds: 30 * 86400, // Auto-deletes after 30 days if untouched
resources: [ctx.page.domainResource, 'watchlist:pc-build']
});
On a completely different site, pull your saved parts list and combine it with live external JSON using ctx.net.getJson() (no CORS errors):
const store = ctx.store.namespace('deal-scout', { encrypted: true });
// Pull everything tagged 'watchlist:pc-build' from other sites:
const savedParts = await store.query({
resource: 'watchlist:pc-build'
});
// Fetch live external data via the background worker (bypasses CORS):
const deals = await ctx.net.getJson(
'https://api.example.com/deals/search.json?q=rtx-5090'
);
Complete ctx Patch SDK Toolbox
Every patch receives ctx inside async run(ctx). Credentials and API tokens stay locked inside the background service worker—never exposed to page scripts.
ctx.panel
Side Panel Output Controller
set(view), clear(), and onAction((actionId, payload) => ...). Renders live dashboards in the 📊 Output tab.
ctx.store.namespace(ns, opts?)
Cross-Site Cloud Store
set(key, data, opts), get(key), query(filter), delete(key). Supports { encrypted: true }, staleInSeconds, and expiresInSeconds.
ctx.net
CORS-Free Background HTTP
getJson(url), getText(url), and fetch(url, init) routed through the Manifest V3 service worker like GM_xmlhttpRequest.
ctx.badge
Tab-Scoped Toolbar Badge
set(countOrText, { backgroundColor, textColor }) and clear(). Multiple active patches on a tab automatically sum numeric counts.
ctx.page
URL & Resource Tag Helpers
url, domain, origin, pathname, urlResource, domainResource, and defaultResources(extra?).
ctx.onCleanup(fn)
SPA Navigation & Toggle Teardown
Registers cleanup callbacks so observers, intervals, badges, and injected DOM drawers tear down cleanly on route changes.
Simple, transparent pricing
Start free forever with full MCP access, Side Panel Output windows, and 5 Cloud Patches. Upgrade anytime when your patch library or data stash grows.
- 5 Cloud Patches synced across Chrome, Edge, Brave, Arc & Firefox
- 10 MB Cloud Stash (
ctx.storeJSONB storage) - Full MCP Server Access (Claude, Cursor, Windsurf, Antigravity)
- Side Panel Output Windows, Badges & Quick Notes
- Unlimited Cloud Patches across all websites
- 500 MB Cloud Stash (50× more cross-site data storage)
- Full MCP Server Access + Client-Side E2EE (
encrypted: true) - Priority Sync & direct indie developer support