Feedback

Example Next.js MCP Server — by rajatsandeepsen

@rajatsandeepsen Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
rajatsandeepsen
Submitted by
Community
Quality
20
Stars
1

About Example Next.js MCP Server

MCP Server for Beckn Protocol (SSE Transport)

Example Next.js MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by rajatsandeepsen. Supported transport: stdio. Runtime: node. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: aisdk, beckn-protocol, bun, mcp, nextjs.

Setup

{
    "mcpServers": {
        "beckn-mcp": {
            "command": "node",
            "args": [
                "scripts/test-client.mjs",
                "https://mcp-for-next-js.vercel.app"
            ]
        }
    }
}

Example Next.js MCP Server — by rajatsandeepsen config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "beckn-mcp": {
            "command": "node",
            "args": [
                "scripts/test-client.mjs",
                "https://mcp-for-next-js.vercel.app"
            ]
        }
    }
}

Example Next.js MCP Server — by rajatsandeepsen tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Example Next.js MCP Server?

It is an MCP server that integrates with Next.js using the @vercel/mcp-adapter. It allows developers to add MCP capabilities (tools, prompts, resources) to any Next.js project and deploy them on Vercel.

How to use Example Next.js MCP Server?

Update app/[transport]/route.ts with your tools, prompts, and resources following the MCP TypeScript SDK documentation. Use the sample client in scripts/test-client.mjs to test invocations, for example: node scripts/test-client.mjs https://mcp-for-next-js.vercel.app.

Key features of Example Next.js MCP Server

  • Uses the Vercel MCP Adapter for easy integration.
  • Supports SSE transport (requires Redis).
  • Requires Fluid compute for efficient execution.
  • Adjustable maxDuration (up to 800 seconds on Pro/Enterprise).
  • Deployable from the Next.js MCP template.
  • Includes a sample client for testing invocations.

Use cases of Example Next.js MCP Server

  • Adding an MCP server to an existing Next.js project.
  • Deploying MCP tools, prompts, and resources on Vercel.
  • Building and testing MCP invocations with a sample client.

Frequently asked questions

1 Does SSE transport require any additional services?

Yes, SSE transport requires a Redis instance attached to the project under process.env.REDIS_URL.

2 What compute settings are needed?

Fluid compute must be enabled for efficient execution. After enabling it, adjust maxDuration in app/route.ts to 800 if using a Vercel Pro or Enterprise account.

3 Where can I get started quickly?

Deploy the Next.js MCP template from Vercel.

4 What transport options are available?

The sample uses SSE transport. No other transports are mentioned in the README.

5 How do I test the server?

Run the provided sample client with your server URL: node scripts/test-client.mjs <url>.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬