io.github.ofershap/github-gist

السجل الرسمي أدوات المطورين

MCP server to create, read, update, list, and search GitHub Gists from your IDE

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mcp-server-github-gist
Claude Code
claude mcp add github-gist -- npx -y mcp-server-github-gist@1.0.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "github-gist": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-server-github-gist@1.0.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. MCP Server GitHub Gist — Manage Gists from Your AI Assistant
  2. Tools
  3. Quick Start
  4. Authentication
  5. Examples
  6. Development
  7. Author
  8. License

MCP Server GitHub Gist — Manage Gists from Your AI Assistant

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.

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:

{
  "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:

{
  "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

npm install
npm test
npm run build

Author


README built with README Builder

License

MIT © Ofer Shapira

الأسئلة الشائعة

ما هو io.github.ofershap/github-gist؟

MCP server to create, read, update, list, and search GitHub Gists from your IDE

كيف أثبّت io.github.ofershap/github-gist؟

يعمل على جهازك. في Claude Code: claude mcp add github-gist -- npx -y mcp-server-github-gist@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.ofershap/github-gist إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.ofershap/github-gist مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.ofershap/github-gist؟

ينشره ofershap. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.