
model context protocol mcp with vercel functions
使用 TypeScript 构建的 Model Context Protocol (MCP) 服务器模板,专为 Vercel Functions 设计。
Repository Info
About This Server
使用 TypeScript 构建的 Model Context Protocol (MCP) 服务器模板,专为 Vercel Functions 设计。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Run an MCP Server on Vercel
Usage
Update api/server.ts with your tools, prompts, and resources following the MCP TypeScript SDK documentation.
There is also a Next.js version of this template
Notes for running on Vercel
- Requires a Redis attached to the project under
process.env.REDIS_URL - Make sure you have Fluid compute enabled for efficient execution
- After enabling Fluid compute, open
vercel.jsonand adjust max duration to 800 if you using a Vercel Pro or Enterprise account - Deploy the MCP template
Sample Client
script/test-client.mjs contains a sample client to try invocations.
node scripts/test-client.mjs https://mcp-on-vercel.vercel.app
Quick Start
Clone the repository
git clone https://github.com/geekydev0125/model-context-protocol-mcp-with-vercel-functionsInstall dependencies
cd model-context-protocol-mcp-with-vercel-functions
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.