mcp-server-gist

mcp-server-gist

1

The mcp-server-gist is an MCP server tool that facilitates the creation of GitHub gists via a streamlined interface. It integrates directly with GitHub's API to allow easy and automated gist creation, providing flexibility in content and privacy options.

mcp-server-gist

create gist by using MCP.

A Model Context Protocol(MCP) Server that wrap github create gist api as a MCP tool.

Tools

  • create-gist
    • create a gist to your github account
    • Inputs:
      • gistContent(string): the content of the gist file.
      • isPublic(boolean): Whether the gist is public or secret, if not explicitly specified, it will be false.
      • filename(string): the name of the gist file, if not explicitly specified, it will be generated automatically.
    • Returns: gist url

Usage

{
  "mcpServers": {
    "create-gist": {
      "command": "node",
      "args": [
        "LOCAL_ABSOLUTE_PATH/mcp-server-gist/build/index.js"
      ],
      "env": {
        "GITHUB_GIST_TOKEN": "YOUR_OWN_GITHUB_TOKEN"
      }
    }
  }
}

A fine grained TOKEN is needed.