Logo de GistPad (GitHub Gists)

GistPad (GitHub Gists)

Comunidade
lostintangent

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

Publicado porlostintangent
Repositóriogistpad-mcp
IdiomaTypeScript
Forks
38
Estrelas
207
Ferramentas disponíveis
16
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    GistPad (GitHub Gists) disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 16 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    207 estrelas e 38 forks no repositório vinculado.

📓 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).

Instalação

TypingMind
Pré-requisitos:

Node.js 18+

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

Ferramentas disponíveis

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

Use o MCP de GistPad (GitHub Gists) com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar GistPad (GitHub Gists), é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione GistPad (GitHub Gists) como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de GistPad (GitHub Gists).
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "gistpad-github-gists": {
      "command": "npx",
      "args": [
        "-y",
        "gistpad-mcp"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de GistPad (GitHub Gists), selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de GistPad (GitHub Gists).
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar GistPad (GitHub Gists) para me ajudar nesta tarefa?
GistPad (GitHub Gists)
Claro. Já li.
Veja o que encontrei usando GistPad (GitHub Gists).

Perguntas frequentes

Para que serve o servidor MCP GistPad (GitHub Gists)?

GistPad (GitHub Gists) é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP GistPad (GitHub Gists) com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar GistPad (GitHub Gists) com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP GistPad (GitHub Gists) com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com GistPad (GitHub Gists) conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP GistPad (GitHub Gists) ao TypingMind?

GistPad (GitHub Gists) funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP GistPad (GitHub Gists) oferece no TypingMind?

GistPad (GitHub Gists) disponibiliza 16 ferramentas MCP que podem ser ativadas na página Plugins do TypingMind e usadas no chat ou atribuídas a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP GistPad (GitHub Gists)?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se GistPad (GitHub Gists) exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇