Skip to content
VectorMojo

Docs

MCP server

VectorMojo runs as a remote MCP server at one URL. Your MCP client calls the same jobs, designs and credits as the REST API.

Server URL

https://mcp.vectormojo.com/mcp

Add it to your MCP client as a remote (HTTP) server. Like the API base URL, it is not final yet.

Sign in

In the browser (people)

On first use your MCP client opens a browser tab. Sign in to VectorMojo and allow the client. That's all: there is no key to copy. The server follows the standard MCP sign-in (OAuth), so any MCP client that supports remote servers with sign-in can connect. You use the same account as in the studio.

With an API key (scripts)

Send a VectorMojo API key as Authorization: Bearer brush_live_… or x-api-key: brush_live_…, as on the REST API (Authentication).

Tools

ToolTakesWhat it does
generate-designprompt, labels, image_url, size, aspect, brand_id, modelMake a design from a prompt, an image, or both. Waits up to about 50 seconds.
edit-designdesign_id, instruction, target, modelChange a design with one instruction, optionally aimed at one element id. Saves a new version.
export-designdesign_id, version, format, scale, text, minifyThe design as SVG (live or outlined text), PNG, WebP or PDF. Free.
get-designdesign_idOne design with its versions, its PNG and its SVG.
list-designslimit (1 to 100, default 20)Your designs, newest first, with a studio link for each.
get-job-statusjob_idStatus of a job; the finished design when it is done.
list-modelsnoneThe VectorMojo models, with their prices in credits, and the default model.
get-credit-balancenoneYour balance, and a link to buy credits.
list-brandsnoneYour saved brand styles.
get-brandbrand_idOne saved brand style.
  • The fields mean what they mean on the REST API (generate, edit, export).
  • image_url must be a public https:// link to a PNG, JPEG or WebP of up to 5 MB. VectorMojo fetches it, follows up to 3 redirects and gives up after 15 seconds.
  • brand_id applies a saved brand's colours, font and logo to the request.
  • Prices are the same as on the API: brush-1.0-lite 5 credits, brush-1.0 20 credits, brush-1.0-pro 40 credits per design or edit. The tool descriptions show them too. Exports are free.

What a result contains

When generate-design or edit-design finishes, the result holds:

  • a short summary: the design id, the version, the model, the size, the credits charged, your balance now, the checks, and a link to open the design in the studio;
  • the notice: AI-generated, check names, numbers and facts before you publish it;
  • the design as a PNG image, so you see it in the chat;
  • the SVG text. A very large SVG comes as a link to a brush://designs/<id>/versions/<n>/svg resource instead.

If the design is not ready after about 50 seconds, the result says so and gives the job id. Call get-job-status with it until it is done. Clients that ask for progress get progress messages while they wait.

export-design returns the SVG as text, a PNG or WebP as an image, and a PDF as an embedded file.

When something goes wrong

  • A job that fails comes back as a tool error that says so. It is not charged.
  • Not enough credits: a tool error with the credits needed, your balance and a link to buy credits. No job is made.
  • Other refusals use the same messages as the REST API's errors.

Resources

  • brush://guide: how to write a good request, what VectorMojo is good at, prices and results. Your client may read it before it calls a tool.
  • brush://designs/<id>/versions/<n>/svg: the SVG of one version of one of your designs.

Designs are AI-generated. Outputs can contain factual mistakes, so review every design before you use it.