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. Generate SVGs, split images into layers, extend images, and check jobs 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 an SVG vector graphic from a text description. Runs asynchronously — poll get_job for the result.
Parameters
Splits an image into separate visual layers such as subject, background, and individual objects. Runs asynchronously — poll get_job for the result.
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
Returns the status of a job created by a paid tool and, once completed, download URLs for its outputs (PNG layers, extended PNG, or SVG).
Parameters
Returns the remaining credit balance 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_layersSplit a raster image into separate layers, returned as PNG files.
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.
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 split an image into layers, extend it to a new ratio, or generate an SVG 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, split images into PNG layers, extend images to a new aspect ratio, and check 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. Setup examples for Cursor, Claude Code, and Codex are shown above.
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.
It cannot spend more than your balance: the server checks your credits before a job starts and rejects the request if they are insufficient. There is no self-serve setting for a per-agent spending cap yet, so an authorized agent can use any credits you have.
The dashboard does not have a self-serve revoke control yet. Removing the server from your client stops that client from using it; to revoke the authorization on our side, email support@imagetolayers.com.
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.