AIFeed

Vercel MCP can now run AI Gateway models

Summary

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: 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…

Original text(via Vercel Blog)
题图
题图

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.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗