Connects your AI assistant directly to the GitHub Gists API with full CRUD operations: create, read, update, delete, list, star, and search gists without switching contexts. You get eight tools that map cleanly to the Gist endpoints, including pagination for listing and starred gists. Requires a GitHub personal access token with gist scope. Useful when you're iterating on code snippets with Claude or Cursor and want to save them as gists immediately, or when you need to pull existing gists into your conversation without opening a browser. Fills the gap left by GitHub's official MCP server, which focuses on repos and issues but skips gists entirely.
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.

| 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 |
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"
}
}
}
}
Add to your .cursor/mcp.json:
{
"mcpServers": {
"github-gist": {
"command": "npx",
"args": ["-y", "mcp-server-github-gist"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}
Requires a GitHub personal access token with the gist scope.
GITHUB_TOKEN or GITHUB_PERSONAL_ACCESS_TOKEN environment variableAsk your AI assistant:
npm install
npm test
npm run build
README built with README Builder
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp