# How to integrate Vercel MCP with OpenCode

```json
{
  "title": "How to integrate Vercel MCP with OpenCode",
  "toolkit": "Vercel",
  "toolkit_slug": "vercel",
  "framework": "OpenCode",
  "framework_slug": "opencode",
  "url": "https://composio.dev/toolkits/vercel/framework/opencode",
  "markdown_url": "https://composio.dev/toolkits/vercel/framework/opencode.md",
  "updated_at": "2026-05-06T08:33:03.757Z"
}
```

## Introduction

### How to integrate Vercel MCP with OpenCode
This guide explains how to connect Vercel MCP to OpenCode using Composio Connect, which simplifies OAuth, API changes, and reliability concerns.
There are two ways to set this up:
- Via [Composio Connect MCP](https://dashboard.composio.dev/)
- Via the [Composio CLI](https://dashboard.composio.dev/)

## Also integrate Vercel with

- [ChatGPT](https://composio.dev/toolkits/vercel/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/vercel/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/vercel/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/vercel/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/vercel/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/vercel/framework/codex)
- [Cursor](https://composio.dev/toolkits/vercel/framework/cursor)
- [VS Code](https://composio.dev/toolkits/vercel/framework/vscode)
- [OpenClaw](https://composio.dev/toolkits/vercel/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/vercel/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/vercel/framework/cli)
- [Google ADK](https://composio.dev/toolkits/vercel/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/vercel/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/vercel/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/vercel/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/vercel/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/vercel/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides a single MCP server or CLI tool that exposes a set of meta-tools, allowing you to:
- Connect to 1,000+ apps with on-demand tool loading, so you do not fill your LLM context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote Bash tool, letting LLMs write their own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the LLM context to keep conversations lean.

## Connect Vercel to OpenCode

### Connect Vercel with OpenCode
### Option 1: Using Composio CLI
### 1. Install Composio CLI
Install the Composio CLI, authenticate, and initialize your project:

```bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login
```

## What is the Vercel MCP server, and what's possible with it?

The Vercel MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Vercel account. It provides structured and secure access to your Vercel projects and deployments, so your agent can perform actions like creating deployments, managing environment variables, handling edge configs, and checking domain statuses on your behalf.
- Automated deployments and rollbacks: Easily instruct your agent to create new deployments or remove outdated ones, streamlining your release process without manual steps.
- Environment variable management: Let your agent add or update sensitive configuration values across different environments, ensuring your projects are set up correctly before a deploy.
- Edge configuration and token handling: Have your agent create new edge configs or generate secure tokens for read-only access, optimizing how your content is served globally.
- Domain availability and pricing checks: Ask your agent to verify if a domain is available and fetch the latest price before you make a purchase decision.
- Authentication token management: Enable your agent to create or revoke Vercel API tokens, giving you fine-grained control over programmatic access to your account.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `VERCEL_ADD_ENVIRONMENT_VARIABLE` | Add Environment Variable | Tool to add an environment variable to a vercel project. use after confirming the project exists and you need to configure secrets or configuration values across environments before deployment. example: "add api key=secret to production". |
| `VERCEL_CHECK_CACHE_ARTIFACT_EXISTS` | Check Cache Artifact Exists | Tool to check if a cache artifact exists by its hash. use when verifying whether a cache artifact is already stored before upload. |
| `VERCEL_CHECK_DOMAIN_AVAILABILITY` | Check Domain Availability | Tool to check if a domain is available for registration. use when you need to verify domain availability before purchase. |
| `VERCEL_CHECK_DOMAIN_PRICE` | Check Domain Price | Tool to check the price for a domain before purchase. use when evaluating cost and availability prior to domain registration. |
| `VERCEL_CREATE_AUTH_TOKEN` | Create Auth Token | Tool to create a new authentication token. use when you need to programmatically generate a new token after validating permissions. example: "create auth token named my-token" |
| `VERCEL_CREATE_EDGE_CONFIG` | Create Edge Config | Tool to create a new edge config for a vercel project. use when you need to define edge caching settings before deploying your project across a specified repository. |
| `VERCEL_CREATE_EDGE_CONFIG_TOKEN` | Create Edge Config Token | Tool to create a new token for a specific edge config. use when you need a read-only access token after provisioning your edge config. |
| `VERCEL_CREATE_NEW_DEPLOYMENT` | Create new deployment | Tool to create a new deployment. use when you need to deploy files or a git commit to a vercel project. |
| `VERCEL_DELETE_AUTH_TOKEN` | Delete Auth Token | Tool to delete an authentication token. use when you need to revoke a token programmatically after confirming its validity. example: "delete auth token with id abc123" |
| `VERCEL_DELETE_DEPLOYMENT` | Delete Deployment | Tool to delete a specific deployment by its unique id. use after confirming the deployment identifier to clean up unused or failed deployments. |
| `VERCEL_DELETE_EDGE_CONFIG_TOKENS` | Delete Edge Config Tokens | Tool to delete tokens associated with a specific edge config. use when you need to revoke one or more access tokens from an existing edge config by its id. |
| `VERCEL_DELETE_ENVIRONMENT_VARIABLE` | Delete Environment Variable | Tool to delete a specific environment variable from a project. use after verifying the correct variable id to remove it. |
| `VERCEL_DELETE_PROJECT` | Delete Vercel Project | Tool to delete a specific project by its id or name. use after confirming the correct project id or name to permanently remove it. |
| `VERCEL_DEPLOY_EDGE_FUNCTION` | Deploy Edge Function | Deploy edge functions to vercel. use when you need to deploy serverless functions that run on the edge runtime with fast cold starts and global distribution. |
| `VERCEL_GET_AUTH_TOKEN_METADATA` | Get Auth Token Metadata | Tool to retrieve metadata for an authentication token. use when you need to inspect details of a specific token for auditing or debugging. |
| `VERCEL_GET_DEPLOYMENT_DETAILS` | Get deployment details | Tool to retrieve detailed information about a specific deployment. use after triggering a deployment and you need to inspect its status and configuration. example: "get details for deployment dpl 123abc". |
| `VERCEL_GET_DEPLOYMENT_EVENTS` | Get Deployment Events | Tool to retrieve events related to a specific deployment. use when monitoring or debugging deployment history or streaming real-time events. example: "get events for deployment dpl xxx since 1540095775941." |
| `VERCEL_GET_DEPLOYMENT_LOGS` | Get Deployment Logs | Tool to retrieve logs for a specific vercel deployment. use when monitoring deployment execution, debugging issues, or analyzing deployment performance. example: "get logs for deployment dpl xxx since 1540095775941." |
| `VERCEL_GET_DOMAIN_TRANSFER_INFO` | Get Domain Transfer Info | Tool to get information required to transfer a domain to vercel. use when you need to check transfer availability or current status before initiating a transfer. |
| `VERCEL_GET_EDGE_CONFIG` | Get Edge Config | Tool to retrieve details of a specific edge config. use when you need to inspect edge config metadata by id before updating or deleting. |
| `VERCEL_GET_EDGE_CONFIG_ITEM` | Get Edge Config Item | Tool to retrieve a specific item within an edge config. use after obtaining the edge config id and when you need to inspect or validate a particular configuration item by its key. |
| `VERCEL_GET_EDGE_CONFIG_TOKEN` | Get Edge Config Token | Tool to retrieve details of a specific token associated with an edge config. use when you need metadata for an existing edge config token. |
| `VERCEL_GET_PROJECT` | Get Vercel Project | Tool to retrieve information about a vercel project by id or name. use when you need project metadata after obtaining its identifier. |
| `VERCEL_LIST_ALIASES` | List Vercel Aliases | Tool to list all aliases for the authenticated user or team. use when you need to retrieve aliases filtered by various criteria. |
| `VERCEL_LIST_ALL_DEPLOYMENTS` | List All Deployments | Tool to list all deployments. use after authenticating to retrieve deployments under your user or team context. example: "list deployments for project qmx...". |
| `VERCEL_LIST_AUTH_TOKENS` | List Auth Tokens | Tool to list authentication tokens. use when you need to retrieve all tokens for the current user or an optional team. |
| `VERCEL_LIST_DEPLOYMENT_CHECKS` | List Deployment Checks | Tool to retrieve a list of checks for a specific deployment. use after a deployment to inspect check statuses and results. |
| `VERCEL_LIST_EDGE_CONFIG_ITEMS` | List Edge Config Items | Tool to retrieve a list of items within a specific edge config. use when you need to inspect or manage all key–value items after creating an edge config. |
| `VERCEL_LIST_EDGE_CONFIGS` | List Edge Configs | Tool to list all edge configs. use when you need to enumerate all edge config definitions for your account or team. |
| `VERCEL_LIST_EDGE_CONFIG_TOKENS` | List Edge Config Tokens | Tool to retrieve a list of tokens for a specific edge config. use after obtaining an edge config's id to list its tokens. |
| `VERCEL_LIST_ENV_VARIABLES` | List Environment Variables | Tool to list environment variables for a specific project. use when you need to inspect or page through the environment settings before deployment. |
| `VERCEL_LIST_TEAMS` | List All Teams | Tool to list all teams accessible to the authenticated user. use after authentication to retrieve their ids and slugs. |
| `VERCEL_UPDATE_EDGE_CONFIG` | Update Edge Config | Tool to update an existing edge config. use when you need to rename the slug of an edge config for reorganization or migration purposes. only the slug field may be updated; ensure you confirm the new slug before using. |
| `VERCEL_UPDATE_EDGE_CONFIG_ITEMS` | Update Edge Config Items | Tool to update items within a specific edge config. use when you need to batch modify, add, or remove key-value pairs in an existing edge config. |
| `VERCEL_UPDATE_PROJECT` | Update Vercel Project | Tool to update an existing project. use when you need to modify a vercel project’s configuration before deployment. use after confirming the project id or name. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, OpenCode can access the Vercel MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Vercel is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Vercel MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/vercel/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/vercel/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/vercel/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/vercel/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/vercel/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/vercel/framework/codex)
- [Cursor](https://composio.dev/toolkits/vercel/framework/cursor)
- [VS Code](https://composio.dev/toolkits/vercel/framework/vscode)
- [OpenClaw](https://composio.dev/toolkits/vercel/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/vercel/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/vercel/framework/cli)
- [Google ADK](https://composio.dev/toolkits/vercel/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/vercel/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/vercel/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/vercel/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/vercel/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/vercel/framework/crew-ai)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.
- [Bench](https://composio.dev/toolkits/bench) - Bench is a benchmarking tool for automated performance measurement and analysis. It helps you quickly evaluate, compare, and track your systems or workflows.
- [Better stack](https://composio.dev/toolkits/better_stack) - Better Stack is a monitoring, logging, and incident management solution for apps and services. It helps teams ensure application reliability and performance with real-time insights.
- [Bitbucket](https://composio.dev/toolkits/bitbucket) - Bitbucket is a Git-based code hosting and collaboration platform for teams. It enables secure repository management and streamlined code reviews.
- [Blazemeter](https://composio.dev/toolkits/blazemeter) - Blazemeter is a continuous testing platform for web and mobile app performance. It empowers teams to automate and analyze large-scale tests with ease.
- [Blocknative](https://composio.dev/toolkits/blocknative) - Blocknative delivers real-time mempool monitoring and transaction management for public blockchains. Instantly track pending transactions and optimize blockchain interactions with live data.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Vercel MCP?

With a standalone Vercel MCP server, the agents and LLMs can only access a fixed set of Vercel tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Vercel and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with OpenCode?

Yes, you can. OpenCode fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Vercel tools.

### Can I manage the permissions and scopes for Vercel while using Tool Router?

Yes, absolutely. You can configure which Vercel scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Vercel data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
