MCP integration widget: connect your users to their AI agent
A public, embeddable panel that shows an Ovenfo product's MCP server URL, the authorization (OAuth) note and step-by-step instructions for each AI client, with copy buttons. Spanish and English, light or dark theme, no sign-in. You add it with one script and one tag.
- 2 linesone script and one tag; no framework or build step on your site
- No sign-inthe data comes from a public product registry
- Shadow DOMno CSS leaking in or out of your page; no cookies
What it is
Each product's data (URL, server, OAuth issuer, guide) is read from the public registry https://cdn.ovenfo.com/mcp-connect/products.json, so the panel stays current without changes to your site.
Server URL with a copy button
The product's MCP server address, ready to paste into the AI client.
Authorization note
Explains the product's authorization page: the agent never receives the password and only uses what the user's profiles allow.
Steps per AI client
Claude Code, Claude Desktop, ChatGPT, VS Code, Cursor, Gemini CLI, Codex, Antigravity, Windsurf, Cline, Zed, Grok and a generic block, with copyable commands and configuration files and a link to the official documentation.
Spanish and English, light and dark
It reads the language and theme of your page, or you set them with attributes. Theme changes are followed live.
How to embed it
Load the script once and place the element where the panel should appear. Change product to the key of the product.
Add the script
A
scripttag withasync. It is a tiny loader: it downloads nothing else until the panel is near the screen.Place the element
Use
ovn-mcp-connectwith theproductattribute. All other attributes are optional.Optional: fallback content
Anything you put inside the element is shown while the registry loads, if it fails, or when JavaScript is off.
<script src="https://cdn.ovenfo.com/mcp-connect.js" async></script>
<ovn-mcp-connect product="school" lang="en"></ovn-mcp-connect> <ovn-mcp-connect
product="builder"
lang="en"
theme="dark"
clients="claude-code,cursor,vscode"
client="cursor"
name="Acme Builder"
guide="none"
accent="#0a6cff"
></ovn-mcp-connect> If the page includes the script more than once, the first copy stays in charge. Elements added later (for example in a single-page app) are activated too.
Live example
This is the real widget, with product="builder". Pick an AI client to see its steps. Without JavaScript the fallback content stays, as you can see in the source: the URL and the Claude Code command.
https://app.builder.ovenfo.com/mcp claude mcp add --transport http ovenfo-builder https://app.builder.ovenfo.com/mcp Instructions for more AI clients, with JavaScript on.
See the code of this example
<ovn-mcp-connect product="builder" lang="en">
<p>MCP server URL: https://app.builder.ovenfo.com/mcp</p>
<pre><code>claude mcp add --transport http ovenfo-builder https://app.builder.ovenfo.com/mcp</code></pre>
</ovn-mcp-connect> Attributes
All of them can change later; the panel redraws.
| Attribute | Values | Default | What it does |
|---|---|---|---|
product required | A registry key (see the product list). | None. | The product whose server is shown. If the key is unknown, the fallback content stays. |
lang | es, en | The lang of the closest ancestor or of html: es* gives Spanish, anything else English. | Panel language. |
theme | auto, light, dark | auto: the closest data-theme or data-bs-theme; otherwise prefers-color-scheme. | Panel theme; auto follows the changes of your page. |
clients | Comma-separated list of client ids. | All of them, in the order of the clients table. | Which clients are offered and in what order. Unknown ids are ignored. |
client | One client id. | The first of the list. | Client selected on load. |
name | Text. | The product name in the registry. | Name shown in the texts; useful for white-label sites. |
guide | none or an https URL. | The product guide in the registry. | With none the link to the full guide is hidden; with a URL it is replaced. |
accent | A CSS color. | None. | Shortcut: sets --ovn-mcp-primary and --ovn-mcp-accent when your site has no CSS of its own. An invalid color is ignored. |
Available products
Valid values of product. The registry is the single source of truth.
| Key | Product |
|---|---|
builder | Ovenfo Builder |
aiagent | Ovenfo AI Agent |
blog | Ovenfo Blog |
factory | Ovenfo Factory |
habitancy | Ovenfo Habitancy |
marketing | Ovenfo Marketing |
payment | Ovenfo Payment |
school | Ovenfo School |
transport | Ovenfo Transport |
yard | Ovenfo Yard |
A product appears in the registry only when it publishes its authorization metadata; products without a connector are not listed yet.
AI clients
Ids for the clients and client attributes, in the default order.
| Id | Client |
|---|---|
claude-code | Claude Code |
claude-desktop | Claude Desktop and claude.ai |
chatgpt | ChatGPT |
vscode | VS Code (GitHub Copilot) |
cursor | Cursor |
gemini-cli | Gemini CLI |
codex | Codex CLI |
antigravity | Antigravity |
windsurf | Windsurf |
cline | Cline |
zed | Zed |
grok | Grok |
generic | Other MCP client |
Styling and palette
The panel lives in a Shadow DOM: your CSS does not affect it, except for these custom properties, which are inherited. Map them to your own site variables and the panel adopts your palette, in light and dark, because your variables switch with the theme. Any property you leave unset uses the built-in neutral palette.
| Property | Controls |
|---|---|
--ovn-mcp-primary | Selected client tab and copy buttons (filled). |
--ovn-mcp-on-primary | Text and icons on the primary color. |
--ovn-mcp-accent | Links, focus ring, URL text and step numbers. Use a color that is readable as text. |
--ovn-mcp-bg | Panel background. |
--ovn-mcp-code-bg | Code blocks and unselected tabs. |
--ovn-mcp-fg | Text color. |
--ovn-mcp-muted | Secondary text and captions. |
--ovn-mcp-border | Borders and dividers. |
--ovn-mcp-radius | Corner radius. |
--ovn-mcp-font | Font family; if unset it inherits your page font. |
ovn-mcp-connect {
--ovn-mcp-primary: var(--brand);
--ovn-mcp-on-primary: var(--on-brand);
--ovn-mcp-accent: var(--brand-text);
--ovn-mcp-bg: var(--surface);
--ovn-mcp-code-bg: var(--surface-2);
--ovn-mcp-fg: var(--text);
--ovn-mcp-muted: var(--muted);
--ovn-mcp-border: var(--border);
--ovn-mcp-radius: 10px;
} :root {
--ovn-mcp-primary: #0a6cff;
--ovn-mcp-on-primary: #ffffff;
--ovn-mcp-accent: #0a56c9;
}
:root[data-theme="dark"] {
--ovn-mcp-primary: #47d1ff;
--ovn-mcp-on-primary: #14161a;
--ovn-mcp-accent: #47d1ff;
} Keep enough contrast (WCAG AA) between each text and its background. This site uses exactly this mapping with its own variables.
CSP requirements
If your site sets a content security policy (CSP), the widget needs only the following.
script-src and connect-src
Both must allow
https://cdn.ovenfo.com: the script and its modules, and reading theproducts.jsonregistry.style-src
Angular adds styles inside the Shadow DOM: allow
style-src 'unsafe-inline'or, better, put anonceon the script tag (or acsp-noncemetatag) and use that nonce instyle-src.Nothing else
It needs no
img-src,font-src,frame-srcormedia-src. Links to guides and documentation only navigate; the widget does not fetch them.Clipboard in iframes
A top-level page needs no Permissions-Policy. Inside an iframe, add
allow="clipboard-write"to the iframe so the copy buttons work (without it, a fallback method is used).
Content-Security-Policy: script-src 'self' https://cdn.ovenfo.com; connect-src 'self' https://cdn.ovenfo.com; style-src 'self' 'unsafe-inline' Content-Security-Policy: script-src 'nonce-{NONCE}' https://cdn.ovenfo.com; connect-src 'self' https://cdn.ovenfo.com; style-src 'nonce-{NONCE}'
<script src="https://cdn.ovenfo.com/mcp-connect.js" async nonce="{NONCE}"></script> <iframe src="https://example.com/page-with-the-widget" allow="clipboard-write" title="Connect your AI agent"></iframe> Accessibility and performance
Lazy loading
The loader weighs under 4 KB gzipped and does nothing until the panel is within 600 px of the screen; then it downloads the core (under 90 KB gzipped).
Accessible
Keyboard client picker (arrows, Home and End), tabs with ARIA roles, visible focus, AA contrast in both themes, an
aria-liveannouncement on copy andprefers-reduced-motionrespected.Isolated and private
Shadow DOM, no global styles, no cookies, no storage, no analytics and no external fonts. It never throws on your page.
No layout jumps
Reserve some space and put the fallback content inside the element: the page is complete without JavaScript and crawlers read it.
Frequently asked questions
Does the visitor need to sign in to see the panel?
No. The panel only shows public registry data. Authorization happens later, in their AI client, with their product account.
What happens without JavaScript, or if the registry does not answer?
The content you placed inside the element stays visible. With no content and an error, the panel shows a short message.
Can I use it on a white-label site?
Yes: name changes the displayed name, guide replaces or removes the guide link and the --ovn-mcp-* properties adapt the colors.
Does it work inside an iframe?
Yes. Add allow="clipboard-write" to the iframe so the copy buttons use the clipboard; without that permission a fallback method is used.
Why is my product not listed?
The registry includes the products that already publish their authorization metadata. If the key is unknown, the panel leaves your fallback content in place.
Connect your AI agent to the Builder
Create your free account and follow the guide, or embed the widget in your own site.