Get your API key.
Sign in to SketchxFlow, open Account → API keys, and click Generate key. Copy it — it's shown once. Your agent uses this key, so designs land in your account and charge your coin balance.
Generate an API key →Run the install wizard.
The wizard detects every MCP client you have installed, lets you choose which to set up, asks for your API key once, and writes each client's config for you.
$ npx @sketchxflow/mcp installThen restart the clients it set up. That's it.
Or configure each client by hand.
Add the server block to your client's config (paths below are macOS; replace sk_live_… with your key), then restart it.
$ claude mcp add sketchxflow -s user -e SKETCHXFLOW_API_KEY=sk_live_… -- npx -y @sketchxflow/mcp~/Library/Application Support/Claude/claude_desktop_config.jsonjson{
"mcpServers": {
"sketchxflow": {
"command": "npx",
"args": ["-y", "@sketchxflow/mcp"],
"env": { "SKETCHXFLOW_API_KEY": "sk_live_…" }
}
}
}~/.cursor/mcp.jsonjson{
"mcpServers": {
"sketchxflow": {
"command": "npx",
"args": ["-y", "@sketchxflow/mcp"],
"env": { "SKETCHXFLOW_API_KEY": "sk_live_…" }
}
}
}~/.codeium/windsurf/mcp_config.jsonjson{
"mcpServers": {
"sketchxflow": {
"command": "npx",
"args": ["-y", "@sketchxflow/mcp"],
"env": { "SKETCHXFLOW_API_KEY": "sk_live_…" }
}
}
}~/Library/Application Support/Code/User/mcp.jsonjson{
"servers": {
"sketchxflow": {
"command": "npx",
"args": ["-y", "@sketchxflow/mcp"],
"env": { "SKETCHXFLOW_API_KEY": "sk_live_…" }
}
}
}~/.codex/config.tomltoml[mcp_servers.sketchxflow]
command = "npx"
args = ["-y", "@sketchxflow/mcp"]
env = { SKETCHXFLOW_API_KEY = "sk_live_…" }The tools your agent gets.
sketchxflow_clarifyInterviews you to build the brief before designing — returns the next question and a ready design prompt when there's enough. Free.sketchxflow_design_pageGenerates one page. New project, or a brand-consistent page added to an existing project.sketchxflow_editNatural-language change to one section/component of a page — brand-locked, so nothing else drifts.sketchxflow_get_codeReturns a page's full HTML + Tailwind so your agent can implement it in your stack.sketchxflow_get_projectStatus, preview URL, and page list for a project.sketchxflow_list_projectsLists the projects in your account.A typical loop: clarify → design_page → get_code (implement) → edit. Each project is one SketchxFlow project — visible in your dashboard, editable and publishable from the web app.
Troubleshooting.
Fully restart the client after editing its config (Claude Desktop and Cursor only re-read config on restart). Confirm the JSON is valid.
Your SKETCHXFLOW_API_KEY is unset, mistyped, or revoked. Generate a fresh one in Account → API keys and update the config.
Designs charge your coin balance. Upgrade your plan in Account → Subscription for a larger monthly allowance, or use sketchxflow_clarify (free) to plan first.
A page takes ~1–9 minutes; the design tools stream progress and return when ready. Keep the agent running.