Supabase NextJS MCP Server
supabase-nextjs-server MCP 服务器
模型上下文协议服务器
这是一个基于 TypeScript 的 MCP 服务器,它为 NextJS 实现了一个简单的笔记系统。它通过提供以下内容来演示 MCP 的核心概念:
用 URI 和元数据表示文本注释的资源
创建新笔记的工具
生成笔记摘要的提示
特征
初始化
需要
NEXT_PUBLIC_SUPABASE_URL和NEXT_PUBLIC_SUPABASE_ANON_KEY环境变量
资源
通过
note://URI 列出并访问笔记每个笔记都有标题、内容和元数据
用于简单内容访问的纯文本 MIME 类型
工具
create_note创建新的文本注释将标题和内容作为必需参数
将注释存储在服务器状态中
提示
summarize_notes- 生成所有存储笔记的摘要包含所有笔记内容作为嵌入资源
返回 LLM 摘要的结构化提示
Related MCP server: MCP Server
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"supabase-nextjs-server": {
"command": "/path/to/supabase-nextjs-server/build/index.js"
}
}
}通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Supabase Notes:
npx -y @smithery/cli install @tengfone/supabase-nextjs-mcp-server --client claude调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Available Tools
4 toolsdelete_recordC
Delete a record from Supabase
Inputs: table (required), filters (required).
insert_recordC
Insert a record into Supabase
Inputs: table (required), data (required).
query_dataC
Query data from Supabase
Inputs: table (required), select, filters.
update_recordC
Update a record in Supabase
Inputs: table (required), filters (required), data (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose targeting a specific CRUD operation: delete, insert, query, and update. There is no overlap or ambiguity between these fundamental database operations, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern (delete_record, insert_record, query_data, update_record) with perfect uniformity. The naming convention is predictable and readable throughout the set.
With exactly 4 tools covering the core CRUD operations for a database server, this is well-scoped and appropriate. Each tool earns its place with no redundancy or missing essentials for basic data manipulation.
The tool set provides complete CRUD coverage for the Supabase database domain: create (insert), read (query), update, and delete. There are no obvious gaps for basic data operations, ensuring agents can handle full lifecycle workflows without dead ends.
Maintenance
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that used to create notes
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
MCP server for generating rough-draft project plans from natural-language prompts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis TypeScript-based server implements a simple notes system, allowing users to create and manage text notes and generate summaries, showcasing core MCP concepts.65 npm16Apache 2.0
- FlicenseNot gradedqualityDmaintenanceThis TypeScript-based MCP server allows users to manage a simple notes system through creating and summarizing text notes using Model Context Protocol (MCP).8-
- FlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that enables users to manage text notes with features like note creation and summary generation using a Model Context Protocol.1-
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.123-