Skip to content
VS Code

Opengist for VS Code

io.github.ni-c/opengist-mcp

Read, create, update and delete gists on a self-hosted Opengist instance

client:VS Code transport:stdio runtime:npm

Install Opengist in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "opengist-url",
      "description": "OPENGIST_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opengist-token",
      "description": "OPENGIST_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opengist-read-only",
      "description": "OPENGIST_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opengist-insecure-tls",
      "description": "OPENGIST_INSECURE_TLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opengist-allow-tools",
      "description": "OPENGIST_ALLOW_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opengist-deny-tools",
      "description": "OPENGIST_DENY_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "opengist-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "opengist-mcp"
      ],
      "env": {
        "OPENGIST_URL": "${input:opengist-url}",
        "OPENGIST_TOKEN": "${input:opengist-token}",
        "OPENGIST_READ_ONLY": "${input:opengist-read-only}",
        "OPENGIST_INSECURE_TLS": "${input:opengist-insecure-tls}",
        "OPENGIST_ALLOW_TOOLS": "${input:opengist-allow-tools}",
        "OPENGIST_DENY_TOOLS": "${input:opengist-deny-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Opengist in other clients