Mida MCP

Sagen Sie Ihrem Agenten, er soll den Test durchführen

Tag installieren, Variante erstellen, Ergebnis auslesen. Die Aufgaben, die Sie sonst im Dashboard zusammenklicken, übernimmt der Agent, mit dem Sie ohnehin programmieren.

In Claude Code öffnen
In Codex öffnen
den Setup-Prompt
Set up Mida A/B testing in this project. Work through these in order, and stop to ask me whenever something is ambiguous.

1. Check I have a Mida account. If I do not, send me to https://app.mida.so/sign-up and wait for me to finish — creating the account is my job, not yours.

2. Connect the Mida MCP server so you can read and write my experiments directly. The endpoint is https://mcp.mida.so/mcp over streamable HTTP with browser authorization. In Claude Code: claude mcp add --transport http mida https://mcp.mida.so/mcp
   Once connected, call select_project before any other Mida tool, or every call returns 404. list_projects returns a project_key for each of my projects — that value IS the key the tag needs in step 3, so read it from there rather than asking me to copy it out of the dashboard.

3. Work out where this site actually lives before you change anything: a codebase you can edit, or a hosted platform I log into. Check the repo if there is one, and check the live page. Tell me what you found.

4. Get the tag from Mida rather than assembling it. Call the get_install_snippet MCP tool — it returns the finished tag with the region-correct host and my real project key already substituted, and you paste that exactly. This is the shape, not the value:
   <script type="text/javascript" async src="https://CDN_HOST/js/optimize.js?key=PROJECT_KEY"></script>
   CDN_HOST is cdn-eu.mida.so for an EU account and cdn.mida.so otherwise. The tag reads its API region from the host it was loaded from, so a hand-assembled tag with the wrong host installs cleanly and then silently finds no experiments. If that tool is not available, take the whole snippet from the install page in my dashboard, or ask me which region I am on.

5. Install it the way that suits where the site lives, and tell me which path you took and why:
   - A codebase: put the tag in <head>, as high as possible, and do not defer it — variants have to apply before first paint or the page will flicker. On server-rendered pages where you want zero flicker, use a server-side SDK instead — mida-node, mida-nextjs, mida-php, or mida-python. Docs: https://docs.mida.so/docs/server-side/sdks
   - A hosted platform that has its own MCP server: connect it and install through it, so I never have to paste code. Prefer the platform's remote MCP endpoint with browser authorization over a local setup with an API token — some platforms only allow their custom code endpoints for apps authorized that way, so a token setup can fail on the exact call you need. Register the tag as site-wide custom code in the head, apply it to the site, then publish if that platform needs a publish for custom code to go live. Ask me first if the site is live.
   - A hosted platform with no MCP server: do not try to click your way through the admin UI. Tell me exactly where the tag goes on that platform, give me the tag, and wait for me.

6. Verify it before you call this done. Load a page and confirm the script fetches, the project key is correct, and a pageview reaches Mida. If a tag manager, a consent gate, or a script optimizer such as WP Meteor is rewriting or deferring the tag, say so plainly — any of those will silently stop it working.

7. Do not create a test yet. Report what you installed, then ask me what I want to test first. When I tell you, build it from selectors you have read in my actual markup — never guess at something like "h1".

Öffnet die App, sofern sie installiert ist. Kopieren Sie bei Cursor, Windsurf, VS Code oder Gemini CLI stattdessen den Prompt.

Ein Agent ist nur so gut wie die Plattform, auf der er aufbaut

Eine Variante zu schreiben ist der leichte Teil, und genau das kann inzwischen jedes KI-Tool. Schwierig wird es auf der Seite und in der Mathematik: Ein Test, der flackert, Varianten im Browser zuweist oder einen Gewinner nicht vom Rauschen unterscheiden kann, liefert Ihrem Agenten eine selbstsichere, aber falsche Antwort. Genau daran arbeiten wir seit Jahren.

~15KB

Kein Flackern, um das Sie herumplanen müssen

Der Tag ist klein und wendet Varianten vor dem ersten Rendern an, sodass Ihr Agent keine Anti-Flicker-Hacks schreiben muss, um ein langsames Skript zu verstecken.

Serverseitig

Variantenzuweisung, die Ihr Agent nicht verfälschen kann

Zuweisung und Multi-Armed-Bandit-Allokation erfolgen auf unserer Seite, nicht in Client-Code, den ein Agent umschreiben könnte. Die Aufteilung, die Sie konfiguriert haben, ist die Aufteilung, die Sie erhalten.

Bayesianisch

Zahlen, die er zitieren kann, statt sie zu erfinden

Mida liefert die Statistiken, sodass der Agent ein Ergebnis berichtet, statt die Signifikanz auf einem Schmierzettel zu berechnen und zu Ihren Gunsten zu runden.

59 Tools, nicht nur ein Chatfenster

Mida MCP stellt das Dashboard als Tools bereit, die Ihr Agent direkt aufruft. Lesezugriffe stehen jedem verbundenen Client offen; alles, was ein laufendes Experiment verändert, ist durch Ihre eigene Rolle abgesichert.

Richtig installieren

Das Einzige, was ein Agent nicht selbst herausfinden kann, ist die Region, in der Ihr Konto liegt. Er fragt nach, statt einen CDN-Host zu raten und einen Tag zu installieren, der stillschweigend nichts meldet.

get_install_snippet list_projects get_project_configuration

Tests als Entwürfe erstellen, nicht als Überraschungen

Ihr Agent legt das Experiment an, definiert das Ziel und liefert für jede Variante eine Vorschau-URL zurück. Es wird kein Traffic ausgespielt, bis Sie es erlauben.

create_experiment create_goal generate_preview_url

Ergebnisse lesen, ohne sie neu herzuleiten

Expositionen, Conversions, Credible Intervals und Aufteilungen pro Variante kommen als Daten zurück. Eine Variante ohne Traffic wird als Fehler gewertet, nicht als Niederlage.

get_experiment_result compute_experiment_statistics get_experiment_distribution

Wissen, was Sie bereits getestet haben

Bevor sie zum dritten Mal denselben Headline-Test vorschlägt, kann sie Ihren bisherigen Verlauf prüfen und nachsehen, wie dieses Muster auf Websites wie Ihrer abgeschnitten hat.

get_my_testing_history get_testing_benchmarks find_similar_tests

Bringen Sie Ihren eigenen Agenten mit

Ein Remote-MCP-Server, im Browser mit Ihrem Mida-Konto autorisiert. Keine API-Schlüssel zum Einfügen, kein zusätzlicher Seat zu kaufen.

Geben Sie Ihrem Agenten etwas zu testen

100.000 getestete Nutzer pro Monat im kostenlosen Tarif, der MCP-Server ist inklusive. Verbinden Sie ihn, richten Sie Ihren Agenten auf eine Seite und sehen Sie, was dabei herauskommt.

Keine Kreditkarte. Der Agent übernimmt das Setup.