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

已驗證STDIO僅桌面檔案與儲存開發者工具

概覽

AI 產生的概覽

一個 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 的網路存取。
安裝前請注意
需要具備 gist 權限範圍的 GitHub 個人存取權杖,透過 GITHUB_TOKEN 或 GITHUB_PERSONAL_ACCESS_TOKEN 環境變數傳入,應視為機密。助理可以建立、更新、加星號和刪除 gist,且 gist 可能是公開的,發布前請檢查內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Github Gist,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

You: "Save this code snippet as a gist called 'auth-middleware.ts'"AI:  ✅ Created secret gist: https://gist.github.com/abc123

Works with Claude Desktop, Cursor, and VS Code Copilot.

[MCP server GitHub Gist demo — creating and listing gists from Claude Desktop]

Tools

ToolWhat it does
gist_listList your gists (paginated)
gist_getGet a gist by ID (includes file contents)
gist_createCreate a new gist (public or secret)
gist_updateUpdate description or file contents
gist_deleteDelete a gist
gist_starredList your starred gists
gist_starStar a gist
gist_unstarUnstar a gist

Quick Start

With Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "github-gist": {      "command": "npx",      "args": ["-y", "mcp-server-github-gist"],      "env": {        "GITHUB_TOKEN": "ghp_your_token_here"      }    }  }}

With Cursor

Add to your .cursor/mcp.json:

json
{  "mcpServers": {    "github-gist": {      "command": "npx",      "args": ["-y", "mcp-server-github-gist"],      "env": {        "GITHUB_TOKEN": "ghp_your_token_here"      }    }  }}

Authentication

Requires a GitHub personal access token with the gist scope.

  1. Go to GitHub Settings > Tokens
  2. Create a token with the gist scope
  3. Set it as GITHUB_TOKEN or GITHUB_PERSONAL_ACCESS_TOKEN environment 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

bash
npm installnpm testnpm run build

Author

[Made by ofershap]

[LinkedIn] [GitHub]


README built with README Builder

License

MIT © Ofer Shapira

來源:README.md,提交 806525b

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分