vercel-connect

Obtains scoped OAuth tokens for third-party services via Vercel OIDC authentication.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/dsgalkar/dnyaneshwar_portfolio --skill vercel-connect-dsgalkar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-connect
Source: https://github.com/dsgalkar/dnyaneshwar_portfolio/tree/main/.agents/plugins/vercel/skills/vercel-connect
Command: npx skills add https://github.com/dsgalkar/dnyaneshwar_portfolio --skill vercel-connect-dsgalkar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @vercel/connect.

What problem does it solve? Managing OAuth tokens, API credentials, and webhook secrets for third-party services like Slack, GitHub, Linear, and Snowflake requires manual app registration, env var management, and token rotation. This Skill replaces that with scoped tokens obtained through Vercel OIDC authentication. ## Core Features & Use Cases - Scoped Token Exchange: Get user, app, or jwt-bearer tokens for Slack, GitHub, MCP servers, Snowflake, and generic OAuth providers via CLI, TypeScript SDK, or HTTP API. - eve Agent Integration: One-line helpers (connectSlackCredentials, connectGitHubCredentials, connectLinearCredentials) wire outbound tokens and inbound webhook verification without env vars like SLACK_BOT_TOKEN or GITHUB_APP_PRIVATE_KEY. - Auth Framework Support: Plug connectors into Better Auth or Auth.js as OAuth providers via @vercel/connect/betterauth and @vercel/connect/authjs. - Use Case: Send a Slack message from your app by running vercel connect create slack, then calling getToken("slack/myagent", { subject: { type: "app" } }) and posting to the Slack API. ## Quick Start Ask the AI to set up a Vercel Connect connector for Slack and send a test message to a channel using the obtained token.

Frequently Asked Questions about vercel-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a Slack bot token with Vercel Connect?

Run `vercel connect create slack` from your project folder, complete the browser-based Slack app installation, then call `vercel connect token <connector> --subject app` or use `getToken(connector, { subject: { type: "app" } })` from the @vercel/connect SDK.

How to connect an MCP server to my agent?

Register the MCP server with `vercel connect create https://mcp.linear.app/mcp`, which produces a connector ID like `mcp.linear.app/myagent`. In eve projects, pass it to `connect("mcp.linear.app/myagent")` inside a `defineMcpClientConnection` definition.

Does Vercel Connect work with Better Auth or Auth.js?

Yes. Use `@vercel/connect/betterauth` with Better Auth's genericOAuth plugin, or `@vercel/connect/authjs` as an OAuth2Config provider in Auth.js. Both exchange tokens through Vercel Connect so credentials stay out of env vars.

Can I use Vercel Connect from Python or other languages?

Yes. Make an authenticated POST to `https://api.vercel.com/v1/connect/token/<connector>` with your `VERCEL_OIDC_TOKEN` as the Bearer token and a JSON subject body. The response contains the token, expiry, and connector metadata.

Why does vercel connect create open a browser window?

The command opens a browser when manual registration is required, such as completing OAuth consent or installing a Slack app to a workspace. The user must finish the flow in the browser before the command completes and returns the connector ID.

When should I use app vs user subject tokens?

Use `app` for actions performed as the application itself, like posting as a Slack bot or GitHub installation access, with no consent flow. Use `user` when acting on behalf of a specific end user, which requires a user id and optional issuer.