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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-qualityAmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.Last updated134,34689,188MIT
- Alicense-qualityDmaintenanceA 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.Last updated232201MIT
- Flicense-qualityCmaintenanceA simple MCP server that provides repository information (list repos, get repo details) using GitHub's public REST API, without needing any API keys or tokens.Last updated
- Alicense-qualityBmaintenanceSimple MCP server for GitHub operations, currently supports creating repositories.Last updated211MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ofershap/mcp-server-github-gist'
If you have feedback or need assistance with the MCP directory API, please join our Discord server