Wiro Extension Core: Shared Code of the Wiro AI Browser Extensions
Sign-in, the Wiro MCP client, the right-click action catalog, the model gateway, pricing and the panel UI, shared by the Wiro AI extensions for Chrome, Edge, Opera, Whale, Firefox and Safari.
Install Chrome Extension · Install Firefox Add-on · Install on Naver Whale
Website · Models · Docs · Dashboard
Wiro Extension Core is the part of the Wiro AI browser extensions that does not depend on the browser. Each browser repo includes it as the core/ git submodule and adds a small platform adapter, so a fix or a new action reaches every browser at once.
Used by
| Repository | Browsers |
|---|---|
| Wiro-Chromium-Extension | Chrome, Edge, Opera, Whale, Brave and other Chromium browsers |
| Wiro-Firefox-Extension | Firefox 140 and later |
| Wiro-Safari-Extension | Safari 16.4 and later on the Mac |
Install Wiro AI from the Chrome Web Store (Chrome, Brave, Vivaldi, Arc), the Naver Whale Store (Whale) or Firefox Add-ons (Firefox).
What is inside
src/auth: sign-in with a Wiro account through the OAuth 2.1 server atmcp.wiro.ai(PKCE, refresh, revoke). No API key in the browser.src/mcp,src/wiro: a small client for the stateless MCP endpointhttps://mcp.wiro.ai/v1and the Wiro tools the extension uses.src/catalog: the right-click actions. Every action points at Wiro model categories, never at fixed models, and the models come live from each category. The extension ships with a built-in action list and uses the one on wiro.ai when that loads.src/gateway: maps one set of inputs (the clicked file, the prompt, length, quality, shape) onto each model's own parameter names, so every model in a category works with the same panel.src/pricing: the price on the run button, worked out from the model's price rows the way Wiro bills a run, or from its price summary.src/ui: the panel (Preact). The browser repos show it in a side panel, a sidebar, a popup or a tab.src/platform.ts: the interface each browser implements.
How a run works
- A right-click hands the background the clicked item: its address, the selected text or the page address.
- The action's categories load their models live from Wiro, sorted by price, popularity or date.
- The gateway fills the chosen model's parameters from the shared inputs and asks only for what is still missing.
- The panel shows the price for the settings chosen, before the run.
- The run goes through the Wiro MCP server; the panel follows it and shows the result, which you can download, copy or keep in the tray.
Platform adapter
A browser repo implements Platform from src/platform.ts:
| Member | What it does |
|---|---|
storage, session |
key-value storage that lasts across restarts, and one that lasts while the browser runs |
redirectUri() |
the OAuth redirect address this browser can catch |
launchAuth(url) |
opens the sign-in window and returns the address the server redirected to; Safari finishes the sign-in in a tab instead |
openTab(url) |
opens a link in a new tab |
name, version, clientName |
the browser, the extension version and the name shown on the Wiro consent page |
Development
Requires Node.js 22 or later.
npm install
npm test
npm run typechecktest/harness/ renders the panel in headless Chrome against a local stand-in for the Wiro MCP server, using Wiro's public model catalog, and saves a screenshot per step. Usage is at the top of drive.mjs and mock-mcp.mjs.
More from Wiro AI
| Repository | What it is |
|---|---|
| Wiro-Chromium-Extension | Wiro AI extension for Chrome, Edge, Opera, Whale and Brave |
| Wiro-Firefox-Extension | Wiro AI add-on for Firefox |
| Wiro-Safari-Extension | Wiro AI extension for Safari on the Mac |
| Wiro-MCP | Official MCP server for Wiro AI, @wiro-ai/wiro-mcp on npm |
| Wiro-Plugin | Wiro AI plugin for Cursor, Claude Code, Gemini CLI, Devin, Antigravity and Kiro |
| Wiro-Skills | Agent skills for images, image edits, video, music, speech, transcripts, 3D and model search |
| Wiro-LLM | Vercel AI SDK provider for chat, images, speech, transcription and video |
| Swift-QuickStart | WiroKit, the Wiro AI SDK for iOS |
| Kotlin-QuickStart | WiroKit, the Wiro AI SDK for Android |
| Dart-QuickStart | Wiro AI SDK for Dart and Flutter, wiro on pub.dev |
| ReactNative-QuickStart | Wiro AI SDK for React Native and Expo, @wiro-ai/wiro-react-native on npm |
| Swift-Realtime | Realtime voice AI example for iOS |
| Kotlin-Realtime | Realtime voice AI example for Android |
| Dart-Realtime | Realtime voice AI example for Flutter |
| ReactNative-Realtime | Realtime voice AI example for React Native |
| n8n-nodes-wiro | One Wiro AI node for n8n with a searchable model picker, @wiro-ai/n8n-nodes-wiro on npm |
| Wiro-Dify-Plugin | Wiro AI plugins for Dify: the LLM gateway as a model provider, plus image, video, speech and music tools |
| Wiro-ComfyUI | Wiro AI nodes for ComfyUI |
| Wiro-Hermes | Wiro AI plugins for Hermes Agent: image, video, audio and 3D tools, plus the LLM gateway as a model provider |
| Wiro-Zed | Wiro AI MCP server extension for Zed |
| Wiro-Action | GitHub Action for Wiro AI models and the LLM gateway, on the GitHub Marketplace |
| Wiro-Raycast | Wiro AI extension for Raycast: image and video generation, LLM chat and model search |
| Wiro-WordPress | Wiro AI plugin for WordPress: featured images, image edits, alt text, narration and SEO suggestions |
| Wiro-Obsidian | Wiro AI plugin for Obsidian: images, video, speech, music, transcription and text tools |
| Wiro-Blender | Wiro AI add-on for Blender: text to 3D, image to 3D and textures |
| Wiro-Figma | Wiro AI plugin for Figma: images, vectors, image edits and text |
| Wiro-Next-Starter | Next.js starter for Wiro AI: Playground, image, video and audio tools, and LLM chat, ready for Vercel and Railway |
| Wiro-Docs | Source of the Wiro AI API docs |
| wiroai.github.io | Every open-source project from Wiro AI on one page, with a page for each repository |
License
MIT, see LICENSE.









