supabase-nextjs-mcp-server
6
The Supabase NextJS Server is a Model Context Protocol (MCP) server that provides a notes system for NextJS, featuring tools for note creation and summary generation. It demonstrates core MCP concepts using TypeScript.
Supabase NextJS Server MCP Server
A Model Context Protocol server for implementing a simple notes system in NextJS. This TypeScript-based server showcases core MCP features:
- Resources represent text notes with URIs and metadata.
- Tools for creating new notes.
- Prompts for generating summaries of stored notes.
Features
Init
- Requires
NEXT_PUBLIC_SUPABASE_URL
andNEXT_PUBLIC_SUPABASE_ANON_KEY
environment variables
Resources
- Allows listing and accessing notes via
note://
URIs. Each note includes a title, content, and metadata.
Tools
create_note
: A tool to create new text notes, requiring title and content.
Prompts
summarize_notes
: Generates a summary of all stored notes and returns a structured prompt for LLM summarization.
Installation
Claude Desktop Configuration
- Add the server config on MacOS or Windows in the specified config file.
Installing via Smithery
- Automatic installation available via Smithery CLI for Claude Desktop.
Debugging
- Use the MCP Inspector for debugging over stdio.