MCP Nextjs MCP Server

This is a Next.js-based application that provides an MCP (Model Context Protocol) server with OAuth 2.1 authentication support. It is intended as a

Local serverstdio

What is the MCP Nextjs MCP Server?

This is a Next.js-based application that provides an MCP (Model Context Protocol) server with OAuth 2.1 authentication support. It is intended as a model for building your own MCP server in a Next.js context. It uses the @vercel/mcp-adapter to handle the MCP.

What MCP Nextjs does

This is a Next.js-based application that provides an MCP (Model Context Protocol) server with OAuth 2.1 authentication support. It is intended as a model for building your own MCP server in a Next.js context. It uses the @vercel/mcp-adapter to handle the MCP protocol, in order to support both SSE and Streamable HTTP transports.

Practical notes

  • Maintained by run-llama.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP Nextjs MCP Server

claude mcp add nextjs --env DATABASE_URL=your-value --env AUTH_SECRET=your-value --env GOOGLE_CLIENT_ID=your-value --env GOOGLE_CLIENT_SECRET=your-value --env REDIS_URL=your-value -- npx -y prisma

Configuration

VariableDescriptionRequired
DATABASE_URLEndpoint or connection string the server talks to.Yes
AUTH_SECRETCredential the server authenticates with.Yes
GOOGLE_CLIENT_IDConfiguration value read at startup.Optional
GOOGLE_CLIENT_SECRETCredential the server authenticates with.Yes
REDIS_URLEndpoint or connection string the server talks to.Yes

Frequently asked questions

This is a Next.js-based application that provides an MCP (Model Context Protocol) server with OAuth 2.1 authentication support. It is intended as a model for Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.