vercel-connect

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

Updated Aug 21, 2025
One-click install
npx skills add https://github.com/Adithiya-S/AI-Study-Companion --skill vercel-connect-adithiya-s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-connect
Source: https://github.com/Adithiya-S/AI-Study-Companion/tree/main/.agents/skills/vercel-connect
Command: npx skills add https://github.com/Adithiya-S/AI-Study-Companion --skill vercel-connect-adithiya-s

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 juggling, and token rotation logic. Vercel Connect centralizes this by exchanging Vercel OIDC tokens for scoped third-party tokens, eliminating hand-managed secrets. ## Core Features & Use Cases - Scoped Token Issuance: 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 like connectSlackCredentials and connectGitHubCredentials wire both outbound tokens and inbound webhook verification without SLACK_BOT_TOKEN or GITHUB_APP_PRIVATE_KEY env vars. - Auth Framework Support: Plug connectors into Better Auth or Auth.js as OAuth providers so credentials stay in Vercel Connect. - Use Case: You want your app to post Slack messages as a bot. Run vercel connect create slack, complete the browser consent, then call getToken with an app subject and post to chat.postMessage. ## Quick Start Ask the agent to set up a Slack connection with Vercel Connect and send a test message to a channel.

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> or use getToken with an app subject in the @vercel/connect SDK. The token works directly with Slack API methods like chat.postMessage.

How do I connect my eve agent to an MCP server?

Register the MCP server with vercel connect create using its full URL, such as https://mcp.linear.app/mcp. Then in your eve connection definition, pass the connector id to the connect helper from @vercel/connect/eve, which handles the full token and authorization lifecycle.

Can I use Vercel Connect with Better Auth or Auth.js?

Yes. The @vercel/connect/betterauth and @vercel/connect/authjs subpaths export a connect helper that registers a connector as an OAuth provider. Better Auth requires a providerId and Auth.js requires an id alongside the connector UID.

Does Vercel Connect work outside JavaScript projects?

Yes. Any language can call the HTTP API at api.vercel.com/v1/connect/token/<connector> authenticated with the VERCEL_OIDC_TOKEN environment variable. The response returns a token field usable for third-party API calls, as shown in the Python example.

Why should I run vercel connect commands from the project folder?

Vercel Connect reads the local project context to auto-configure the connection, including connector naming, project access, and webhook setup. Running from the repo root or an unrelated directory skips this auto-configuration and requires manual wiring afterward.

Do I still need SLACK_BOT_TOKEN or GITHUB_APP_PRIVATE_KEY env vars?

No, when using eve channel helpers like connectSlackCredentials or connectGitHubCredentials. These helpers supply token functions and Vercel OIDC webhook verifiers, so Vercel Connect handles rotation, refresh, and webhook signature verification server-side.