convex-mcp-server MCP Server
镜像
简介
Convex MCP 服务器是一个基于 TypeScript 的工具,实现了简单的笔记系统,展示核心 MCP 概念:
- 通过
note://
URI 访问的文本笔记资源 - 创建新笔记的工具功能
安装与设置
-
安装依赖:
npm install
-
构建服务器:
npm run build
-
配置 Claude Desktop:
在配置文件中添加服务器设置:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "convex-mcp-server": { "command": "/path/to/convex-mcp-server/build/index.js" } } }
- MacOS:
功能使用
- 笔记资源:通过
note://
URI 访问笔记,包含标题、内容和元数据 - 创建笔记:使用
create_note
工具(需提供标题和内容)
开发与调试
-
开发模式(自动重建):
npm run watch
-
使用调试工具:
npm run inspector
在浏览器中打开提供的 URL 进行调试