List, create and deploy your Prefab project templates from any MCP agent.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server for Prefab, so an agent can see your templates and deploy one for you.
| Tool | Does |
|---|---|
list_templates | Every template, what it creates, what it asks for |
describe_template | One template in full: structure, placeholders, actions |
preview_deploy | What a deploy would create, and what values are still missing. Creates nothing |
deploy_template | Creates the folders, filling in the values given |
list_watched_folders | Folders Prefab is watching, and the rules on them |
list_globals | Library-wide placeholders, actions and value presets |
Works with any client that speaks MCP over stdio.
As a bundle - download prefab.mcpb from the
releases page and double-click it. Clients
that install MCP bundles, Claude Desktop among them, bring their own Node, so there is nothing else
to install.
From the command line (Claude Code, and anything with the same idea):
In a config file - Cursor, Zed, and most others:
Then switch on Let agents and scripts control Prefab in Prefab's Settings βΈ Permissions. It is off by default; reading your templates works without it, creating and deploying does not.
That switch arrives in Prefab 1.1.6. On an earlier version the reading tools work and the rest say so.
Requires macOS, Prefab installed and opened once, and Node 18+ (except for the .mcpb route).
Prefab is sandboxed and has no network access, so it cannot host anything. This server runs beside
it instead: it reads the library straight out of the app group
(~/Library/Group Containers/group.VFDG327T66.prefab) and asks the app to deploy through the
same prefab:// URL the Finder extension uses. Two consequences worth knowing:
preview_deploy and deploy_template both check
first and say so, rather than leaving a permission dialog on screen that an agent cannot answer.
Grant folders in Prefab, under Settings βΈ Permissions.Nothing here writes to Prefab's library. The app owns those files, and editing them behind its back would be overwritten the next time it saves.
src/resolve.js is a deliberate duplicate of RenamePattern.swift. If you change one, change the
other - npm test compiles the Swift and compares the two.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/prefab)<a href="https://allmcps.com/mcp/prefab"><img src="https://allmcps.com/api/badge/prefab?style=directory" alt="Prefab on AllMCPs" /></a>