{
  "markdown": "# MCP Server GitHub Gist — Manage Gists from Your AI Assistant\n\n[![npm version](https://img.shields.io/npm/v/mcp-server-github-gist.svg)](https://www.npmjs.com/package/mcp-server-github-gist)\n[![npm downloads](https://img.shields.io/npm/dm/mcp-server-github-gist.svg)](https://www.npmjs.com/package/mcp-server-github-gist)\n[![CI](https://github.com/ofershap/mcp-server-github-gist/actions/workflows/ci.yml/badge.svg)](https://github.com/ofershap/mcp-server-github-gist/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAn 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.\n\n```\nYou: \"Save this code snippet as a gist called 'auth-middleware.ts'\"\nAI:  ✅ Created secret gist: https://gist.github.com/abc123\n```\n\n> Works with Claude Desktop, Cursor, and VS Code Copilot.\n\n![MCP server GitHub Gist demo — creating and listing gists from Claude Desktop](assets/demo.gif)\n\n## Tools\n\n| Tool           | What it does                              |\n| -------------- | ----------------------------------------- |\n| `gist_list`    | List your gists (paginated)               |\n| `gist_get`     | Get a gist by ID (includes file contents) |\n| `gist_create`  | Create a new gist (public or secret)      |\n| `gist_update`  | Update description or file contents       |\n| `gist_delete`  | Delete a gist                             |\n| `gist_starred` | List your starred gists                   |\n| `gist_star`    | Star a gist                               |\n| `gist_unstar`  | Unstar a gist                             |\n\n## Quick Start\n\n### With Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"github-gist\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-server-github-gist\"],\n      \"env\": {\n        \"GITHUB_TOKEN\": \"ghp_your_token_here\"\n      }\n    }\n  }\n}\n```\n\n### With Cursor\n\nAdd to your `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"github-gist\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-server-github-gist\"],\n      \"env\": {\n        \"GITHUB_TOKEN\": \"ghp_your_token_here\"\n      }\n    }\n  }\n}\n```\n\n## Authentication\n\nRequires a GitHub personal access token with the `gist` scope.\n\n1. Go to [GitHub Settings > Tokens](https://github.com/settings/tokens)\n2. Create a token with the **gist** scope\n3. Set it as `GITHUB_TOKEN` or `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable\n\n## Examples\n\nAsk your AI assistant:\n\n- \"List my recent gists\"\n- \"Create a gist with this code snippet\"\n- \"Show me gist abc123\"\n- \"Update the description of gist abc123\"\n- \"Delete gist abc123\"\n- \"Star this gist\"\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm run build\n```\n\n## Author\n\n[![Made by ofershap](https://gitshow.dev/api/card/ofershap)](https://gitshow.dev/ofershap)\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-0A66C2?style=flat&logo=linkedin&logoColor=white)](https://linkedin.com/in/ofershap)\n[![GitHub](https://img.shields.io/badge/GitHub-Follow-181717?style=flat&logo=github&logoColor=white)](https://github.com/ofershap)\n\n---\n\n<sub>README built with [README Builder](https://ofershap.github.io/readme-builder/)</sub>\n\n## License\n\n[MIT](LICENSE) &copy; [Ofer Shapira](https://github.com/ofershap)\n",
  "bytes": 3381,
  "sha": "0782ccea806cb57c094c3dd250bb9ae80b0916385d1502c30147bbe473a8349b",
  "repo_slug": "ofershap/mcp-server-github-gist",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ofershap_github_gist_3f56aabc/readme"
}