Skip to content
AI NEWS JOURNAL
VercelAI NEWS / JOURNAL

Vercel MCP can now run AI Gateway models

Vercel MCP introduces four new tools for running AI Gateway models directly within agents: generate_ai_gateway_text, generate_ai_gateway_image, generate_ai_gateway_decision, and generate_ai_gateway_extraction. These tools enable tasks like text generation, image creation, decision-making, and data extraction, with support for chaining in a single session. Authentication uses existing Vercel MCP sign-in, and usage draws from team AI Gateway credits. Developers can integrate the tools via a command line setup.

You can now use Vercel MCP to run AI Gateway models directly from your agent. Vercel MCP adds four tools: generate_ai_gateway_text sends a conversation to any AI Gateway text model and returns its reply. generate_ai_gateway_image creates up to 4 images from a text prompt, with size, quality, and output format options. generate_ai_gateway_decision asks a decision model typed questions about one input and returns choices, scores, and boolean probabilities, for classification, routing, verification, and scoring. generate_ai_gateway_extraction uses an extraction model to pull typed field values from text, PDFs, and images. Your agent can chain the tools in one session, such as generating images and then scoring them with a decision call. Try a prompt like this: Use AI Gateway to generate four product thumbnails of a matte black ceramic coffee mug on a plain white background. Then score each image with a decision model for how closely it matches that description, and keep the highest-scoring one. The tools authenticate with your existing Vercel MCP sign-in, so you don't need a separate API key. Usage comes out of your team's AI Gateway credits. To get started, add Vercel MCP to your AI clients (e.g., Claude Code) across all your projects: npx -y add-mcp https://mcp.vercel.com -g Read the Vercel MCP AI Gateway tools reference to learn more.

Sources

Read original ↗

Related topics

← Continue to all updates