{
"mcpServers": {
"TemPad Dev": {
"command": "npx",
"args": ["-y", "@tempad-dev/mcp@latest"]
}
}
}Quick setup helpers:
- VS Code / Cursor / TRAE: use the deep links in TemPad Dev (Preferences → MCP server).
- Windsurf: copy the JSON snippet from the same panel.
- CLI:
claude mcp add --transport stdio "TemPad Dev" -- npx -y @tempad-dev/mcp@latestorcodex mcp add "TemPad Dev" -- npx -y @tempad-dev/mcp@latest.
Supported tools/resources:
get_code: Tailwind-first JSX/Vue markup plus assets and token references.get_structure: Hierarchy/geometry outline for the selection.
Notes:
- Tool responses use a shared
64 KiBinline budget measured on theCallToolResultbody. When a selection is too large for theget_codebudget, TemPad Dev may return a shell response instead of failing. The shell keeps the current node wrapper and lists omitted direct child ids in an inline code comment so agents can request them one by one. The accompanying warning stays lightweight and only points agents to that comment. - Assets are ephemeral and tool-linked; image/SVG bytes are downloaded via HTTP
asset.urlfrom tool results. - Asset resources are not exposed via MCP
resources/list/resources/read. - The HTTP fallback URL uses
/assets/{hash}and may include an image extension (for example/assets/{hash}.png). Both forms are accepted.
Optional environment variables:
TEMPAD_MCP_TOOL_TIMEOUT: Tool call timeout in milliseconds (default15000).TEMPAD_MCP_AUTO_ACTIVATE_GRACE: Delay before auto-activating the sole connected extension (default1500).TEMPAD_MCP_MAX_ASSET_BYTES: Maximum upload size for captured assets/screenshots in bytes (default8388608).TEMPAD_MCP_ASSET_TTL_MS: Asset cleanup TTL in milliseconds based on last access; set0to disable (default2592000000).TEMPAD_MCP_RUNTIME_DIR: Override runtime directory (defaults to system temp undertempad-dev/run).TEMPAD_MCP_LOG_DIR: Override log directory (defaults to system temp undertempad-dev/log).TEMPAD_MCP_ASSET_DIR: Override asset storage directory (defaults to system temp undertempad-dev/assets).
- Node.js 18.20.0+