{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ghcpuman902/tfl-ts",
  "slug": "io.github.ghcpuman902.tfl-ts",
  "title": "tfl-ts",
  "summary": "Read-only Transport for London data: line status, arrivals, journeys, stop lookup.",
  "version": "2.17.1",
  "serverKey": "tfl-ts",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.ghcpuman902.tfl-ts",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.ghcpuman902.tfl-ts/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T15:27:53.120263292Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=tfl-ts@2.17.1",
        "tfl",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add tfl-ts -e 'TFL_APP_KEY=<TFL_APP_KEY>' -- npx -y --package=tfl-ts@2.17.1 tfl mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"tfl-ts\": {\n      \"args\": [\n        \"-y\",\n        \"--package=tfl-ts@2.17.1\",\n        \"tfl\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TFL_APP_KEY\": \"<TFL_APP_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"tfl-ts\": {\n      \"args\": [\n        \"-y\",\n        \"--package=tfl-ts@2.17.1\",\n        \"tfl\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TFL_APP_KEY\": \"<TFL_APP_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"TFL_APP_KEY\",\n      \"id\": \"tfl-app-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"tfl-ts\": {\n      \"args\": [\n        \"-y\",\n        \"--package=tfl-ts@2.17.1\",\n        \"tfl\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TFL_APP_KEY\": \"${input:tfl-app-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.tfl-ts]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=tfl-ts@2.17.1\", \"tfl\", \"mcp\"]\nenv = { \"TFL_APP_KEY\" = \"<TFL_APP_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "TFL_APP_KEY",
      "required": true,
      "secret": true,
      "description": "TfL API primary key. Live tools need it. Static tools (docs, resolve_line_id, get_supported_modes) do not.",
      "help": "TfL API primary key. Live tools need it. Static tools (docs, resolve_line_id, get_supported_modes) do not.",
      "placeholder": "<TFL_APP_KEY>"
    },
    {
      "name": "TFL_MCP_MIN_INTERVAL_MS",
      "required": false,
      "secret": false,
      "description": "Minimum milliseconds between outbound TfL requests. Default 250. Cache hits do not count.",
      "help": "Minimum milliseconds between outbound TfL requests. Default 250. Cache hits do not count.",
      "placeholder": "<TFL_MCP_MIN_INTERVAL_MS>"
    }
  ],
  "expectedTools": [
    "get_supported_modes",
    "resolve_line_id",
    "docs",
    "resolve_stop_id",
    "get_line_status",
    "get_arrivals",
    "plan_journey"
  ],
  "agentSteps": [
    "Ask the user for: TFL_APP_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_supported_modes, resolve_line_id, docs, resolve_stop_id, get_line_status, get_arrivals, plan_journey.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T15:27:53.120263292Z"
}
