SVG.new

io.github.svgnew由 GitHub 账号 svgnew 发布v1.3.1更新于 Oct 31, 2026

Convert PNG, JPG and WebP to SVG. Recolor an SVG, reduce its colors or remove its background.

已验证Streamable HTTP可网页运行媒体与设计AI 与机器学习

概览

AI 生成的概览

SVG.new 服务器,让助手把 PNG、JPG、WebP 图片矢量化成 SVG,并调整 SVG 颜色或去除背景。

可以做什么
  • 把图片矢量化成 SVG,支持直接传入图片或本地图片文件,并可批量处理最多 10 个文件
  • 用 AI 去除图片背景,支持图片数据或本地文件
  • 修改 SVG 颜色、精简调色板,并查询批处理进度
  • 列出历史矢量化记录以便查看
适用场景
适合需要助手把位图标志、图标或插画转成可编辑 SVG、清理现有 SVG 的配色,或在不离开聊天客户端的情况下去除背景的场景。
运行要求
可使用托管端点并通过 OAuth 登录 SVG.new 账号,或使用 npx 运行本地 npm 包;本地方式需要设置环境变量 SVG_NEW_API_KEY(在 SVG.new 账号页面获取的 svk_ 密钥)。可选环境变量 SVG_NEW_API_URL 可覆盖 API 基础地址。需要能访问 svg.new 的网络。
安装前请注意
矢量化和去背景会消耗付费额度(每张图片 1 个额度,批量按每张计),会产生费用;改色、精简、进度查询和历史记录工具免费。API 密钥属于机密,应通过环境变量提供,不要写入共享配置。上传的图片会发送到 SVG.new 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SVG.new,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.svgnew%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "svg-new": {
      "type": "http",
      "url": "https://svg.new/api/mcp"
    }
  }
}

README

@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.

bash
# 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.

Quick Start (local server)

bash
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:

json
{  "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

ToolDescriptionCost
vectorizeConvert image to SVG1 credit
vectorize_fileConvert a local image file to SVG1 credit
recolor_svgChange colors in SVGFree
simplify_svgReduce color paletteFree
remove_backgroundAI background removal1 credit
remove_background_fileBackground removal from a local image file1 credit
batch_vectorizeProcess multiple images1 credit/image
batch_vectorize_filesVectorize up to 10 local image files1 credit/image
get_batch_statusPoll batch progressFree
list_vectorizationsView historyFree

Environment Variables

VariableRequiredDefaultDescription
SVG_NEW_API_KEYYes—Your svg.new API key
SVG_NEW_API_URLNohttps://svg.newAPI base URL

Links

来源:README.md,提交 7f53663

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.3.1最新Oct 17, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分