Skip to content
Cursor

SNCF trains for Cursor

io.github.keized/sncf-mcp

SNCF train schedules, realtime delays and disruptions (TER, TGV, Intercités).

client:Cursor transport:stdio runtime:oci

Install SNCF trains in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sncf-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/keized/sncf-mcp:0.2.0"
      ],
      "env": {
        "SNCF_API_TOKEN": "<SNCF_API_TOKEN>",
        "MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

SNCF trains in other clients