MCP Server Studio
Read, create, update and delete gists on a self-hosted Opengist instance
Registry name: io.github.ni-c/opengist-mcp
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>"
}
}
}
}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]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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
OPENGIST_URL | Yes | Base URL of the Opengist instance, e.g. https://gist.example.com |
OPENGIST_TOKEN | Yes | Opengist Personal Access Token (starts with og_), created under Settings -> Access Tokens |
OPENGIST_READ_ONLY | No | Set to true to not register any write tools (create, update, delete, fork, like) |
OPENGIST_INSECURE_TLS | No | Set to true to accept self-signed TLS certificates (scoped to the Opengist connection) |
OPENGIST_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
OPENGIST_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever OPENGIST_ALLOW_TOOLS left |
OPENGIST_URL | Yes | Base URL of the Opengist instance, e.g. https://gist.example.com |
OPENGIST_TOKEN | Yes | Opengist Personal Access Token (starts with og_), created under Settings -> Access Tokens |
OPENGIST_READ_ONLY | No | Set to true to not register any write tools (create, update, delete, fork, like) |
OPENGIST_INSECURE_TLS | No | Set to true to accept self-signed TLS certificates (scoped to the Opengist connection) |
OPENGIST_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
OPENGIST_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever OPENGIST_ALLOW_TOOLS left |