Docs menu — MCP Server / Other Clients Documentation

Getting Started

MCP Server

REST API

MCP Server Updated 2026-11-23

Other Clients

Any host that supports stdio MCP can run SVGForge with npx -y svgforge-mcp. Below are common agentic IDEs; the env vars are the same as Cursor.

Shared config block

JSON
{
  "mcpServers": {
    "svgforge": {
      "command": "npx",
      "args": ["-y", "svgforge-mcp"],
      "env": {
        "SVGForge_API_KEY": "sf_xxx",
        "SVGForge_API_BASE": "https://svgforge.dev"
      }
    }
  }
}

Windsurf

Windsurf (Codeium) reads MCP config from:

OS Path
macOS ~/.codeium/windsurf/mcp_config.json
Windows %USERPROFILE%\.codeium\windsurf\mcp_config.json

Merge the svgforge server into mcpServers, then reload Cascade / restart Windsurf.

Antigravity / Gemini-style agents

Workspace-level example (path may vary by product version):

JSON
{
  "mcpServers": {
    "svgforge": {
      "command": "npx",
      "args": ["-y", "svgforge-mcp"],
      "env": {
        "SVGForge_API_KEY": "sf_xxx",
        "SVGForge_API_BASE": "https://svgforge.dev"
      }
    }
  }
}

Place the file where your agent documents MCP discovery (for example .agents/mcp_config.json or a user-level Gemini MCP config). Restart the agent after editing.

Generic checklist

  1. Node.js 18+ available to the IDE process.
  2. SVGForge_API_KEY set to a valid sf_… token.
  3. Optional: SVGForge_API_BASE for staging / self-hosted API origins.
  4. Restart the host after config changes.
  5. Ask the agent to call list_icon_sets or search_icons as a smoke test.

Prefer not to use MCP?

Use the web app, VS Code, Chrome, or Figma with the same token. REST details live under API Authentication.