mcp-server-github-gist
Allows for managing GitHub Gists, providing tools to create, read, update, delete, search, and star or unstar gists directly through an AI assistant.
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/abc123Works with Claude Desktop, Cursor, and VS Code Copilot.

Tools
Tool | What it does |
| List your gists (paginated) |
| Get a gist by ID (includes file contents) |
| Create a new gist (public or secret) |
| Update description or file contents |
| Delete a gist |
| List your starred gists |
| Star a gist |
| Unstar a gist |
Related MCP server: GistPad MCP
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.
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
npm install
npm test
npm run buildAuthor
README built with README Builder
License
MIT © Ofer Shapira
Available Tools
8 toolsgist_createC
Create a new GitHub Gist
Inputs: files (required), description, public.
gist_deleteC
Delete a Gist by ID
Inputs: gistId (required).
gist_getA
Get a specific Gist by ID (includes file contents)
Inputs: gistId (required).
gist_listB
List your GitHub Gists
Inputs: perPage, page.
gist_starC
Star a Gist
Inputs: gistId (required).
gist_starredB
List your starred Gists
Inputs: perPage, page.
gist_unstarC
Unstar a Gist
Inputs: gistId (required).
gist_updateC
Update an existing Gist (description or file contents)
Inputs: gistId (required), description, files.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose targeting specific Gist operations: create, delete, get, list, star, list starred, unstar, and update. There is no overlap in functionality, and the descriptions make the distinctions unambiguous.
All tools follow a consistent 'gist_verb' naming pattern (e.g., gist_create, gist_delete, gist_get). This uniform structure makes the tool set predictable and easy to understand, with no deviations in style.
With 8 tools, the server is well-scoped for managing GitHub Gists. This number covers essential CRUD operations and additional features like starring, without being too sparse or overwhelming for the domain.
The tool set provides complete coverage for Gist management, including create, read (get/list), update, and delete, plus full lifecycle support for starring (star, unstar, list starred). There are no obvious gaps in the surface for this purpose.
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Create, deploy, and operate MCP servers directly from your GitHub repositories.
MCP server for siGit (sigit.si): browse repos, search code, manage PRs/issues, web search.
Related MCP Servers
- -licenseNot gradedqualityBmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.127,455 npm92,139MIT
- AlicenseNot gradedqualityCmaintenanceA server for managing and sharing personal knowledge, daily notes, and reusable prompts via GitHub Gists, enabling users to access and edit their gists from any MCP-enabled AI product.164 npm207MIT
- AlicenseBqualityDmaintenanceSimple MCP server for GitHub operations, currently supports creating repositories.5ISC
- AlicenseNot gradedqualityDmaintenanceMCP server for the GitHub API, enabling file operations, repository management, search functionality, issues, pull requests, and more.MIT