My First MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@My First MCPwhat's the weather in London?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This is a Next.js project bootstrapped with create-next-app.
My First MCP Implementation
This project demonstrates a basic implementation of Model Context Protocol (MCP) using Next.js and the Vercel MCP adapter.
Features
Weather Tool: A simple tool that provides weather information for any city
MCP Integration: Uses
@vercel/mcp-adapterfor seamless MCP implementationNext.js App Router: Built with the latest Next.js App Router pattern
Related MCP server: Example Next.js MCP Server
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
MCP Endpoints
/mcp- HTTP endpoint for MCP communication/sse- Server-Sent Events endpoint for streaming
Learn More
To learn more about Next.js and MCP, take a look at the following resources:
Next.js Documentation - learn about Next.js features and API.
Model Context Protocol - learn about MCP specification.
Vercel MCP Adapter - MCP adapter for Vercel.
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA sample MCP server implementation for Next.js projects that uses the Vercel MCP Adapter to handle protocol requests across different transport methods.3MIT
- AlicenseNot gradedqualityDmaintenanceA sample implementation of a Model Context Protocol server using Next.js and the Vercel MCP Adapter, allowing developers to create AI assistants with custom tools and resources.MIT
- -licenseNot gradedqualityNot gradedmaintenanceA template for building MCP servers in Next.js applications using the Vercel MCP Adapter. Provides a foundation for adding custom tools, prompts, and resources to any Next.js project with deployment support on Vercel.-
- -licenseNot gradedqualityNot gradedmaintenanceA template MCP server built with Next.js using the Vercel MCP Adapter. Provides a framework for deploying MCP servers with custom tools, prompts, and resources on Vercel with SSE transport support.-