supabase-nextjs-server logo

supabase-nextjs-server

by MCP-Mirror

This is a TypeScript-based MCP server implementing a simple notes system for NextJS. It demonstrates core MCP concepts by providing resources, tools, and prompts for managing and summarizing notes.

View on GitHub

Last updated: N/A

What is supabase-nextjs-server?

This is a Model Context Protocol (MCP) server built with TypeScript and Next.js. It provides a simple notes system that demonstrates core MCP concepts like resources, tools, and prompts for interacting with a language model.

How to use supabase-nextjs-server?

To use this server, you need to install it and configure it with Claude Desktop by adding the server configuration to the claude_desktop_config.json file. You also need to set the NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY environment variables. After that, you can use the provided tools and prompts to create and summarize notes.

Key features of supabase-nextjs-server

  • Resources representing text notes with URIs and metadata

  • Tools for creating new notes with title and content parameters

  • Prompts for generating summaries of notes, including note contents as embedded resources

  • Integration with Claude Desktop for MCP functionality

Use cases of supabase-nextjs-server

  • Demonstrating MCP concepts in a practical application

  • Providing a simple notes management system for LLM interaction

  • Generating summaries of notes using LLMs

  • Integrating with Claude Desktop for enhanced LLM workflows

FAQ from supabase-nextjs-server

What environment variables are required?

NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY are required.

How do I install the server?

Clone the repository, install dependencies with npm install, and build the server with npm run build.

How do I configure the server with Claude Desktop?

Add the server configuration to the claude_desktop_config.json file, specifying the path to the built server executable.

How can I debug the server?

Use the MCP Inspector by running npm run inspector.

What is the purpose of the summarize_notes prompt?

The summarize_notes prompt generates a summary of all stored notes, including their content as embedded resources, for use with an LLM.