guardian mcp server for VS Code
io.github.cyanheads/guardian-mcp-server
Guardian Open Platform — search and retrieve full article text from The Guardian archive.
client:VS Code
transport:stdio
runtime:npm
Install guardian mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "guardian-api-key",
"description": "GUARDIAN_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "mcp-log-level",
"description": "MCP_LOG_LEVEL",
"password": true
}
],
"servers": {
"guardian-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/guardian-mcp-server"
],
"env": {
"GUARDIAN_API_KEY": "${input:guardian-api-key}",
"MCP_LOG_LEVEL": "${input:mcp-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