DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to inspect Vue Pinia stores and walk routes with an agent with Medula

Let an agent read Pinia store state and open Vue Router routes in a running Vue app.

Short answer: Install Medula and Vite DevTools with pnpm add -D medula @vitejs/devtools; then in vite.config.ts, set devtools: true and add medula() next to vue() in plugins; add the MCP server to your agent's configuration with command npx and args devframe connect. All steps.

Who it is forA Vue 3 developer whose bug depends on Pinia store values or a specific route, and who wants an agent to check both on the running app.

The problemReproducing a bug that depends on store contents or a deep route means navigating the app manually and reading state from browser tools.

The outcomeThe agent reads the Pinia store values, moves the app to the requested Vue Router route, and reports what it finds.

What you need first

  • 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

Steps

  1. Install Medula and Vite DevTools with pnpm add -D medula @vitejs/devtools.
  2. In vite.config.ts, set devtools: true and add medula() next to vue() in plugins.
  3. Add the MCP server to your agent's configuration with command npx and args devframe connect.
  4. Start your dev server, open the app in your browser, and complete any DevTools connection code prompt.
  5. Ask the agent to read a Pinia store or open a named route, then compare the result with the page.

Prompt for your agent

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.

Caveat. Pinia and Vue Router support is listed only for Vue apps, so this use case does not apply to React, Svelte, or Solid projects.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for posva/medula and "Inspect Vue Pinia stores and walk routes with an agent"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer