About Vite Devtools Svelte
Vite Devtools Svelte is an MCP server published by sveltejs in the Developer Tools category: svelte 5 DevTools for Vite: component and reactivity inspection with MCP access, standalone or in the Vite DevTools dock. Conduid read 21 tools from its source: compare_sessions, delete_session, end_session, get_capture_info, get_component_hotspots, get_component_relations and 15 more. No package is published for it, so it installs from a source checkout.
The repository has 65 stars and 5 forks, and its last commit was on 24 Nov 2026. Conduid has no tagged release on record for it. Its topics include debugging, devtools, svelte, svelte5, sveltekit and vite.
Install
git clone https://github.com/sveltejs/vite-devtools-svelteTools (21)
compare_sessionsDiff render / load / fps metrics between two ended sessions. Each section carries `verdict`: improved | regressed | unchanged.delete_sessionRemoves a session from memory and disk.end_sessionCloses the active session and returns its delta. `keep` decides disposal: "memory" keeps it for this dev-server lifetime, "disk" writes to node_modules/.vite-devtools-svelte/sessions/, "discard" deletes it. `delta.fps.drops` counts samples below ${PANEL_FPS_DROP_LINE} fps, the line the FPS panel draws; list_performance_issues and get_fps_drops default to ${DEFAULT_FPS_DROP_THRESHOLD}.get_capture_infoPer dataset: captured count, total (null = unknown), truncated, selection policy and dropped counts by reason. Read this before drawing conclusions from capped data.get_component_hotspotsTop components by total render time, with render count and per-render average.get_component_relationsStatic import relations between .svelte components.get_fps_dropsSamples whose FPS fell below `threshold` (default ${DEFAULT_FPS_DROP_THRESHOLD}). Returns timestamp + fps for each.get_live_componentsComponent instances with file, parent, mounted status as currently mounted in the browser (an array, parents first). With `includeMeta: true` the answer is `{ epoch, total, captured, truncated, components }` instead, limited to `limit` (default 1000): component ids are only valid within that `epoch` (one page load), so pass both to get_reactive_scope.get_load_waterfallLoad profiles grouped by route, with timing and data size. Optionally filtered by route.get_project_infoPackage name/version, Svelte / SvelteKit / Vite versions, dependency lists.get_reactive_graph_problemsClassified reactive graph issues: over-connected effects, orphan deriveds (declared but never evaluated so far — may still be read later, e.g. in a branch not shown yet), isolated nodes (no tracked dependency or reader; reads from the markup count as readers). Returns categories instead of the full graph.get_reactive_scope$state/$derived/$effect nodes of one component instance and their direct neighbours, built in the app within the caps. Edges mean 'can affect' (current dependencies), not a recorded cause. `componentId` requires the `epoch` it came from (get_live_components with includeMeta): after a reload the answer is empty with staleReason 'epoch-changed' instead of another instance. Omit componentId only for the whole-app graph (capped; see total/truncated). The same request may be answered from a cache for up to 1 s; `computedAt` says when the app built the graph (null when unknown or for an empty fallback). `stale: true` only marks a fallback after the app did not answer (an earlier answer with its own computedAt, or empty).get_reactive_summaryBusiest live component instances from runtime counters over all instances, without capturing the graph. Counts are totals since each instance was registered: sampled state changes (at most one per state per 200 ms, observed only while a DevTools client or MCP lease is active) and renders, not rates; `lastActiveAt` is when the instance last changed or rendered. A destroyed instance leaves with its counters. Rows rank by changes, then renders, then render time, then most recently active. Tracked: state created during component init and shared state of .svelte.js/.ts modules (rows with kind "module"; their componentId is a module scope id, usable with get_reactive_scope). `rows` + `other` add up to the totals; null means unknown. Use get_reactive_scope with a componentId to look at one instance. The same request is answered from a cache for up to 1 s; `computedAt` says when the answer was computed.get_render_profileReturns render profile entries matching the given component file (substring match).get_routesStatic analysis of the SvelteKit routes tree.get_state_timelineSampled $state changes (200 ms) after `since` (the cursor from the previous call). Contains values of state in the running app. `reset: true` means the cursor was stale and this is the whole buffer. At most `limit` newest entries are returned; `omitted` counts older ones in the range that were left out. Values larger than `maxValueChars` (JSON) are replaced by a size summary. Timestamps are detection times, so order within about a second is not causal.list_dev_serversDev servers running with the vite-devtools-svelte plugin on this machine, and which one the other tools use when `server` is omitted.list_performance_issuesCross-cuts render/reactive/load/fps metrics and returns ranked issues. The entry point for AI-driven performance audits. Each issue carries `suggestedTool` naming the detail tool to call next.list_sessionsIn-memory + on-disk sessions, most recent first.load_sessionReturns the full session record (including delta if ended) by id.start_sessionBegin capturing metrics under a labelled session. Required before compare_sessions. Set `persist:true` to write to disk on end; otherwise the session lives in memory only.Security checks
6 checks have not been run yet.