What do you want to do?
3 use cases
-
Verify a bug fix by reading live component state
Let an agent read and check a running app's component state after a fix, without editing source files.
- Medula
- Software and DevOps
- Intermediate
View prompt
Using the medula MCP tools from the medula repo, connect to the running dev server for <app-port> and list the components on the current page with their state. Expected output: a list of components with their state values. Verify that the values match what the open browser tab shows.
-
Test cart edge cases by editing live state
Set state values in a running app to reproduce edge cases that are hard to build in automated tests.
- Medula
- Software and DevOps
- Intermediate
View prompt
Using the medula MCP tools from the medula repo, connect to the running dev server for <app-port> and set the cart quantity to <quantity>. Expected output: the cart state after the change and the total it produces. Verify that the total shown in the browser tab matches the value the agent reports.
-
Inspect Vue Pinia stores and walk routes with an agent
Let an agent read Pinia store state and open Vue Router routes in a running Vue app.
- Medula
- Software and DevOps
- Intermediate
View prompt
Using the medula MCP tools from the medula repo, connect to the running Vue dev server for <app-port>, read the state of the Pinia store named <store-name>, then open the route <route-path>. Expected output: the store state and the route the page now shows. Verify that the page displays the same route the agent reports.
How to use Medula
- Check you have what it needs: A web app built with Vue 3, React, Svelte 5, or Solid, run through Vite 8, Nuxt (with Nuxt DevTools 4), or Next.js (App Router); pnpm and Node.js available to install the package; An MCP-capable coding agent to connect to devframe.
- Open posva/medula on GitHub and read the README and license.
- Install Medula and Vite DevTools with
pnpm add -D medula @vitejs/devtools. - In vite.config.ts, set
devtools: trueand addmedula()next to your framework plugin. - Add the MCP server to your agent's configuration with command
npxand argsdevframe connect. - Start your dev server, open the app in your browser, and complete any DevTools connection code prompt.
These steps come from our top use case, Verify a bug fix by reading live component state, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forWeb developers and their AI coding agents who need to verify fixes or explore edge cases in a live app running on Vite, Nuxt, or Next.js.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/posva/medula · Back to Hot repos
Requirements
- A web app built with Vue 3, React, Svelte 5, or Solid, run through Vite 8, Nuxt (with Nuxt DevTools 4), or Next.js (App Router)
- pnpm and Node.js available to install the package
- An MCP-capable coding agent to connect to devframe
- A browser tab open to the running app
Maintain Medula? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/posva-medula/?ref=badge)
Questions about Medula
What is Medula?
medula is a headless devtools package that lets a coding agent inspect and change the internal state of a running web app through MCP. It is an open-source project on GitHub: https://github.com/posva/medula.
Who is Medula for?
Web developers and their AI coding agents who need to verify fixes or explore edge cases in a live app running on Vite, Nuxt, or Next.js.
What can I do with Medula?
3 use cases so far, for example: Verify a bug fix by reading live component state; Test cart edge cases by editing live state; Inspect Vue Pinia stores and walk routes with an agent. Each has steps and a copy-paste agent prompt.
What do I need to run Medula?
A web app built with Vue 3, React, Svelte 5, or Solid, run through Vite 8, Nuxt (with Nuxt DevTools 4), or Next.js (App Router); pnpm and Node.js available to install the package; An MCP-capable coding agent to connect to devframe; A browser tab open to the running app.
What are alternatives to Medula?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Medula safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.