SVG.new

السجل الرسمي أخرى

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http svg-new 'https://svg.new/api/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "svg-new": {
            "type": "http",
            "url": "https://svg.new/api/mcp"
        }
    }
}
NPM package @svgnew/mcp
Claude Code
claude mcp add svg-new -e 'SVG_NEW_API_KEY=<your svg_new_api_key>' -- npx -y @svgnew/mcp@1.3.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "svg-new": {
            "command": "npx",
            "args": [
                "-y",
                "@svgnew/mcp@1.3.1"
            ],
            "env": {
                "SVG_NEW_API_KEY": "<your svg_new_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • SVG_NEW_API_KEY إلزامي سري SVG.new API key (starts with svk_). Create one at https://svg.new/account.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @svgnew/mcp
  2. Hosted server (sign in, no API key)
  3. Quick Start (local server)
  4. Setup
  5. Available Tools
  6. Environment Variables
  7. Links

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

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

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

الأسئلة الشائعة

ما هو SVG.new؟

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

كيف أثبّت SVG.new؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http svg-new 'https://svg.new/api/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج SVG.new إلى مفتاح API؟

نعم. يتطلب SVG_NEW_API_KEY، وتضبطها في إعداداته.

هل SVG.new مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون SVG.new؟

ينشره svgnew. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.