CleanVector

ai.cleanvector由 cleanvector.ai 发布官方发布者v1.0.1更新于 Oct 24, 2026

Create professional SVG artwork, icons and vector logos from a prompt, or vectorize any image.

已验证Streamable HTTP可网页运行开发者工具媒体与设计

概览

AI 生成的概览

根据提示词生成可编辑的 SVG 插画、图标和矢量标志,并把位图转换为 SVG。

可以做什么
CleanVector 按需生成矢量素材:插画、图标、贴纸和吉祥物场景均为真实 SVG 路径;标志生成会返回品牌套件,含黑白变体、透明 PNG 导出和从成品测得的配色。它还能把最大 5 MB 的 PNG、JPG 或 WebP 图片矢量化成可编辑 SVG。生成是异步的,助手先创建任务、等待完成,再下载 SVG、PNG 或打包的标志套件。账户工具可查看当前套餐和积分余额。
适用场景
适合在编码或设计流程中让助手直接产出品牌或界面素材,例如生成一组风格统一的图标、起草带变体的标志,或用可缩放 SVG 替换位图资源。
运行要求
远程 Streamable HTTP 端点,无需安装。需要在 Authorization 请求头中以 Bearer 形式提供 CleanVector API 密钥,API 与 MCP 访问包含在 Plus 和 Pro 套餐中。仅支持 stdio 的客户端需通过 npx 使用 mcp-remote 等本地桥接。
安装前请注意
每次工具调用都需要 Authorization 中的 Bearer API 密钥,应妥善保密。生成会消耗付费积分:矢量化 1 或 4,生成与增强 4,标志 8,下载免费。上传的图片会发送到 CleanVector 服务。AI 生成的标志不含商标检索,商业使用前应查询商标数据库。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "cleanvector": {
      "type": "http",
      "url": "https://cleanvector.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

[CleanVector logo]

CleanVector MCP Server

Create professional SVG artwork, icons and vector logos from a prompt, or vectorize any image.

Docs · Get an API key · MCP Registry · Gallery


CleanVector is a hosted Model Context Protocol server. It gives Claude Code, Cursor, VS Code, Windsurf and any other MCP client three things most image tools cannot return to an agent:

  • Professional SVG artwork. Illustrations, icons, stickers and mascots as real vector paths with a transparent background. No embedded bitmaps, no white rectangle behind the art.
  • Vector logos. One brief in, a full brand kit out: the logo as editable SVG, black and white variants, transparent PNG exports and a color palette measured from the finished mark.
  • Clean vectorization. Turn a PNG, JPG or WebP, including AI-generated images, into an SVG you can recolor and scale.

Nothing to install or run. The server is remote, speaks Streamable HTTP and is listed in the official MCP Registry as ai.cleanvector/cleanvector. Clients and directories can inspect the server metadata and tool schemas without credentials; every tool call still requires a CleanVector API key.

Examples

These three vector logos were generated from a one-sentence brief each. They are the actual SVG files, stored in examples/.

[Northstar logo generated by CleanVector]
Northstar
An interlocking N and compass for a strategy studio
[Kinfold logo generated by CleanVector]
Kinfold
A folded ribbon K for a community platform
[Halo logo generated by CleanVector]
Halo
Two orbital loops forming an H for a spatial computing studio

What you can ask your agent once it is connected:

Generate six matching flat line icons for a fitness app as SVG and put them in public/icons.

Design a logo for "Northstar", a strategy studio. Geometric, confident, deep blue with one coral accent. Save the SVG and the black and white variants into ./brand.

Vectorize ./mockups/hero.png and replace the raster in the landing page with the SVG.

Quick start

  1. Create an API key at cleanvector.ai/app/api-keys. API and MCP access is included in the Plus and Pro plans.
  2. Add the server to your client.

Claude Code

bash
claude mcp add --transport http cleanvector https://cleanvector.ai/api/mcp \  --header "Authorization: Bearer cv_YOUR_KEY"

Cursor (~/.cursor/mcp.json)

json
{  "mcpServers": {    "cleanvector": {      "url": "https://cleanvector.ai/api/mcp",      "headers": {        "Authorization": "Bearer cv_YOUR_KEY"      }    }  }}

VS Code (.vscode/mcp.json)

json
{  "inputs": [    {      "id": "cleanvector_key",      "type": "promptString",      "description": "CleanVector API key",      "password": true    }  ],  "servers": {    "cleanvector": {      "type": "http",      "url": "https://cleanvector.ai/api/mcp",      "headers": {        "Authorization": "Bearer ${input:cleanvector_key}"      }    }  }}

Windsurf (~/.codeium/windsurf/mcp_config.json)

json
{  "mcpServers": {    "cleanvector": {      "serverUrl": "https://cleanvector.ai/api/mcp",      "headers": {        "Authorization": "Bearer cv_YOUR_KEY"      }    }  }}

Claude Desktop and other stdio-only clients (through mcp-remote)

json
{  "mcpServers": {    "cleanvector": {      "command": "npx",      "args": [        "-y",        "mcp-remote",        "https://cleanvector.ai/api/mcp",        "--header",        "Authorization:${CLEANVECTOR_AUTH}"      ],      "env": {        "CLEANVECTOR_AUTH": "Bearer cv_YOUR_KEY"      }    }  }}

Tools

ToolWhat it doesCost
generate_illustrationGenerate professional, editable SVG artwork from a text prompt: illustrations, icons, stickers and mascot scenes. Pass a mascot_id to keep one character consistent across scenes.4 credits
generate_logoGenerate a vector logo with original, black and white variants, PNG exports and a measured palette. Accepts a reference image to refine an existing identity or to use as loose inspiration.8 credits
vectorize_imageConvert a PNG, JPG or WebP (up to 5 MB, by URL or base64) into a clean, editable SVG.1 or 4 credits
wait_for_taskWait for an asynchronous task to settle and return its result.free
get_taskFetch the status of one task, including download URLs once it succeeds.free
list_tasksList the account's most recent tasks.free
list_mascotsList saved mascots whose ids keep a character consistent.free
download_svgReturn finished artwork as SVG markup.free
download_pngReturn finished artwork as a PNG image in the agent's context, at any width.free
download_logo_kitReturn three SVGs, three PNGs and palette.json as a ZIP.free
get_accountReturn the current plan and credit balance.free

Generation is asynchronous. A typical flow is generate_illustration, then wait_for_task, then download_svg. Downloads and re-exports never cost credits.

Details

Endpointhttps://cleanvector.ai/api/mcp
TransportStreamable HTTP
AuthenticationPublic discovery; Authorization: Bearer cv_... API key required for tool calls
Registry nameai.cleanvector/cleanvector
AccessPlus and Pro plans
REST APIThe same key works with the REST API, documented in the dashboard

The registry manifest is in server.json.

What the output looks like

Every result is standard SVG: plain <path> elements with fills, no embedded images, no scripts and a transparent canvas. It opens and edits in Figma, Illustrator, Inkscape and the free CleanVector SVG editor. Read how CleanVector works for what to check before using an asset in production.

AI-generated logos do not come with trademark clearance. Search the relevant trademark databases before relying on a mark commercially.

Support

License

The documentation, configuration examples and example artwork in this repository are released under the MIT License. The CleanVector service itself is a hosted commercial product.

来源:README.md,提交 3c3e5fd

工具

11

generate_illustration

Generate SVG artwork

Generate professional, editable SVG artwork from a text prompt: illustrations, icons, stickers and mascot scenes. The result is real vector paths with a transparent background, not an embedded bitmap. Returns a task that processes asynchronously, so call wait_for_task with the returned id to get the result. Pass mascot_id (from list_mascots) to keep a consistent character across scenes. Costs 4 credits.

输入参数prompt必填mascot_idaspect_rationo_background

vectorize_image

Vectorize image

Convert a raster image (PNG/JPG/WebP, max 5 MB) into a clean, editable SVG. Provide image_url or image_base64. no_background defaults to true and isolates the subject (4 credits). Set no_background false with mode 'direct' to trace as-is (1 credit); mode 'enhance' redraws with AI first (4 credits). Runs async, so poll with wait_for_task.

输入参数modepromptimage_urlimage_base64no_background

get_task

Get task status

Fetch the current status of a task. Status is one of queued, processing, succeeded, failed. A succeeded task includes the result with download URLs.

输入参数task_id必填

wait_for_task

Wait for task to finish

Block until a task settles (succeeded/failed) or the timeout passes. Preferred over polling get_task in a loop. Generation typically takes 10-60 seconds.

输入参数task_id必填timeout_seconds

list_tasks

List recent tasks

List the user's most recent tasks, newest first.

输入参数limit

list_mascots

List mascots

List the user's ready-to-use mascots (consistent characters). Pass a mascot id to generate_illustration to place that character in a new scene. Mascots are created in the CleanVector dashboard.

无需输入参数。

download_png

Download result as PNG

Return the finished artwork as a PNG image (free on all plans). Use after a task succeeded. For larger exports up to 8192px, use the png_url from the task result with the same Bearer key.

输入参数widthtask_id必填variant

download_svg

Download result as SVG

Return the finished artwork as SVG markup. Use after a task succeeded.

输入参数task_id必填variant

download_logo_kit

Download logo brand kit

Return a completed logo kit as an embedded ZIP resource. Includes three SVGs, three PNGs and palette.json. MCP output is capped at 2048px; use zip_url from the task result for larger files.

输入参数widthtask_id必填

get_account

Get account info

Current plan and credit balance. Costs: vectorize 1, generate/enhance 4, logo 8 credits. PNG and SVG downloads are free on every plan.

无需输入参数。

版本历史

2
  1. v1.0.1最新Sep 19, 2026
  2. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分