mcp stashbox for VS Code
io.github.smeet666/mcp-stashbox
Search scenes, performers, studios and tags across the public stash-box catalogues.
client:VS Code
transport:stdio
runtime:npm
Install mcp stashbox in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "stashbox-stashdb-key",
"description": "STASHBOX_STASHDB_KEY",
"password": true
},
{
"type": "promptString",
"id": "stashbox-tpdb-key",
"description": "STASHBOX_TPDB_KEY",
"password": true
},
{
"type": "promptString",
"id": "stashbox-fansdb-key",
"description": "STASHBOX_FANSDB_KEY",
"password": true
},
{
"type": "promptString",
"id": "stashbox-pmv-key",
"description": "STASHBOX_PMV_KEY",
"password": true
},
{
"type": "promptString",
"id": "stashbox-javstash-key",
"description": "STASHBOX_JAVSTASH_KEY",
"password": true
},
{
"type": "promptString",
"id": "sb-user-agent",
"description": "SB_USER_AGENT",
"password": true
},
{
"type": "promptString",
"id": "sb-min-interval-ms",
"description": "SB_MIN_INTERVAL_MS",
"password": true
},
{
"type": "promptString",
"id": "sb-timeout-ms",
"description": "SB_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "sb-max-retries",
"description": "SB_MAX_RETRIES",
"password": true
},
{
"type": "promptString",
"id": "sb-cache-ttl-ms",
"description": "SB_CACHE_TTL_MS",
"password": true
},
{
"type": "promptString",
"id": "sb-cache-max-entries",
"description": "SB_CACHE_MAX_ENTRIES",
"password": true
},
{
"type": "promptString",
"id": "sb-log-level",
"description": "SB_LOG_LEVEL",
"password": true
}
],
"servers": {
"mcp-stashbox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-stashbox"
],
"env": {
"STASHBOX_STASHDB_KEY": "${input:stashbox-stashdb-key}",
"STASHBOX_TPDB_KEY": "${input:stashbox-tpdb-key}",
"STASHBOX_FANSDB_KEY": "${input:stashbox-fansdb-key}",
"STASHBOX_PMV_KEY": "${input:stashbox-pmv-key}",
"STASHBOX_JAVSTASH_KEY": "${input:stashbox-javstash-key}",
"SB_USER_AGENT": "${input:sb-user-agent}",
"SB_MIN_INTERVAL_MS": "${input:sb-min-interval-ms}",
"SB_TIMEOUT_MS": "${input:sb-timeout-ms}",
"SB_MAX_RETRIES": "${input:sb-max-retries}",
"SB_CACHE_TTL_MS": "${input:sb-cache-ttl-ms}",
"SB_CACHE_MAX_ENTRIES": "${input:sb-cache-max-entries}",
"SB_LOG_LEVEL": "${input:sb-log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs