MCP Server Github Gist logo

MCP Server Github Gist

by ofershap

Manage GitHub Gists from an AI assistant, including creating, reading, updating, listing, starring, and deleting gists.

Install MCP Server Github Gist

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ofershap-mcp-server-github-gist": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-github-gist"
      ],
      "env": {
        "GITHUB_TOKEN": "YOUR_VALUE_HERE",
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 8 tools correctly (1mo ago).

Overview

This MCP server lets an AI assistant manage GitHub Gists without leaving the development environment. Use it to create public or secret gists, inspect file contents, update descriptions or files, and manage stars. It requires a GitHub personal access token with the gist scope.

Use cases

  • Create a gist from a code snippet
  • List recent or starred gists
  • Read a gist and its file contents
  • Update a gist description or file
  • Delete or star a gist

Key features

  • Create public or secret gists
  • List gists with pagination
  • Read gists by ID with file contents
  • Update descriptions or file contents
  • Delete gists
  • Star and unstar gists

Tools8

What MCP Server Github Gist lets your agent do. Expand a tool for its parameters.

Verified live~625 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

19/19 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · mcp-server-github-gist (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads201Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed8Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project 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.

Code
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:

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:

config.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

Terminal
npm install
npm test
npm run build

Author

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © Ofer Shapira

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Github Gist

It requires a GitHub personal access token with the gist scope.

Set the token in GITHUB_TOKEN or GITHUB_PERSONAL_ACCESS_TOKEN.

Yes. The gist_create tool supports public or secret gists.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Github Gist AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ofershap-mcp-server-github-gist?style=directory)](https://allmcps.com/mcp/ofershap-mcp-server-github-gist)
HTML Embed
<a href="https://allmcps.com/mcp/ofershap-mcp-server-github-gist"><img src="https://allmcps.com/api/badge/ofershap-mcp-server-github-gist?style=directory" alt="MCP Server Github Gist on AllMCPs" /></a>