You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**AI-powered visual debugging for React, Vue, Svelte, Preact & Next.js via MCP and ACP.**
10
+
**AI-powered visual debugging for React, Vue, Svelte, SolidJS, Preact & Next.js via MCP and ACP.**
22
11
23
12
DevInspector connects your web app directly to your AI agent. Click any element to instantly send its source code, style, and network context to the AI for analysis and fixing.
24
13
@@ -29,6 +18,7 @@ Works with any MCP-compatible AI client. Supports ACP agents: **Claude Code**, *
npx @mcpc-tech/unplugin-dev-inspector-mcp setup --bundler vite
106
+
```
107
+
108
+
This will:
109
+
- Detect your bundler configuration
110
+
- Add the necessary import
111
+
- Add the plugin to your configuration
112
+
- Create a backup of your config file
113
+
114
+
### Manual Configuration
115
+
116
+
If you prefer to configure it manually:
117
+
91
118
### Vite
92
119
93
120
```diff
94
121
// vite.config.ts
95
122
+import DevInspector from '@mcpc-tech/unplugin-dev-inspector-mcp';
96
-
import react from '@vitejs/plugin-react'; // or vue(), svelte(), preact()
123
+
import react from '@vitejs/plugin-react'; // or vue(), svelte(), solid(), preact()
97
124
98
125
export default {
99
126
plugins: [
@@ -102,12 +129,12 @@ Add DevInspector to your project:
102
129
showInspectorBar: true, // Default: true. Set to false to hide the UI.
103
130
+ autoOpenBrowser: false, // Default: false. Automatically open browser when server starts.
104
131
}),
105
-
react(), // or vue(), svelte(), preact()
132
+
react(), // or vue(), svelte(), solid(), preact()
106
133
],
107
134
};
108
135
```
109
136
110
-
> ⚠️ **Plugin order matters:** Place `DevInspector.vite()`**before**`react()`, `vue()`, `svelte()`, or `preact()`. Otherwise source locations may show `unknown:0:0`.
137
+
> ⚠️ **Plugin order matters:** Place `DevInspector.vite()`**before**`react()`, `vue()`, `svelte()`, `solid()`, or `preact()`. Otherwise source locations may show `unknown:0:0`.
111
138
112
139
#### For Non-HTML Projects (Miniapps, Library Bundles)
113
140
@@ -201,6 +228,22 @@ export default function RootLayout({ children }) {
201
228
202
229
> 💡 **Note:** Webpack and Next.js use a standalone server on port 8888. Run `next dev --webpack` for Webpack mode (Next.js 16+ defaults to Turbopack).
203
230
231
+
## Framework Support
232
+
233
+
### ✅ Fully Supported
234
+
235
+
-**React** - `.jsx` and `.tsx` files (Vite, Webpack, Next.js)
0 commit comments