# GistPad-MCP [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/lostintangent/gistpad-mcp  
**GitHub Stars:** 207  
**npm Downloads (last month):** 687  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gistpad-mcp

## Description
Use GitHub Gists to manage and access your personal knowledge, daily notes, and reusable prompts. This acts as a companion to https://gistpad.dev and the GistPad VS Code extension.

## Tools
Capabilities this server exposes over MCP:

- **list_gist_comments** — List all comments on a gist
- **add_gist_comment** — Add a comment to a gist
- **delete_gist_comment** — Delete a comment from a gist
- **edit_gist_comment** — Update the content of an existing gist comment
- **update_gist_file** — Update the content of a file in a gist
- **add_gist_file** — Add a new file to a gist
- **delete_gist_file** — Delete a file from a gist
- **rename_gist_file** — Rename a file in a gist
- **edit_gist_file** — Edit a file in a gist using find-and-replace. More efficient than update_gist_file for targeted changes. The old_string must uniquely identify the text to replace - if multiple matches exist, the edit will fail unless replace_all is true.
- **list_gists** — List all of your GitHub Gists (excluding daily notes, prompts, and archived gists)
- **get_gist** — Get the full contents of a GitHub Gist by ID (including file contents).
- **create_gist** — Create a new GitHub Gist
- **delete_gist** — Delete a GitHub Gist by ID
- **update_gist_description** — Update a GitHub Gist's description
- **duplicate_gist** — Create a copy of an existing gist
- **refresh_gists** — Refresh the server's cache of gists, to ensure it picks up any changes made by external clients.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gistpad-mcp": {
    "command": "npx",
    "args": ["-y","gistpad-mcp"],
    "env": {
      "GITHUB_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `GITHUB_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What GistPad-MCP MCP server does

GistPad-MCP MCP server gives an MCP client access to a user's GitHub Gists as an editable knowledge store. It covers ordinary gists, their files and comments, and can also expose daily notes, starred gists, archived gists, and reusable prompts when those features are enabled. The project is intended to work alongside the GistPad VS Code extension and GistPad.dev, which provide other ways to access and edit the same gists.

The default tool set supports listing gists, reading a gist by ID, creating and deleting gists, changing descriptions, duplicating gists, and refreshing cached lists. File operations include updating, adding, deleting, renaming, and targeted find-and-replace editing. Comment operations cover listing, adding, editing, and deleting comments.

## How it works

The server runs as the `gistpad-mcp` command and uses a GitHub personal access token supplied through the client configuration. The token should have only the `gist` scope. Gists are also exposed as MCP resources using the `gist:///` URI scheme, so compatible clients can read them without invoking a tool. A comments resource template is available at `gist:///{gistId}/comments` when the client supports resource templates.

Resource-list changes are reported when a gist is added, deleted, duplicated, or has its description changed. Clients with resource subscription support can subscribe to a gist and receive notifications when it changes. The server caches its gist list, refreshes it after changes made through MCP, and performs an hourly refresh; use `refresh_gists` after changes made elsewhere if the list is stale.

## Setup and configuration

For clients other than the VS Code flow, create a GitHub personal access token with only the `gist` scope. Add the server to the client's MCP configuration with `npx -y gistpad-mcp` and set `GITHUB_TOKEN` to that token.

VS Code users can install the GistPad extension, sign in with GitHub in the GistPad tab, and use GistPad from Copilot chat in Agent mode.

Optional CLI flags extend the default configuration:

- `--daily` enables daily-note tools and resources.
- `--starred` enables starring tools and starred-gist resources.
- `--archived` enables archive tools and archived-gist resources.
- `--prompts` enables prompt tools and MCP prompt handlers.
- `--markdown` filters gists to those made up of Markdown files.

## Tools and capabilities

GistPad-MCP MCP server can maintain daily notes with tools for retrieving or creating today's note, updating it, listing notes, reading a note by date, and deleting one. Starred and archived collections have corresponding list and state-change operations. Prompt support stores parameterized prompts as Markdown files in a `💬 Prompts` gist; argument placeholders use the `{{argument}}` form.

The resource model is useful for clients that prefer reading data through MCP resources. Prompt management and the extra collections are opt-in rather than part of the default tool surface.

## Limitations and notes

The server operates on GitHub Gists, so a GitHub account and suitable token are required for the general client setup. Daily notes, starred gists, archived gists, and prompt management are disabled unless their matching flags are passed. The default gist listing excludes daily notes and archived gists. External edits may not appear immediately because of the cache; call `refresh_gists` when necessary.

_Full upstream README: https://allmcps.com/mcp/gistpad-mcp/readme_

