
Devtools MCP Server
MCP server exposing Foldkit DevTools to AI agents (Claude Code, Cursor, etc.)
context tax
~4,369 tok/turn15 tools
security
97/100
cold start
216 ms
freshness
Active24d ago
Our reading of Devtools, from the data
Devtools is a ai & llm tools MCP server from foldkit.
Its 15 tools add about 4,369 tokens to every model turn, heavier than the ai & llm tools median of 1,038 tokens across 276 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 24 days ago (2026-10-17). For comparison, 58% of ai & llm tools servers are active or maintained.
With 1,018 GitHub stars it ranks #42 of 3,169 ai & llm tools servers we index.
It runs locally on your machine over stdio.
Install Devtools MCP server
Install in Claude Code
claude mcp add devtools-foldkit -- npx -y @foldkit/devtools-mcpInstall in Cursor
{
"mcpServers": {
"devtools-foldkit": {
"command": "npx",
"args": [
"-y",
"@foldkit/devtools-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"devtools-foldkit": {
"command": "npx",
"args": [
"-y",
"@foldkit/devtools-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"devtools-foldkit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@foldkit/devtools-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"devtools-foldkit": {
"command": "npx",
"args": [
"-y",
"@foldkit/devtools-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @foldkit/devtools-mcp
Context tax
Connecting this server adds ~4,369 tokens of tool definitions to every model turn (moderate, 15 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $17.48 | $0.874 |
| Claude Sonnet 5.5 | $8.74 | $0.874 |
| Claude Haiku 5.5 | $0.437 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (15)
foldkit_get_message_schema548 tokDescribe the Message Schema for a Foldkit runtime so agents can construct valid payloads for `foldkit_dispatch_message`. Call with no arguments to receive a small variant index (every top-level variant's `_tag`, its payload field names, and which payload fields are themselves tagged-union shapes). Then call with `variant_tag: "ChosenVariant"` to drill in. The argument is a dot-separated path of variant `_tag` values: each segment names a variant, and the walker steps through the variant's single tagged-union payload field to reach the next. So `"GotMobileMenuDialogMessage"` narrows one level;
foldkit_list_messages465 tokList Message history entries from a Foldkit runtime. Filter server-side with `changed_paths_match` to ask in Model terms (which Messages touched this subtree), read the most recent entries with `from_end: true`, and paginate forward via `since_index` using the returned `maybeNextIndex` (the absolute index of the next matching entry). On busy histories (drag, scroll, keystroke flows), call foldkit_count_messages_by_tag first to learn what is worth filtering.
foldkit_diff_models421 tokDiff the Models at two history indices server-side. Returns path-level changes `{ path, before, after }` sorted by path (numeric segments in numeric order), with values summarized. Each side is `{ _tag: 'Present', value }`, or `{ _tag: 'Absent' }` when the path does not exist on that side (a key or element that was added or removed). `from_index`/`to_index` follow foldkit_get_model_at semantics: the Model right after that entry was applied, with -1 for the initial Model. Pass `changed_paths_match` to narrow the diff to a Model subtree. Far cheaper than fetching two snapshots and diffing client
foldkit_get_model_at387 tokSnapshot a historical Model after a given history entry was applied. Pass `index: N - 1` to read the Model just before message N. Same `path`/`expand` semantics as foldkit_get_model. Indices outside the retained history range (older entries are evicted past the rolling buffer) are rejected with the readable range. For the initial Model (and the names of Commands returned from the application's `init`), use foldkit_get_init.
foldkit_dispatch_messages379 tokDispatch an ordered batch of Messages into a Foldkit runtime in one call, first to last, as if the application produced them in quick succession. Prefer this over repeated foldkit_dispatch_message calls when staging state that takes several Messages: reproducing a bug, filling a form, or building a history fixture. Takes 1 to 100 Messages. Validation is all-or-nothing: the runtime decodes every payload against the Message Schema before dispatching any of them, and one invalid entry rejects the whole batch with an error naming its zero-based position, so there is never a partially applied prefi
foldkit_count_messages_by_tag356 tokCount retained Message history entries by tag, without payloads. Returns `{ counts: [{ tag, count }], totalCount, scannedFromIndex, scannedToIndex }` sorted by count descending. A cheap reconnaissance call before paging through history: it surfaces the high-frequency Messages worth filtering out, and with `changed_paths_match` it answers which Message tags touch a Model subtree. Accepts the same `since_index`/`changed_paths_match` filters as foldkit_list_messages.
foldkit_get_message352 tokRead a single Message history entry by absolute index. The response carries the SerializedEntry (tag, message body, commands, mountStarts, mountEnds, timestamp, `isModelChanged`, `changedPaths` for leaf-level mutations, `affectedPaths` adding their ancestor paths). Each entry in `commands` carries the Command name, `args` (`Some(record)` when the Command declared an args schema, `None` otherwise), and `maybeSubmodelPath` (`None` before the result resolves, `Some([])` for a resolved top-level Command, or `Some(tags)` for a resolved Submodel Command). `mountStarts` lists Mounts that fired during
foldkit_get_model318 tokSnapshot the current Model from a connected Foldkit runtime. By default the response is summarized (large arrays/records/strings collapse to `_summary` placeholders) to keep payloads small for AI agents. Pass `path` (e.g. 'root.session.user') to narrow to a subtree, and `expand: true` to receive the literal value at that path. Returns `{ value, atPath, summarized }`.
foldkit_get_init275 tokRead the runtime's initial Model, the Commands returned from the application's `init` function, and the Mounts that fired during the first render. The init entry is the synthetic row at index -1 in the DevTools panel; this tool exposes the same data without time-travelling the runtime. `maybeModel` is `None` until the runtime has finished its first render and recorded init, then stays `Some` for the rest of the runtime's life. `commands` lists init-time Commands in the order they were produced, each with its name, `args` (`Some(record)` when the Command declared an args schema, `None` otherwis
foldkit_dispatch_message272 tokDispatch a Message into a Foldkit runtime, as if the application itself produced it. Requires the runtime to have configured DevToolsConfig.Message; without it, dispatch is rejected. Call `foldkit_get_message_schema` with no arguments to enumerate the variants, then with `variant_tag` to learn one variant's exact payload shape, before constructing the Message object. The runtime decodes the payload and returns a clean error if it doesn't match. To dispatch several Messages in order with one call, use foldkit_dispatch_messages.
foldkit_get_runtime_state198 tokSnapshot the runtime's DevTools state: history bounds, current paused/live status, and whether init is recorded. Returns `currentIndex` (the absolute index of the most recent Message, or -1 when none), `startIndex` (the earliest absolute index still retained in the rolling buffer), `totalEntries` (count of retained entries), `isPaused`, `maybePausedAtIndex` (`Some(index)` when paused, `None` otherwise), and `hasInitModel`. Use it to reason about what `foldkit_list_messages` and `foldkit_get_message` will see, and to detect whether the runtime is currently paused at a replayed snapshot.
foldkit_replay_to_keyframe188 tokTime-travel a Foldkit runtime back to a previous Model snapshot. Pass `keyframe_index: -1` for the initial Model, or a non-negative index for the state right after that history entry. The runtime is paused at the snapshot until foldkit_resume is called.
foldkit_list_keyframes82 tokList the available keyframes (replayable Model snapshots) from a Foldkit runtime.
foldkit_resume82 tokResume normal execution of a Foldkit runtime that was paused by foldkit_replay_to_keyframe.
foldkit_list_runtimes44 tokList Foldkit runtimes (browser tabs) currently connected to the dev server.
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 24d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-17 · 24d ago · GitHub
Latest release
2026-10-11 · 30d ago · GitHub · @foldkit/vite-plugin@0.27.1
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in AI & LLM Tools
Against the most-starred ai & llm tools servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Devtools (this) | 1,018 | 15 | 4,369 | Active | local |
| Memory | 91,356 | 9 | 949 | Active | local |
| Claude Flow | 76,638 | — | not measured | Active | local |
| Next AI Draw.io | 36,318 | 16 | 4,856 | Active | local |
| Serena Agent | 30,371 | — | not measured | Active | local |
| Cua | 30,160 | — | not measured | Active | — |
FAQ
›How do I install the Devtools MCP server in Claude Code?
Run: claude mcp add devtools-foldkit -- npx -y @foldkit/devtools-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Devtools require an API key?
No required environment variables are declared in its published metadata.
›Can I use Devtools as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Devtools in the official MCP registry?
No. It was indexed from npm.
›How many tokens does Devtools add to my context?
Its tool definitions total about 4,369 tokens, resent on every turn.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Devtools
Other ai & llm tools MCP servers.