convez.ai
MCP ServerIntegração & APIsIntermediário
ofershap

MCP Server GitHub Gist

ofershap/mcp-server-github-gist

Gerencie GitHub Gists sem sair do seu assistente IA

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que permite criar, ler, atualizar, listar e pesquisar GitHub Gists diretamente do seu assistente IA. Preenche a lacuna do servidor oficial do GitHub que cobre apenas repos e issues, oferecendo controle completo sobre snippets de código armazenados em Gists.

Instalação

$npx convez-ai ofershap/mcp-server-github-gist

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
2
Forks
1
Acompanhando
0
Saúde
71%
Último commit
há 8 meses
Versão
—
Issues abertas
1
Contribuidores
2

Casos de uso

  • Salvar snippets de código rapidamente como Gists durante uma conversa
  • Recuperar e compartilhar trechos de código armazenados
  • Atualizar descrições e conteúdo de Gists existentes
  • Organizar e buscar Gists favoritos (starred)

Veredito

MCP server bem construído que integra GitHub Gists ao ecossistema Claude com autenticação segura e ferramentas essenciais. Preenchimento prático de um gap real para quem usa Gists como repositório de snippets pessoais.

README

A tradução para o português deste README ainda está na fila.

MCP Server GitHub Gist — Manage Gists from Your AI Assistant

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

ToolWhat it does
gist_listList your gists (paginated)
gist_getGet a gist by ID (includes file contents)
gist_createCreate a new gist (public or secret)
gist_updateUpdate description or file contents
gist_deleteDelete a gist
gist_starredList your starred gists
gist_starStar a gist
gist_unstarUnstar 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

Ver o original no GitHub

Bom para

Relacionados