openai/plugins/vercel-connect
Claude Code and agent skill by openai/plugins
- vendor
Checking that the SKILL.md file is still in the repository.
Vercel Connect expert guidance — securely obtain scoped OAuth tokens for third-party services (Slack, GitHub, MCP servers, OAuth, Snowflake) on behalf of apps or users via Vercel OIDC. Use when wiring up third-party API access, connecting to MCP servers, sending Slack messages, accessing GitHub APIs, receiving webhook events from Slack/Linear/GitHub and forwarding them to your agents and apps, or building Eve agent connections.
Install
npx vskill@latest install openai/plugins/vercel-connectSKILL.md
The same SKILL.md was published earlier as openai/plugins/vercel-connect.
Vercel Connect Skill
Overview
Vercel Connect enables to securely obtain scoped tokens for accessing third-party services on behalf of apps or users. It uses Vercel OIDC tokens to authenticate and exchange for Vercel Connect tokens via the Vercel API.
When to Use Vercel Connect
Use Vercel Connect when you need to:
- Send messages via Slack (as a bot or on behalf of a user)
- Access GitHub repositories or APIs
- Connect to any third-party system that requires OAuth tokens or API credentials
- Obtain tokens for authenticated API calls
Modes of tokens
The SDK supports three subject types — pick based on what's acting:
- `user` — actions performed on behalf of a specific end user (e.g., post a Slack message as the user). Requires a user
idand optionalissuer. - `app` — actions performed as the app itself (e.g., post as a Slack bot, app-level GitHub access). No consent flow — fails terminally if the connector is not installed.
- `jwt-bearer` — RFC 7523 JWT-bearer exchange for connectors that accept a caller-minted assertion. Pass
sub(required), plus optionaliss,aud, andadditionalClaims. Use when the third-party expects you to vouch for the subject via a signed JWT rather than an interactive OAuth grant.
Available Tools
All tools have --format=json option for machine-readable output.
1. Vercel Connect CLI (for Bash/Shell)
Use the vercel connect CLI for command-line operations. Use vercel connect --help to get available commands. The user needs to be authenticated to the Vercel CLI and the commands work within the scope of the user's currently selected Vercel team. For eg it will create & list Connect connectors created within the currently selected Vercel team.
Important! Always run vercel connect commands from the project or agent folder that will consume the connection (the directory containing package.json / vercel.json). Vercel Connect reads the local project context to auto-configure the connection — for example, picking a sensible connector name and uid, setting up project access to the connection, configuring webhooks and triggers. Running from the repo root or an unrelated directory skips this auto-configuration and you'll have to wire things up by hand. If the user invokes a vc connect command from elsewhere, cd into the closest matching project/agent folder first (or pass --cwd <DIR>).
Example commands:
Important! The vercel connect create and vercel connect token commands may open the browser for the user if there's a manual registration required (for eg completing the OAuth consent or installing a slack app to a workspace). The user must visit the browser to complete the process while you wait for the process to complete.
Available Services
| Service | Modes | Description | |
|---|---|---|---|
slack | user, bot | Slack API access | |
github | user, app | GitHub API access | |
| MCP servers | user, app | Any MCP server (mcp.<host>/<path>) | |
snowflake | user | Snowflake data access | |
| Generic OAuth provider | user, app | Any OAuth 2.0 server registered via vercel connect create |
For MCP servers, pass the full endpoint URL when registering (e.g. vercel connect create https://mcp.linear.app/mcp). The connector ID then takes the form mcp.<host>/<name> (for example mcp.linear.app/myagent).
Example: Send a Slack message using curl
2. JavaScript/TypeScript SDK (@vercel/connect)
For JavaScript/TypeScript code, use the @vercel/connect package directly:
The SDK uses the user's Vercel OIDC token to authenticate. The user should have run vc env pull to pull the OIDC token env variables locally (or vc link pulls it automatically)
Eve agents — @vercel/connect/eve
When the project is built on Eve, prefer the connect helper over calling getToken directly inside connection definitions. The helper wires the full token / start-authorization / complete-authorization lifecycle into Eve's connection runtime, so a Vercel Connect-backed connection becomes a single declaration:
Key points for the agent:
- Omit
principalTypefor the default per-user OAuth flow, or set"app"for app-scoped tokens (no consent flow — fail terminally if not installed). - Pass the connector id directly with
connect("mcp.linear.app/myagent"), or useconnect({ connector: "mcp.linear.app/myagent" })when you need options. - For scopes, audiences, or
authorizationDetails, pass them throughtokenParams. For a custom challenge prompt, passinstructions. Both are optional. eveis an optional peer dependency, so the rest of@vercel/connect(CLI,getToken, etc.) is unaffected for non-Eve consumers.
Slack channel — connectSlackCredentials
For Eve Slack channels (agent/channels/slack.ts), use connectSlackCredentials(connector) from @vercel/connect/eve. It returns a complete SlackChannelCredentials object — both the bot token and inbound webhook verification are handled by Vercel Connect, so you do not need SLACK_BOT_TOKEN or SLACK_SIGNING_SECRET env vars:
What the helper wires up:
botToken: a function that callsgetToken(connector, { subject: { type: "app" } })on each inbound webhook, so token rotation, refresh, and multi-workspace tenancy are handled server-side.webhookVerifier: a Vercel OIDC verifier (vercelOidc()). Vercel Connect forwards verified Slack webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Slack signing secret.
Use this whenever the project is on Eve + Vercel Connect — it's the one-liner for both outbound posts and inbound webhook auth.
GitHub channel — connectGitHubCredentials
For Eve GitHub channels (agent/channels/github.ts), use connectGitHubCredentials(connector) from @vercel/connect/eve. It returns a complete GitHubChannelCredentials object — Eve uses the installation token directly (skipping its native GitHub App JWT exchange) and Vercel Connect handles rotation, refresh, and multi-installation tenancy server-side. You do not need GITHUB_APP_PRIVATE_KEY, GITHUB_APP_ID, GITHUB_INSTALLATION_ID, or GITHUB_WEBHOOK_SECRET env vars:
What the helper wires up:
installationToken: a function that callsgetToken(connector, { subject: { type: "app" } }). The helper pinssubjectto"app"— GitHub installation tokens are app-scoped.webhookVerifier: a Vercel OIDC verifier (vercelOidc()). Vercel Connect forwards verified GitHub webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw GitHub webhook secret.
Linear channel — connectLinearCredentials
For Eve Linear channels (agent/channels/linear.ts), use connectLinearCredentials(connector) from @vercel/connect/eve. It returns a complete LinearChannelCredentials object — Vercel Connect manages the Linear app access token and webhook auth, so you do not need LINEAR_API_KEY or LINEAR_WEBHOOK_SECRET env vars:
What the helper wires up:
accessToken: a function that callsgetToken(connector, { subject: { type: "app" } }). The helper pinssubjectto"app"— Linear Agent tokens are app-scoped.webhookVerifier: a Vercel OIDC verifier (vercelOidc()). Vercel Connect forwards verified Linear webhooks to your app as signed Vercel OIDC requests; the helper verifies that signature instead of the raw Linear webhook secret.
3. HTTP API (for other languages)
For other languages, make HTTP requests directly to the Vercel Connect server. The request must be authenticated with the project's Vercel OIDC token (VERCEL_OIDC_TOKEN env var — pulled by vc env pull or injected at runtime):
The response is JSON with a token field (plus expiresAt, connector, and other metadata).
Python Example
4. BetterAuth and AuthJS support
When the app already uses Better Auth or Auth.js for end-user authentication, you can plug a Vercel Connect connector in as an OAuth provider instead of calling getToken directly. The connect helper on each subpath handles the token exchange so provider credentials stay in Vercel Connect rather than in framework config or env vars.
Better Auth — @vercel/connect/betterauth
Optional peer dependency: better-auth. Pass the connector through Better Auth's genericOAuth plugin. Connector UIDs can contain a / (e.g. linear/myagent), and Better Auth additionally requires a providerId:
Auth.js — @vercel/connect/authjs
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 8 Sep 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/vercel/skills/vercel-connect/SKILL.md
Popularity
- Repository stars
- 5,511
- Repository forks
- 790
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openai/plugins/vercel-connect)