Devmachinist /Docs
Sign in Start free
All docs

Agents & MCP

AI agents — Claude, Cursor, or any MCP client — can build in Devmachinist on your behalf.

Access tokens #

Create a personal access token under Account → Access tokens. Choose its scopes:

ScopeAllows
readReading projects, files and the library
writeChanging files, components and pages
previewStarting and stopping previews
publishPublishing and native app exports

You can limit a token to specific projects and give it an expiry. Tokens never reach your account settings, billing or passwords, and you can revoke them at any time.

MCP server #

Point your MCP client at POST /api/mcp on your Devmachinist server with the token as a Bearer token. The tools mirror the REST API (list projects, read and write files, add components, start previews, publish). GET /api/agent describes every tool and its REST equivalent.

{ "mcpServers": { "devmachinist": { "url": "https://devmachinist.com/api/mcp",
  "headers": { "Authorization": "Bearer dm_pat_…" } } } }