- Marketplace integration: a Graphify workspace owner or admin connects an existing workspace to selected Vercel projects. Each selected project receives
GRAPHIFY_MCP_URLand a sensitiveGRAPHIFY_MCP_TOKEN. Use this when one Vercel project should call Graphify as that workspace. - Vercel Connect connector: each person using your app authorizes their own Graphify account. Your app asks
@vercel/connectfor a token for that person. Use this when the app should call Graphify as the signed-in user.
Marketplace integration
Use the Marketplace integration when a Vercel project needs a project-scoped MCP token managed from Vercel.Before you start
- You are a Graphify workspace owner or admin.
- You have a repository indexed in Graphify, with agent access enabled.
- You can select the Vercel projects and deployment environments that should receive Graphify MCP credentials.
- You will keep the credentials in server-side code. Do not expose
GRAPHIFY_MCP_TOKENto browser code.
1. Install from Vercel Marketplace
- Open Graphify for Vercel.
- Select Connect Account.
- Authorize the existing Graphify workspace.
- Select the Vercel projects that should receive Graphify MCP access.
- Choose deployment environments. Production is selected by default; preview access is optional.
Redeploy the selected projects so the new variables are available at runtime. For local development, pull project environment variables with the Vercel workflow you already use.
Server-side code sends
GRAPHIFY_MCP_TOKEN to the Graphify MCP server as a Bearer token. Use the GRAPHIFY_MCP_URL value from the project environment instead of hard-coding the endpoint.
2. Call Graphify from eve
eve is Vercel’s agent project. Put the connection inagent/connections/graphify.ts:
3. Call Graphify from the AI SDK
The AI SDK can load tools from Graphify’s MCP server and pass them to a model. This sample reads the Marketplace variables from server-side code:4. Manage the integration
Use Configure in Vercel to manage the Graphify connection.- Disconnecting a project revokes that project’s token.
- Removing the integration revokes every token from that installation.
- Your Graphify account and subscription stay intact after removal.
Vercel Connect connector
Use Vercel Connect when each person using the app should authorize their own Graphify account. Connect gives your app a token for that person. The app sends that token to Graphify.acme-graphify below is the example name from the Connect listing. Pick your own. The token id is graphify/ plus that name.
Before you start
- A Vercel account and the Vercel CLI. Connect is available on all Vercel plans. See Vercel Connect.
- A Vercel project.
vercel linkattaches this directory to it. The project can be empty. It exists so Vercel can issue a token to your code. - A repository indexed in your Graphify workspace. Sign in at app.graphify.com, connect a repository, and wait until its status is Indexed. See Repositories and builds.
graphify install.
1. Create the connector
Open Graphify on Vercel Connect and choose Create Connector, or run this from the project directory:vercel env pull writes a local VERCEL_OIDC_TOKEN so getToken can run on your machine. On a Vercel deployment, Vercel supplies that token. If a later call cannot authenticate, run vercel env pull again. The local token is short-lived. Details are in the Connect quickstart.
Complete the Graphify authorization Vercel shows. The listing requests access for the person using the app, under that person’s Graphify permissions.
2. Ask Connect for a token
@vercel/connect is the Connect SDK. Install it, then call getToken with the id of the person using your app. user_123 below is a placeholder.
token to https://api.graphify.com/mcp as Authorization: Bearer <token>. The eve and AI SDK sections below do that for you.
3. Call Graphify
Use one of the two stacks from the listing, or send the Bearer token from your own route.eve
eve is Vercel’s agent project. You declare Graphify as a connection, and eve attaches the tools.agent/connections/graphify.ts:
AI SDK
The AI SDK is Vercel’s library for calling a model from your code and handing it tools. This sample is the one on the listing, including the model id.If something fails
Related
Graphify MCP for VS Code
Connect an editor to the same hosted server.
Vercel Connect
How Connect issues a token and how a project is allowed to ask for one.