
Github Gist
io.github.ofershap由 GitHub 账号 ofershap 发布v1.0.2更新于 Oct 24, 2026
MCP server to create, read, update, list, and search GitHub Gists from your IDE
概览
一个 MCP 服务器,让 AI 助手在 IDE 中创建、读取、更新、列出、搜索、加星和删除 GitHub Gist。
- 可以做什么
- 列出你的 gist 和已加星的 gist,支持分页以及按 ID 或内容搜索。按 ID 读取 gist,包括文件内容。用代码片段创建新的公开或私密 gist。更新 gist 的描述或文件内容。为 gist 加星、取消加星或删除 gist。
- 适用场景
- 适合想把代码片段保存为 gist、查找已有 gist,或在不离开 Claude Desktop、Cursor、VS Code Copilot 的情况下管理 gist 元数据时使用。它补充了只覆盖仓库和 issue 而不含 gist 的通用 GitHub 服务器。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。需要带 gist 权限范围的 GitHub 个人访问令牌,设置为 GITHUB_TOKEN 或 GITHUB_PERSONAL_ACCESS_TOKEN 环境变量,并需要访问 GitHub 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Github Gist,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP Server GitHub Gist — Manage Gists from Your AI Assistant
[npm version] [npm downloads] [CI] [License: MIT]
An MCP server to create, read, update, and search GitHub Gists without leaving your AI assistant. The official GitHub MCP server handles repos and issues — this one fills the Gist gap.
Works with Claude Desktop, Cursor, and VS Code Copilot.
[MCP server GitHub Gist demo — creating and listing gists from Claude Desktop]
Tools
Quick Start
With Claude Desktop
Add to your claude_desktop_config.json:
With Cursor
Add to your .cursor/mcp.json:
Authentication
Requires a GitHub personal access token with the gist scope.
- Go to GitHub Settings > Tokens
- Create a token with the gist scope
- Set it as
GITHUB_TOKENorGITHUB_PERSONAL_ACCESS_TOKENenvironment variable
Examples
Ask your AI assistant:
- "List my recent gists"
- "Create a gist with this code snippet"
- "Show me gist abc123"
- "Update the description of gist abc123"
- "Delete gist abc123"
- "Star this gist"
Development
Author
README built with README Builder
License
来源:README.md,提交 806525b
工具
0版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分