io.github.ofershap/github-gist
MCP server to create, read, update, list, and search GitHub Gists from your IDE
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-server-github-gistclaude mcp add github-gist -- npx -y mcp-server-github-gist@1.0.2
{
"mcpServers": {
"github-gist": {
"command": "npx",
"args": [
"-y",
"mcp-server-github-gist@1.0.2"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
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/abc123
Works with Claude Desktop, Cursor, and VS Code Copilot.
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.
- 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 build
Author
README built with README Builder
License
Frequently asked questions
What is io.github.ofershap/github-gist?
MCP server to create, read, update, list, and search GitHub Gists from your IDE
How do I install io.github.ofershap/github-gist?
It runs on your machine. In Claude Code: claude mcp add github-gist -- npx -y mcp-server-github-gist@1.0.2. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.ofershap/github-gist need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.ofershap/github-gist open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.ofershap/github-gist?
It is published by ofershap. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.