SNCF trains for VS Code
io.github.keized/sncf-mcp
SNCF train schedules, realtime delays and disruptions (TER, TGV, Intercités).
client:VS Code
transport:stdio
runtime:oci
Install SNCF trains in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "sncf-api-token",
"description": "SNCF_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "mcp-auth-token",
"description": "MCP_AUTH_TOKEN",
"password": true
}
],
"servers": {
"sncf-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/keized/sncf-mcp:0.2.0"
],
"env": {
"SNCF_API_TOKEN": "${input:sncf-api-token}",
"MCP_AUTH_TOKEN": "${input:mcp-auth-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs