Skip to content

Vercel MCP can now run AI Gateway models directly

Four new MCP tools let a connected agent generate text, images, decisions and structured extractions through AI Gateway, billed to the team that already has it.

Source: Vercel

Vercel added four tools to its MCP server on 2 December: generate_ai_gateway_text, generate_ai_gateway_image, generate_ai_gateway_decision and generate_ai_gateway_extraction. Any agent connected to Vercel MCP can now call AI Gateway models directly, rather than Vercel MCP being limited to managing the Gateway’s settings.

The text tool sends a conversation to any Gateway text model and returns its reply. The image tool creates up to four images from a prompt, with size, quality and output format options. The decision tool runs classification and scoring tasks, returning choices, scores and boolean probabilities. The extraction tool pulls typed field values out of text, PDFs and images. Vercel’s own example chains three of them in one session: generate four product images, then use a decision model to score and pick the best one. No separate API key is needed; usage draws from the team’s existing AI Gateway credits.

npx -y add-mcp https://mcp.vercel.com -g

Why it matters: this turns AI Gateway into a set of callable tools for whatever MCP-compatible agent or harness you already use, with the same billing and model routing you’ve set up on Vercel. Multi-step agent flows, generate then grade, extract then classify, become a tool chain instead of separate SDK calls to wire up.

The caveat: Vercel didn’t publish which specific models support each tool, nor any rate limits or per-call pricing beyond “draws from Gateway credits.”

Share

Related reading

More from The Wire

All briefs

node-tar patches a Windows RCE bug triggered by npm install

A newline-injection flaw in node-tar let a crafted archive forge its own file paths and run code during npm install on Windows. The fix landed in a string of releases up to 8.1.0 on 2 December.

via GitHub Security Advisories (isaacs/node-tar)