GistPad MCP

GistPad MCP

Manage and share personal knowledge and reusable prompts via GitHub Gists with MCP compatibility.

168
Stars
24
Forks
168
Watchers
2
Issues
GistPad MCP is an MCP server designed for managing, organizing, and sharing personal knowledge, daily notes, reusable prompts, and more through GitHub Gists. It integrates with clients like the GistPad VS Code extension and web apps, allowing users to interact with their gists using standardized MCP tools across MCP-enabled AI products. The project features comprehensive gist management, daily notes, collaboration, and prompt creation to streamline knowledge workflows with AI-enabled context. Seamless onboarding is supported via personal access tokens and simple configuration.

Key Features

Gist listing, creation, deletion, duplication, and description updating
Fine-grained file operations within gists: add, update, rename, delete
Daily notes management with create, list, update, and delete capabilities
Support for starring and unstarring gists
Gist archiving and unarchiving
Comment management on gists
Prompt creation and management for reuse in AI workflows
Integration via CLI and configuration for various MCP clients
Collaboration features such as adding comments and sharing URLs
Automated context access for AI assistants and chat tools

Use Cases

Accessing and editing GitHub Gists from AI chat clients like Copilot or Claude
Managing personal or team knowledge bases using gists and daily notes
Creating, storing, and deploying reusable prompts for prompt engineering
Organizing scripts, notes, code snippets, and documentation conveniently
Tracking daily todos and project notes directly integrated with AI contexts
Collaborating with others via comments and shared gist links
Archiving and organizing knowledge for easy retrieval
Automating context delivery for AI or LLM-powered tools
Synchronizing gist modifications across devices and environments
Facilitating knowledge sharing in teams through standardized MCP access

README

📓 GistPad MCP

An MCP server for managing and sharing your personal knowledge, daily notes, and reuseable prompts via GitHub Gists. It's a companion to the GistPad VS Code extension and GistPad.dev (for web/mobile), which allows you to access and edit your gists from any MCP-enabled AI product (e.g. GitHub Copilot, Claude Desktop).

🏃 Getting started

  1. Using VS Code?

    1. Install the GistPad extension and then reload VS Code

      Note: This requires VS Code 1.101.0+, so if you're on an older version, it's time to upgrade!

    2. Open the GistPad tab and sign-in with your GitHub account. After that, you can begin using GistPad from Copilot chat (in Agent mode) without doing any extra setup or token management 💪

  2. Other MCP clients...

    1. Generate a personal access token that includes only the gist scope: https://github.com/settings/tokens/new

    2. Add the equivalent of the following to your client's MCP config file (or via an "Add MCP server" GUI/TUI):

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

Once your client it setup, you can start having fun with gists + MCP! 🥳 For example, try things like...

  1. Exploring content

    • How many gists have I edited this month?
    • What's the summary of my <foo> gist?
  2. Creating content

    • Create a new gist about <foo>
    • Update my <foo> gist to call out <bar>
  3. Daily todos

    • What are my unfinished todos for today?
    • Add a new todo for <foo>
  4. Collaboration

    • Add a comment to the <foo> gist saying <bar>
    • Give me a share URL for the <foo> gist
    • View my starred gists
  5. Gist organization

    • Archive my gist about <foo>
    • Add a new <foo> file to the <bar> gist and migrate the <baz> content into it
  6. Reusable prompts

    • Create a new prompt that searches the web ofor a specified manga series and then provides a summary about it
    • Delete my prompt about <foo>

🛠️ Included tools

Gist management

  • list_gists - List all of your gists (excluding daily notes and archived gists).
  • get_gist - Get the contents of a gist by ID.
  • create_gist - Create a new gist with a specified description and initial file contents.
  • delete_gist - Delete a gist by ID.
  • update_gist_description - Update a gist's description by ID.
  • duplicate_gist - Create a copy of an existing gist with all its files.
  • refresh_gists - Reload your gist lists, ignoring any cached data.

File management

  • update_gist_file - Update the contents of a specific file in a gist.
  • add_gist_file - Add a new file to an existing gist.
  • delete_gist_file - Delete a file from a gist.
  • rename_gist_file - Rename an existing file within a gist.

Daily notes

  • get_todays_note - Get or create today's daily note.
  • update_todays_note - Update the content of today's daily note.
  • list_daily_notes - List all of your daily notes.
  • get_daily_note - Get the contents of a specific daily note by date.
  • delete_daily_note - Delete a specific daily note by date.

Starring

  • list_starred_gists - List all your starred gists.
  • star_gist - Star a specific gist by ID.
  • unstar_gist - Unstar a starered gist by ID.

Archiving

  • list_archived_gists - List all of your archived gists.
  • archive_gist - Archive one of your gists.
  • unarchive_gist - Unarchive an archived gist.

Comments

  • list_gist_comments - List all comments for a specified gist.
  • add_gist_comment - Add a new comment to a gist.
  • edit_gist_comment - Update the content of an existing comment.
  • delete_gist_comment - Delete a comment from a gist.

Prompts

  • list_gist_prompts - List the prompts in your prompts collection.
  • add_gist_prompt - Add a new prompt to your prompts collection.
  • delete_gist_prompt - Delete a prompt from your collection.

📁 Included resources

In addition to the above tools, the GistPad MCP server also exposes your gists as resources (using the gist:/// URI scheme), which allows clients to read them without requiring tool execution.

When you add/delete/duplicate a gist, or change a gist's description, then a notification will be provided to MCP clients, indicating that the list of resources have changed. And if your MCP client supports resource subscriptions, then you can subscribe to a specific gist and get notified when it's updated.

Additionally, for MCP clients that support resource templates, GistPad also exposes a resource at gist:///{gistId}/comments, which allows querying the comments for a gist (without needing to execute the list_gist_comments tool).

Resource configuration

If you'd like to expose either your archived gists, starred gists, and/or daily notes as resources, then simply update your MCP server config to pass the --archived, --starred, and/or --daily flags to the gistpad-mcp CLI.

💬 Reusable prompts

GistPad allows you to create and manage parameterized/reusable prompts that are stored as markdown files in a gist. You can manage prompts using the add_prompt and delete_prompt tool, by simply asking your MCP client to create/delete a prompt, with the specified contents/arguments you want.

Behind the scenes, prompts are stored as markdown files in a gist called 💬 Prompts (which is automatically created by the add_prompt tool). The prompt files include their prompt as the body, and optionally, a description and arguments using front-matter. And if the prompt makes use of arguments, the body of the prompt should include {{argument}} placeholders, which will be replaced when the MCP client retrieves it.

💻 CLI Reference

The gistpad-mcp CLI accepts the following optional flags:

  • --archived - Include archived gists in the list of MCP resources (Note: The list_archived_gists tool is always available)
  • --starred - Include starred gists in the list of MCP resources (Note: The list_starred_gists tool is always available)
  • --daily - Include daily notes in the list of MCP resources (Note: The list_daily_notes tool is always available)
  • --markdown - Filter the list of gists that are returned, to only those that are composed of Markdown files.

🧰 Troubleshooting

  • Not seeing a gist in your list? The GistPad MCP server caches your gist list and updates it 1) anytime you make a change through the MCP server, or 2) every hour. However, if you add/edit/delete a gist using an external client, you may need to tell GistPad MCP to refresh itself (assuming it hasn't performed its hourly refresh yet). You can do this by triggering the refresh_gists tool (e.g. running #refresh_gists in VS Code Copilot chat).

Star History

Star History Chart

Repository Owner

Repository Details

Language TypeScript
Default Branch main
Size 138 KB
Contributors 3
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
86.18%
JavaScript
13.82%

Tags

Topics

gists mcp mcp-server notetaking pkm

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • GitHub MCP Server

    GitHub MCP Server

    Connect AI tools directly to GitHub for repository, issue, and workflow management via natural language.

    GitHub MCP Server enables AI tools such as agents, assistants, and chatbots to interact natively with the GitHub platform. It allows these tools to access repositories, analyze code, manage issues and pull requests, and automate workflows using the Model Context Protocol (MCP). The server supports integration with multiple hosts, including VS Code and other popular IDEs, and can operate both remotely and locally. Built for developers seeking to enhance AI-powered development workflows through seamless GitHub context access.

    • 24,418
    • MCP
    • github/github-mcp-server
  • @growi/mcp-server

    @growi/mcp-server

    Bridge GROWI wiki content to AI models with context-aware access and management.

    @growi/mcp-server acts as a Model Context Protocol (MCP) server that enables AI models to access, search, and manage GROWI wiki content within an organization. It facilitates seamless connection between multiple GROWI instances and language models, enhancing information retrieval and knowledge management capabilities. The platform provides comprehensive tools for page, tag, comment, and revision management as well as share link and user activity tracking. Its flexible configuration allows simultaneous operation with several GROWI apps for scalable deployment.

    • 10
    • MCP
    • growilabs/growi-mcp-server
  • Driflyte MCP Server

    Driflyte MCP Server

    Bridging AI assistants with deep, topic-aware knowledge from web and code sources.

    Driflyte MCP Server acts as a bridge between AI-powered assistants and diverse, topic-aware content sources by exposing a Model Context Protocol (MCP) server. It enables retrieval-augmented generation workflows by crawling, indexing, and serving topic-specific documents from web pages and GitHub repositories. The system is extensible, with planned support for additional knowledge sources, and is designed for easy integration with popular AI tools such as ChatGPT, Claude, and VS Code.

    • 9
    • MCP
    • serkan-ozal/driflyte-mcp-server
  • Graphlit MCP Server

    Graphlit MCP Server

    Integrate and unify knowledge sources for RAG-ready AI context with the Graphlit MCP Server.

    Graphlit MCP Server provides a Model Context Protocol interface, enabling seamless integration between MCP clients and the Graphlit platform. It supports ingestion from a wide array of sources such as Slack, Discord, Google Drive, email, Jira, and GitHub, turning them into a searchable, RAG-ready knowledge base. Built-in tools allow for document, media extraction, web crawling, and web search, as well as advanced retrieval and publishing functionalities. The server facilitates easy configuration, sophisticated data operations, and automated notifications for diverse workflows.

    • 369
    • MCP
    • graphlit/graphlit-mcp-server
  • HackMD MCP Server

    HackMD MCP Server

    MCP server connecting LLM clients to the HackMD collaborative note platform.

    HackMD MCP Server implements the Model Context Protocol (MCP) to provide a standardized interface between large language model (LLM) clients and the HackMD collaborative note service. Through HTTP and STDIO transports, it enables creation, retrieval, update, and deletion of notes, along with management of teams, user profiles, and history data. It supports deployment in both local and cloud environments, with secure API token-based authentication and configuration via environment variables or HTTP headers.

    • 43
    • MCP
    • yuna0x0/hackmd-mcp
  • Google MCP Tools

    Google MCP Tools

    Seamless Google Workspace integration for AI-driven clients via the MCP protocol

    Google MCP Tools enables AI clients to interact with Google services like Gmail, Calendar, and Drive using the Model Context Protocol (MCP). It provides secure OAuth and service account support for managing emails, calendar events, and drive files. Core capabilities include sending and drafting emails with attachments, managing labels, scheduling calendar events, and handling files in Google Drive. Designed for smooth integration with AI assistants such as Claude and Cursor.

    • 12
    • MCP
    • vakharwalad23/google-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results