BitHighlander/nextjs-mcp-server
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
house.getDetails
Get common information about a house
house.getRooms
List all rooms (basic information)
house.getRoom
Get detailed information about a specific room
getPassword
Get the password to access room 5
resources.list
List all available resources
resources.get
Get specific resources through ID