GitHub Issue MCP 服务器
一个基于 TypeScript 的模型上下文协议 (MCP) 服务器,实现了一个简单的笔记系统。
快速入门
功能特点
- 提供
note://
URI 格式的笔记资源,支持标题、内容和元数据。 - 工具:
create_note
创建新笔记。 - 提示:
summarize_notes
生成笔记摘要。
开发步骤
- 安装依赖:运行
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": {
"github-server": {
"command": "/path/to/github-server/build/index.js"
}
}
}
调试工具
使用 MCP Inspector 调试:运行 npm run inspector
并通过浏览器访问调试工具。