mcp-server-gist

by coreycao

146 downloads Not rated yet
GitHub

About

# mcp-server-gist create gist by using MCP. A Model Context Protocol(MCP) Server that wrap github [create gist](https://docs.github.com/en/rest/gists/gists?apiVersion=2022-11-28#create-a-gist) api as a MCP tool. ## Tools - `create-gist` - create a gist to your github account - Inputs: - gistContent(string): the…

Explore

- Creates a Gist via the GitHub API.
- Supports both public and secret Gists.
- Automatically generates a filename if not provided.
- Returns the URL of the created Gist.
- Uses a fine-grained personal access token for authentication.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-server-gist
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

{
  "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.

create-gist

create a gist to your github account

- 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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.