MCP Server Studio

Opengist MCP server

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

Registry name: io.github.ni-c/opengist-mcp

Publisher
ni-c
Runs
Runs locally
Package
npm, Docker
Version
0.5.0
Category
Other
Updated
2026-09-07

Source code on GitHub

Set up Opengist (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "opengist-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGIST_URL": "<OPENGIST_URL>",
        "OPENGIST_TOKEN": "<OPENGIST_TOKEN>",
        "OPENGIST_READ_ONLY": "<OPENGIST_READ_ONLY>",
        "OPENGIST_INSECURE_TLS": "<OPENGIST_INSECURE_TLS>",
        "OPENGIST_ALLOW_TOOLS": "<OPENGIST_ALLOW_TOOLS>",
        "OPENGIST_DENY_TOOLS": "<OPENGIST_DENY_TOOLS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add opengist-mcp -e OPENGIST_URL='<OPENGIST_URL>' -e OPENGIST_TOKEN='<OPENGIST_TOKEN>' -e OPENGIST_READ_ONLY='<OPENGIST_READ_ONLY>' -e OPENGIST_INSECURE_TLS='<OPENGIST_INSECURE_TLS>' -e OPENGIST_ALLOW_TOOLS='<OPENGIST_ALLOW_TOOLS>' -e OPENGIST_DENY_TOOLS='<OPENGIST_DENY_TOOLS>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "opengist-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGIST_URL": "<OPENGIST_URL>",
        "OPENGIST_TOKEN": "<OPENGIST_TOKEN>",
        "OPENGIST_READ_ONLY": "<OPENGIST_READ_ONLY>",
        "OPENGIST_INSECURE_TLS": "<OPENGIST_INSECURE_TLS>",
        "OPENGIST_ALLOW_TOOLS": "<OPENGIST_ALLOW_TOOLS>",
        "OPENGIST_DENY_TOOLS": "<OPENGIST_DENY_TOOLS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "opengist-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGIST_URL": "<OPENGIST_URL>",
        "OPENGIST_TOKEN": "<OPENGIST_TOKEN>",
        "OPENGIST_READ_ONLY": "<OPENGIST_READ_ONLY>",
        "OPENGIST_INSECURE_TLS": "<OPENGIST_INSECURE_TLS>",
        "OPENGIST_ALLOW_TOOLS": "<OPENGIST_ALLOW_TOOLS>",
        "OPENGIST_DENY_TOOLS": "<OPENGIST_DENY_TOOLS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "opengist-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGIST_URL": "<OPENGIST_URL>",
        "OPENGIST_TOKEN": "<OPENGIST_TOKEN>",
        "OPENGIST_READ_ONLY": "<OPENGIST_READ_ONLY>",
        "OPENGIST_INSECURE_TLS": "<OPENGIST_INSECURE_TLS>",
        "OPENGIST_ALLOW_TOOLS": "<OPENGIST_ALLOW_TOOLS>",
        "OPENGIST_DENY_TOOLS": "<OPENGIST_DENY_TOOLS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
OPENGIST_URLYesBase URL of the Opengist instance, e.g. https://gist.example.com
OPENGIST_TOKENYesOpengist Personal Access Token (starts with og_), created under Settings -> Access Tokens
OPENGIST_READ_ONLYNoSet to true to not register any write tools (create, update, delete, fork, like)
OPENGIST_INSECURE_TLSNoSet to true to accept self-signed TLS certificates (scoped to the Opengist connection)
OPENGIST_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
OPENGIST_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever OPENGIST_ALLOW_TOOLS left
OPENGIST_URLYesBase URL of the Opengist instance, e.g. https://gist.example.com
OPENGIST_TOKENYesOpengist Personal Access Token (starts with og_), created under Settings -> Access Tokens
OPENGIST_READ_ONLYNoSet to true to not register any write tools (create, update, delete, fork, like)
OPENGIST_INSECURE_TLSNoSet to true to accept self-signed TLS certificates (scoped to the Opengist connection)
OPENGIST_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
OPENGIST_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever OPENGIST_ALLOW_TOOLS left

More other MCP servers