🐒 Developer & Monkey Builder Portal

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.

⚡ Zero-Build Workflow

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.

1

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.


          
2

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.

💡 Example Prompts Ideas you can ask your AI to build
“Build a patch for Hacker News that counts stories by domain, sets the toolbar badge, and renders a clickable top-domains leaderboard in the Side Panel Output window.”
“On our Jira board, scrape the active sprint ticket IDs and story points, save them to MonkeyBrain under sprint-tracker, and highlight tickets over 8 points in pink.”
3

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!

MCP Spec Toolget_patch_sdk_guide
Deploy Toolupsert_cloud_patch
Data Query Toolquery_patch_data
Quick CSS Toolupsert_quick_css_rule
📊 Pre-Styled UI Engine

The 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.

type: 'stats' Multi-Column Metric Grids (2, 3, or 4 cols)

Display live counters, prices, story points, cache freshness, or latency metrics in crisp cards without writing a single line of HTML.

type: 'text' Toned Callout Banners (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.

type: 'list' Interactive Action Lists & Per-Row Buttons

Render scraped links, discussion threads, or saved items with titles, subtitles, badges, and per-item action buttons (actionId) that trigger callbacks in your script.

type: 'form' Live Side Panel Forms (Inputs, Textareas & Selects)

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(...).

actions + ctx.badge Footer Action Bar & Toolbar Counter Badges

Add primary, secondary, or danger buttons to trigger rescans or exports, and call ctx.badge.set(count) to light up the Chrome toolbar icon.

css + DOM Cleanup Auto-Scoped In-Page CSS & SPA Teardown

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 Patch Concept What you could build with ctx.panel
MonkeyPatch Side Panel · 📊 Output usesPanel: true
🎬 Series & Discussion Finder
/watch/severance-s2 · Custom Patch Example
4 threads
EPISODES FOUND
10
CACHE STATUS
Fresh (Cached)
MATCHED EPISODE DISCUSSIONS
S02E01 Official Discussion
Community Forum · ▲ 1.4k · 💬 890
Open ↗
Episode 1 Easter Eggs & Lore
Community Forum · ▲ 620 · 💬 215
Open ↗
// 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' }]
});
🔄 Cross-Site Memory & Data Piping

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.

🏷️ Tag & Query Across Sites

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.

⏱️ Auto-Refresh & Auto-Purge

Pass staleInSeconds to know when cached data needs a background refresh (doc.isStale), or expiresInSeconds to auto-delete old data.

🔒 1-Line End-to-End Encryption

Pass { encrypted: true } when opening a store namespace and the extension encrypts your data locally before it ever leaves your browser.

💡 Example Cross-Site Workflow Saving PC part prices on a store site and comparing them against live deals on another site
1. Save Data on Site A (e.g. a Store Page) Example Code

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']
});
2. Import on Site B + Fetch External APIs Example Code

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.

Open Cloud Patch Studio →
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.

💎 Free Forever + Indie-Friendly Pro

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.

Free Forever Default
$0 / forever
  • 5 Cloud Patches synced across Chrome, Edge, Brave, Arc & Firefox
  • 10 MB Cloud Stash (ctx.store JSONB storage)
  • Full MCP Server Access (Claude, Cursor, Windsurf, Antigravity)
  • Side Panel Output Windows, Badges & Quick Notes
Get started free
⚡ MonkeyBrain Pro Save 50% Yearly
$24 / year
Just $2/month, billed yearly · or $4/month monthly
  • 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
Get Pro — $24/year →