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 摘要的结构化提示
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Supabase Notes:
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
基于 TypeScript 的 MCP 服务器,用于处理带有 NextJS 的简单笔记系统,支持使用 MCP 概念创建和汇总文本笔记。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA TypeScript-based MCP server that implements a simple notes system, enabling users to manage text notes with creation and summarization functionalities through structured prompts.Last updated -1289JavaScript
- AsecurityFlicenseAqualityA simple TypeScript-based MCP server that implements a notes system, allowing users to create, list, and generate summaries of text notes via Claude.Last updated -1JavaScript
- AsecurityFlicenseAqualityA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.Last updated -121TypeScript
- -securityFlicense-qualityA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes through Claude Desktop.Last updated -JavaScript