Logo de GistPad (GitHub Gists)

GistPad (GitHub Gists)

Communauté
lostintangent

📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists

Éditeurlostintangent
DépÎtgistpad-mcp
LangueTypeScript
Forks
38
Étoiles
207
Outils disponibles
16
Type de transportstdio
Catégories
LicenceMIT
Liens
  • Connectez des outils Ă  vos workflows IA

    GistPad (GitHub Gists) propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 16 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prĂȘte Ă  copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularitĂ© open source

    207 étoiles et 38 forks sur le dépÎt associé.

📓 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.
  • edit_gist_file - Make targeted find-and-replace edits to a gist file.

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.

đŸ› ïž Optional tools

The following tool sets are disabled by default to keep the tool surface minimal. Enable them by passing the corresponding CLI flag.

Daily notes (--daily)

  • 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 (--starred)

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

Archiving (--archived)

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

Prompts (--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 - Enable archive tools and include archived gists in resources
  • --starred - Enable starring tools and include starred gists in resources
  • --daily - Enable daily note tools and include daily notes in resources
  • --prompts - Enable prompt tools and MCP prompt handlers
  • --markdown - Filter gists to only those 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).

Installation

TypingMind
Prérequis :

Node.js 18+

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

Outils disponibles

  • 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.

Utilisez le serveur MCP GistPad (GitHub Gists) avec plusieurs modĂšles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois GistPad (GitHub Gists) connectĂ©, vous pouvez donc l’utiliser avec diffĂ©rents modĂšles IA dans TypingMind sans avoir Ă  le configurer sĂ©parĂ©ment pour chaque modĂšle. Cette intĂ©gration MCP s’exĂ©cute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramĂštres MCP

Dans TypingMind, accédez à « ParamÚtres », puis à « ParamÚtres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icîne Paramùtres.
  3. Accédez aux paramÚtres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sĂ©lectionnĂ©e
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exĂ©cutez-la dans Terminal. Laissez le processus en cours d’exĂ©cution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenĂȘtre de Terminal ouverte et le processus en cours d’exĂ©cution pendant que vous utilisez les outils MCP.
3

Ajoutez GistPad (GitHub Gists) en tant que serveur

Lorsque l’état du connecteur affiche « PrĂȘt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « PrĂȘt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP GistPad (GitHub Gists).
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vĂ©rifier que le connecteur est toujours prĂȘt.
ParamĂštres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "gistpad-github-gists": {
      "command": "npx",
      "args": [
        "-y",
        "gistpad-mcp"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modÚles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de GistPad (GitHub Gists), puis sélectionnez un modÚle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de GistPad (GitHub Gists).
  3. Démarrez une discussion et choisissez le modÚle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les Ă  un agent IA.
  5. Passez à un autre modÚle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activĂ©s avec un modĂšle d’IA sĂ©lectionnĂ©
Pouvez-vous utiliser GistPad (GitHub Gists) pour m’aider dans cette tñche ?
GistPad (GitHub Gists)
Bien sĂ»r. J’ai tout lu.
Voici ce que j’ai trouvĂ© avec GistPad (GitHub Gists).

Foire aux questions

À quoi sert le serveur MCP GistPad (GitHub Gists) ?

GistPad (GitHub Gists) est un serveur MCP qui permet aux applications IA compatibles d’accĂ©der Ă  des outils et Ă  des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP GistPad (GitHub Gists) avec plusieurs modĂšles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser GistPad (GitHub Gists) avec diffĂ©rents modĂšles IA comme Claude, ChatGPT, Gemini ou d’autres modĂšles configurĂ©s dans TypingMind, sans avoir Ă  configurer le serveur MCP sĂ©parĂ©ment pour chaque modĂšle.

Pourquoi utiliser le connecteur MCP GistPad (GitHub Gists) avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle rĂ©unit plusieurs modĂšles IA, prompts, plugins, agents IA, clĂ©s API et outils MCP dans un seul espace de travail. Une fois GistPad (GitHub Gists) connectĂ©, vous pouvez utiliser ses outils MCP avec vos modĂšles prĂ©fĂ©rĂ©s tout en gardant vos discussions bien organisĂ©es dans TypingMind.

Comment connecter le serveur MCP GistPad (GitHub Gists) Ă  TypingMind ?

GistPad (GitHub Gists) fonctionne via le connecteur MCP local de TypingMind. C’est l’option idĂ©ale lorsque le serveur MCP doit accĂ©der Ă  des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privĂ©es sur votre ordinateur.

Quels outils le serveur MCP GistPad (GitHub Gists) propose-t-il dans TypingMind ?

GistPad (GitHub Gists) propose 16 outils MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer Ă  des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP GistPad (GitHub Gists) ?

Non. TypingMind privilĂ©gie le fonctionnement local et vous permet de garder le contrĂŽle de vos fournisseurs de modĂšles, clĂ©s API, prompts et paramĂštres MCP. Si GistPad (GitHub Gists) nĂ©cessite une authentification, ajoutez les en-tĂȘtes, les paramĂštres OAuth ou la configuration locale requis pour ce serveur MCP lors de la crĂ©ation de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dÚs maintenant

Abonnez-vous Ă  notre newsletter pour ĂȘtre informĂ© des nouvelles fonctionnalitĂ©s et des prochains cadeaux Ă  gagner 👇