LG

lostintangent/gistpad-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

207 stars 37 forks 质量 68 趋势 17MIT

lostintangent/gistpad-mcp 是从 https://github.com/lostintangent/gistpad-mcp. 导入的 MCP 服务器候选

概览

lostintangent/gistpad-mcp 是从 https://github.com/lostintangent/gistpad-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

这是一个MCP服务器,用于管理和分享你的个人知识、每日笔记以及通过GitHub Gists的可重复使用提示。它是GistPad VS Code扩展和 GistPad.dev(面向网页/移动端)的配套工具,允许你访问和编辑任何支持MCP的AI产品(如GitHub Copilot、Claude Desktop)中的gists。

  • 🏃 开始
  • 🛠️ 包含的工具
  • 📁 包含资源
  • 💬 可重复使用的提示词
  • 💻 CLI 参考

🏃 开始

  1. 使用VS Code?
  2. 安装GistPad扩展后重新加载VS Code。

Note:这需要VS Code 1.101.0+,所以如果你用的是旧版本,是时候升级了!

  1. 打开 GistPad 标签,用你的 GitHub 账号登录。之后,你可以在 Copilot 聊天(以 Agent 模式)开始使用 GistPad,无需额外设置或令牌管理 💪

  2. 其他MCP客户…

  3. 生成一个个人访问令牌,仅包含 gist 范围:https://github.com/settings/tokens/new

  4. 在客户端的MCP配置文件中添加以下等效内容(或通过“添加MCP服务器”GUI/TUI):

客户端设置好后,你可以开始玩玩gist + MCP!🥳比如,试试像…

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 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):

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

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 gist?
  2. Creating content

    • Create a new gist about
    • Update my gist to call out
  3. Daily todos

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

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

    • Archive my gist about
    • Add a new file to the gist and migrate the 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

🛠️ 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

在 GitHub 查看完整 README

安装

npx -y gistpad-mcp
新手?先看 mcpskill.org 教程 →

配置

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