Command Palette

Search for a command to run...

UnylyUnyly
Browse all

ofershap/mcp-server-github-gist

FreeNot checked

Create, read, update, list and search GitHub Gists.

GitHubEmbed

About

Create, read, update, list and search GitHub Gists.

README

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

Tool What it does
gist_list List your gists (paginated)
gist_get Get a gist by ID (includes file contents)
gist_create Create a new gist (public or secret)
gist_update Update description or file contents
gist_delete Delete a gist
gist_starred List your starred gists
gist_star Star a gist
gist_unstar Unstar 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

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © Ofer Shapira

from github.com/ofershap/mcp-server-github-gist

Installing ofershap/mcp-server-github-gist

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/ofershap/mcp-server-github-gist

FAQ

Is ofershap/mcp-server-github-gist MCP free?

Yes, ofershap/mcp-server-github-gist MCP is free — one-click install via Unyly at no cost.

Does ofershap/mcp-server-github-gist need an API key?

No, ofershap/mcp-server-github-gist runs without API keys or environment variables.

Is ofershap/mcp-server-github-gist hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install ofershap/mcp-server-github-gist in Claude Desktop, Claude Code or Cursor?

Open ofershap/mcp-server-github-gist on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare ofershap/mcp-server-github-gist with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs