Skip to content

vercel-labs/express-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express MCP Server on Vercel

Model Context Protocol (MCP) server built with Express.js that provides weather data tools.

Deploy with Vercel

Clone and run locally

git clone https://github.com/vercel-labs/express-mcp
pnpm i
pnpm dev

Features

This MCP server provides weather-related tools:

  • get-alerts: Get weather alerts for a US state (requires 2-letter state code)
  • get-forecast: Get weather forecast for a location (requires latitude/longitude)

Testing

You can connect to the server using MCP Inspector or any other MCP client. Be sure to include the /mcp path in the connection URL (e.g., https://your-deployment.vercel.app/mcp).

API Endpoints

  • POST /mcp: Handles incoming messages for the MCP protocol

Releases

No releases published

Packages

No packages published