1. Conduid
  2. Cloud
  3. Vercel MCP Adapter
MCP server · Cloud

Vercel MCP Adapter

frameworks including Next, Nuxt, Svelte, and more.

Unclaimed cloud
59Fair

Scored 6 months ago · breakdown

About Vercel MCP Adapter

Vercel MCP Adapter is an MCP server in the Cloud category: frameworks including Next, Nuxt, Svelte, and more.

Install

From source
git clone https://github.com/vercel/mcp-adapter

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Vercel MCP Adapter

Powered by Claude · Grounded in docs

I know everything about Vercel MCP Adapter. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-handler

A Vercel adapter for the Model Context Protocol (MCP), enabling real-time communication between your applications and AI models. Supports Next.js and Nuxt.

Installation

npm install mcp-handler @modelcontextprotocol/sdk@1.26.0 zod@^3

Note: Versions of @modelcontextprotocol/sdk prior to 1.26.0 have a security vulnerability. Use version 1.26.0 or later.

Quick Start (Next.js)

// app/api/[transport]/route.ts
import { createMcpHandler } from "mcp-handler";
import { z } from "zod";

const handler = createMcpHandler(
  (server) => {
    server.registerTool(
      "roll_dice",
      {
        title: "Roll Dice",
        description: "Roll a dice with a specified number of sides.",
        inputSchema: {
          sides: z.number().int().min(2),
        },
      },
      async ({ sides }) => {
        const value = 1 + Math.floor(Math.random() * sides);
        return {
          content: [{ type: "text", text: `🎲 You rolled a ${value}!` }],
        };
      }
    );
  },
  {},
  {
    basePath: "/api", // must match where [transport] is located
    maxDuration: 60,
    verboseLogs: true,
  }
);

export { handler as GET, handler as POST };

Connecting Clients

If your client supports Streamable HTTP, connect directly:

{
  "remote-example": {
    "url": "http://localhost:3000/api/mcp"
  }
}

For stdio-only clients, use mcp-remote:

{
  "remote-example": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "http://localhost:3000/api/mcp"]
  }
}

Documentation

Features

  • Framework Support: Next.js and Nuxt
  • Multiple Transports: Streamable HTTP and Server-Sent Events (SSE)
  • Redis Integration: Optional, for SSE transport resumability
  • TypeScript Support: Full type definitions included

Requirements

  • Next.js 13+ or Nuxt 3+
  • Node.js 18+
  • Redis (optional, for SSE)

License

Apache-2.0

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Vercel MCP Adapter

How do I install Vercel MCP Adapter?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Vercel MCP Adapter safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Vercel MCP Adapter still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.