Skip to main content
Glama

@svgnew/mcp

MCP (Model Context Protocol) server for svg.new — AI-powered image to SVG vectorization.

Use svg.new from any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, and more.

Hosted server (sign in, no API key)

SVG.new hosts this server at https://svg.new/api/mcp (Streamable HTTP). Clients that support OAuth sign in with your SVG.new account; there is nothing to install. Clients that send headers can use Authorization: Bearer svk_... with an API key instead.

# Claude Code (then run /mcp, pick svgnew and choose Authenticate)
claude mcp add --transport http --scope user svgnew https://svg.new/api/mcp

# Gemini CLI (then run /mcp auth svg-new)
gemini extensions install https://github.com/svgnew/mcp

In Claude, open Settings, Connectors, Add custom connector, enter the URL above and sign in. Cline and other agents can follow llms-install.md. The cursor folder is the Cursor plugin for the hosted server. Setup for each client: svg.new/mcp.

Related MCP server: imagetosvg-mcp

Quick Start (local server)

npx @svgnew/mcp

Requires SVG_NEW_API_KEY environment variable. Get your key at svg.new/account.

Setup

Claude Code / Claude Desktop

Add to your MCP config:

{
  "mcpServers": {
    "svg-new": {
      "command": "npx",
      "args": ["@svgnew/mcp"],
      "env": {
        "SVG_NEW_API_KEY": "svk_your_key_here"
      }
    }
  }
}

Cursor / Windsurf

Add to your MCP settings with the same configuration above.

OpenAI Codex CLI

Add svg.new to Codex:

codex mcp add svg-new -- npx -y @svgnew/mcp

Or install as a plugin:

codex install svg-new

Set your API key:

codex mcp add svg-new --env SVG_NEW_API_KEY=svk_your_key_here -- npx -y @svgnew/mcp

Available Tools

Tool

Description

Cost

vectorize

Convert image to SVG

1 credit

vectorize_file

Convert a local image file to SVG

1 credit

recolor_svg

Change colors in SVG

Free

simplify_svg

Reduce color palette

Free

remove_background

AI background removal

1 credit

remove_background_file

Background removal from a local image file

1 credit

batch_vectorize

Process multiple images

1 credit/image

batch_vectorize_files

Vectorize up to 10 local image files

1 credit/image

get_batch_status

Poll batch progress

Free

list_vectorizations

View history

Free

Environment Variables

Variable

Required

Default

Description

SVG_NEW_API_KEY

Yes

—

Your svg.new API key

SVG_NEW_API_URL

No

https://svg.new

API base URL

Available Tools

7 tools
batch_vectorizeCInspect

Submit multiple images for batch vectorization. Returns a batch ID for polling.

Inputs: images (required).

get_batch_statusBInspect

Check the status of a batch vectorization job.

Inputs: batch_id (required).

list_vectorizationsBInspect

List recent vectorizations for the authenticated user.

Inputs: no named parameters.

recolor_svgCInspect

Change colors in an SVG. Provide a mapping of old colors to new colors.

Inputs: svg (required), color_map (required).

remove_backgroundCInspect

Remove the background from an SVG using the original raster image for reference.

Inputs: svg (required), image (required).

simplify_svgCInspect

Reduce the number of colors in an SVG by quantizing the palette.

Inputs: svg (required), max_colors (required).

vectorizeCInspect

Convert a raster image (PNG, JPG, WebP) to a clean SVG vector. Accepts a base64-encoded image.

Inputs: image (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity: batch_vectorize and vectorize handle vectorization at different scales, get_batch_status and list_vectorizations manage job tracking, and recolor_svg, remove_background, and simplify_svg perform specific SVG editing tasks. The descriptions clearly differentiate their functions, making misselection unlikely.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern throughout, such as batch_vectorize, get_batch_status, list_vectorizations, recolor_svg, remove_background, simplify_svg, and vectorize. This uniformity enhances readability and predictability for agents.

    Tool Count5/5

    With 7 tools, the set is well-scoped for an SVG processing server, covering core workflows like vectorization, batch processing, status checking, and SVG editing. Each tool earns its place without feeling excessive or insufficient for the domain.

    Completeness4/5

    The tool surface provides strong coverage for SVG creation and editing, including vectorization, batch processing, and color/background manipulation. A minor gap exists in lacking direct SVG export or format conversion tools, but agents can likely work around this with the existing tools.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers