mcp databnf for VS Code
io.github.smeet666/mcp-databnf
Search the BnF open catalogue: authors, works, editions and links to what is digitised.
client:VS Code
transport:stdio
runtime:npm
Install mcp databnf in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "bnf-user-agent",
"description": "BNF_USER_AGENT",
"password": true
},
{
"type": "promptString",
"id": "bnf-min-interval-ms",
"description": "BNF_MIN_INTERVAL_MS",
"password": true
},
{
"type": "promptString",
"id": "bnf-timeout-ms",
"description": "BNF_TIMEOUT_MS",
"password": true
},
{
"type": "promptString",
"id": "bnf-max-retries",
"description": "BNF_MAX_RETRIES",
"password": true
},
{
"type": "promptString",
"id": "bnf-cache-ttl-ms",
"description": "BNF_CACHE_TTL_MS",
"password": true
},
{
"type": "promptString",
"id": "bnf-log-level",
"description": "BNF_LOG_LEVEL",
"password": true
}
],
"servers": {
"mcp-databnf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-databnf"
],
"env": {
"BNF_USER_AGENT": "${input:bnf-user-agent}",
"BNF_MIN_INTERVAL_MS": "${input:bnf-min-interval-ms}",
"BNF_TIMEOUT_MS": "${input:bnf-timeout-ms}",
"BNF_MAX_RETRIES": "${input:bnf-max-retries}",
"BNF_CACHE_TTL_MS": "${input:bnf-cache-ttl-ms}",
"BNF_LOG_LEVEL": "${input:bnf-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