Nuxt MCP Server on Vercel
Vercel의 Nuxt MCP 서버
이는 @vercel/mcp-adapter 사용하여 Vercel에서 MCP 서버 역할을 하는 간단한 Nuxt 애플리케이션입니다.
용법
이 샘플 앱은 Nuxt 프로젝트의 경로 그룹에 MCP 서버를 추가할 수 있는 Vercel MCP 어댑터를 사용합니다.
MCP TypeScript SDK 설명서 에 따라 도구, 프롬프트 및 리소스로 server/routes/mcp/[transport].ts 업데이트합니다.
MCP 서버는 /mcp/[transport] 에 마운트됩니다(예: /mcp/sse ).
Related MCP server: Example Next.js MCP Server
설정
종속성을 설치해야 합니다.
지엑스피1
개발 서버
Redis가 로컬에서 실행되고 있는지 확인하세요.
redis-server다른 터미널에서 http://localhost:3000 으로 개발 서버를 시작합니다.
pnpm dev생산
프로덕션을 위한 애플리케이션을 빌드합니다.
pnpm build로컬로 프로덕션 빌드를 미리 보기:
pnpm preview자세한 내용은 배포 문서를 확인하세요.
Vercel에서 실행하기 위한 참고 사항
SSE 전송을 사용하려면
process.env.REDIS_URL아래 프로젝트에 연결된 Redis가 필요합니다.효율적인 실행을 위해 Fluid 컴퓨팅이 활성화되어 있는지 확인하세요.
Fluid 컴퓨팅을 활성화한 후
server/routes/mcp/[transport].ts열고 Vercel Pro 또는 Enterprise 계정을 사용하는 경우maxDuration800으로 조정합니다.
샘플 클라이언트
script/test-client.mjs 에는 호출을 시도해 볼 수 있는 샘플 클라이언트가 포함되어 있습니다.
node scripts/test-client.mjs http://localhost:3000크레딧
이 프로젝트는 Next.js MCP 템플릿을 기반으로 합니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.
Related MCP Servers
- AlicenseDqualityDmaintenanceA ready-to-use starter implementation of the Model Context Protocol (MCP) server that enables applications to provide standardized context for LLMs with sample resources, tools, and prompts.21MIT
- 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
- AlicenseNot gradedqualityDmaintenanceA sample implementation of Model Context Protocol server using Next.js and the Vercel MCP Adapter, allowing developers to create custom AI agent backends with tools, prompts, and resources.MIT
- AlicenseNot gradedqualityDmaintenanceA template for deploying Model Context Protocol servers as Next.js routes using the mcp-handler adapter, enabling easy integration of MCP tools, prompts, and resources into any Next.js application.MIT