supabase-nextjs-server MCP Server logo

supabase-nextjs-server MCP Server

by tengfone

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

View on GitHub

Last updated: N/A

What is supabase-nextjs-server MCP Server?

This is a Model Context Protocol (MCP) server built with TypeScript, designed to manage and summarize text notes within a NextJS application. It provides a structured way for LLMs to interact with and understand notes.

How to use supabase-nextjs-server MCP Server?

To use the server, you need to install it and configure it with Claude Desktop. This involves adding the server configuration to the claude_desktop_config.json file, specifying the path to the server's build output. Alternatively, you can install it via Smithery using the provided command. Ensure you have the NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY environment variables set.

Key features of supabase-nextjs-server MCP Server

  • Lists and accesses notes via note:// URIs

  • Provides a create_note tool for creating new notes with title and content

  • Offers a summarize_notes prompt for generating summaries of stored notes

  • Uses plain text mime type for simple content access

Use cases of supabase-nextjs-server MCP Server

  • Providing context to language models about a user's notes

  • Enabling language models to create and manage notes

  • Generating summaries of notes for quick overviews

  • Integrating note-taking functionality into a NextJS application

FAQ from supabase-nextjs-server MCP Server

What are the required environment variables?

NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY are required.

How do I install the server?

You can install it manually by configuring claude_desktop_config.json or automatically via Smithery using npx -y @smithery/cli install @tengfone/supabase-nextjs-mcp-server --client claude.

How do I create a new note?

Use the create_note tool, providing a title and content.

How do I summarize the notes?

Use the summarize_notes prompt, which includes all note contents as embedded resources.

How can I debug the MCP server?

Use the MCP Inspector by running npm run inspector.