tfl mcp server for VS Code
io.github.oneill9/tfl-mcp-server
Community-built server providing real-time London transport data via the TfL Unified API
client:VS Code
transport:stdio
runtime:oci
Install tfl mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "tfl-app-key",
"description": "TFL_APP_KEY",
"password": true
}
],
"servers": {
"tfl-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/oneill9/tfl-mcp-server:1.5.2"
],
"env": {
"TFL_APP_KEY": "${input:tfl-app-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs