Menu

MCP Events support in Vercel Connect is now in public beta - Vercel
📰

MCP Events support in Vercel Connect is now in public beta - Vercel

Vercel News·Allen Zhou·25 days ago
#sqbMR5HG
#vercel#connect#events#request#agents
Reading 0:00
15s threshold

Vercel Connect now supports MCP Events in public beta, allowing your apps and agents to subscribe to webhook events from compatible MCP servers. Build agents for tasks like summarizing new messages, reviewing newly created issues, or responding to document feedback.

Connect creates subscriptions on the MCP server and renews them automatically as needed, verifying the server’s webhooks and forwarding events to your application using authenticated delivery.

You can use the Connect SDK to subscribe to MCP events:

lib/subscribe-to-issues.ts

import { experimental_subscribe } from '@vercel/connect/mcp' ;

// Use a new key for each subscription.

// Reuse it when retrying the same request.

export async function subscribeToIssues ( idempotencyKey : string ) {

return experimental_subscribe ( 'oauth/issues' , {

tokenParams : { subject : { type : 'app' } } ,

name : 'issue.created' ,

arguments : { project_id : 'ABC' } ,

destination : { path : '/hooks' } ,

ttlMs : 24 * 60 * 60 * 1000 ,

idempotencyKey ,

} )…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.