One Remote Endpoint
A single Streamable HTTP endpoint connects with Cursor, Claude Code, Codex, Windsurf, and custom agent runtimes.
Connect Cursor, Claude Code, Codex, and other MCP-compatible clients. Vectorize graphics, extract transparent layers, and inspect job assets directly from your coding assistant.
Server URL
FAST SETUP
Add the ImageToLayers endpoint to your client configuration. When prompted, complete the one-click browser authorization.
Add to your Cursor MCP settings or workspace configuration file.
{
"mcpServers": {
"imagetolayers": {
"url": "https://www.imagetolayers.com/mcp"
}
}
}TOOL REFERENCE
Parameters and output for each function. Reuses the identical high-performance pipelines that power the web studio.
Generates clean, scalable, multi-path SVG vector graphics from any natural language prompt. Returns optimized SVG markup and a preview URL.
Parameters
Decomposes a flat raster photo or illustration into isolated semantic layers (subject, foreground objects, background, lighting).
Parameters
Extends an image beyond its original borders, generating new content in the added area to reach a target aspect ratio. Runs asynchronously — poll get_job for the result.
Parameters
Polls or retrieves the completion status and download URLs (PSD, PNG layers, SVG) for any asynchronous processing job.
Parameters
Queries the remaining credit balance, active subscription tier, and monthly quota of the authenticated ImageToLayers account.
CAPABILITIES
Five tools your agent can call over the remote endpoint. Inspection tools are free; generation tools draw from your credit balance.
generate_svg_from_textGenerate a clean, multi-path vector SVG from a text prompt.
convert_image_to_layersDecompose a raster image into isolated semantic layers, exported as PSD or ZIP.
extend_imageExtend an image beyond its borders (outpainting) to a target aspect ratio.
get_jobCheck the status of an async job and retrieve signed asset download URLs.
get_account_usageRead your remaining credit balance and recent usage.
DEVELOPER ARCHITECTURE
Designed from the ground up to keep user credentials safe while delivering production-grade performance.
A single Streamable HTTP endpoint connects with Cursor, Claude Code, Codex, Windsurf, and custom agent runtimes.
Your agent authenticates via Supabase OAuth 2.1 in a standard browser prompt. No raw API keys or tokens are hardcoded into local repos.
Agent calls draw directly from your existing ImageToLayers credit balance. No separate billing, credit cards, or subscription tiers.
All MCP tools run on the identical model cluster and segmentation infrastructure as the official ImageToLayers web application.
WORKFLOW
From configuration to autonomous agent tool calls in under two minutes.
Copy the remote URL into your client configuration (e.g. Cursor mcp.json or Claude Code CLI).
Your agent initiates a standard browser OAuth handshake. Review requested scopes and approve with one click.
Ask your agent to vectorize graphics, extract transparent layers, or generate SVGs without leaving your IDE.
Before executing any paid image segmentation or vector generation task, the server verifies that your account has sufficient credits. Requests that exceed your quota are cleanly rejected before incurring any charge.
INTEGRATIONS
Prefer an interactive web canvas? Use ImageToLayers’ built-in AI workflow assistant with real-time visual previews and prompt templates.
Open Agent WorkspaceBuilding your own commercial product or high-volume backend pipeline? Request direct HTTP REST API access with custom SLAs.
Explore API accessQUESTIONS & ANSWERS
It is a Remote Model Context Protocol (MCP) server that lets AI agents in Cursor, Claude Code, Codex, and other environments invoke ImageToLayers tools programmatically. Agents can generate vector SVGs, decompose photos into layered PSDs, and inspect job status directly from your conversation prompt.
MCP is an open standard developed by Anthropic that connects AI assistants and agents to external developer tools, data sources, and APIs through a standardized JSON-RPC interface.
Any MCP client that supports Streamable HTTP with OAuth 2.1 authentication, including Cursor, Claude Code CLI, Codex, and Windsurf.
No. You authenticate with your existing ImageToLayers user account. The client opens a secure OAuth 2.1 window where you approve access, eliminating the need to paste or store raw API tokens on disk.
Tool usage consumes standard ImageToLayers credits from your existing balance. Read-only inspection tools like get_job and get_account_usage are completely free.
No. Pre-flight quota verification runs before any generation job starts. If your balance is insufficient, the request is safely rejected before any action is taken.
You can revoke an agent's access token immediately from your ImageToLayers account dashboard. Once revoked, the agent cannot execute any further operations without re-authorizing.
The Agent Workspace is our interactive web canvas for visual and layer manipulation in the browser. The MCP Server allows external agents running in your local IDE or CLI to call the same backend capabilities directly.
No. The /mcp endpoint is a machine-to-machine JSON-RPC interface. This page (/mcp-server) is the human-readable developer documentation and quickstart guide.
Point any MCP-compatible agent at our live endpoint and start transforming images from your prompt bar.
Creative Toolkit Index
Quick access to precision layer extraction, AI photo editing & asset tools.