nextjs-mcp-server

BitHighlander/nextjs-mcp-server

3.2

If you are the rightful owner of nextjs-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Motion Control Protocol (MCP) server implementation using Next.js, designed to integrate with Cursor as an external tool provider.

The Next.js MCP Server is a robust implementation of the Motion Control Protocol using the Next.js framework. It is designed to facilitate real-time communication and tool invocation through a JSON-RPC compliant API. The server supports Server-Sent Events (SSE) for real-time updates and is compatible with Cursor's MCP requirements. It includes a house exploration example, allowing users to interact with rooms, items, and resources. The server is built using Next.js App Router, leveraging API Routes for JSON-RPC endpoints and TypeScript for type safety. This setup ensures a seamless integration with Cursor, providing a reliable and efficient MCP server solution.

Features

  • Server-Sent Events (SSE) for real-time communication
  • JSON-RPC compliant API for tool invocation
  • House exploration example with rooms, items, and resources
  • Compatible with Cursor's MCP requirements
  • Built with Next.js App Router and TypeScript

Tools

  1. house.getDetails

    Get common information about a house

  2. house.getRooms

    List all rooms (basic information)

  3. house.getRoom

    Get detailed information about a specific room

  4. getPassword

    Get the password to access room 5

  5. resources.list

    List all available resources

  6. resources.get

    Get specific resources through ID