{
  "info": {
    "name": "SNCF — mcp.ai",
    "description": "REST API for the SNCF MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/sncf",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "sncf_find_nearby_places",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/find/nearby/places",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "find",
            "nearby",
            "places"
          ]
        },
        "description": "Find SNCF stations, stops, or points of interest near a geographic coordinate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"latitude\": 0,\n  \"longitude\": 0,\n  \"region_id\": \"\",\n  \"place_type\": \"\",\n  \"distance_meters\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_get_service_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/service/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "service",
            "status"
          ]
        },
        "description": "Get SNCF network service disruptions and affected lines, stations, or vehicle journeys for a time window. Returns one page; pass next_cursor back to continue.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"depth\": 0,\n  \"limit\": 0,\n  \"since\": \"\",\n  \"until\": \"\",\n  \"region_id\": \"\",\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_get_station_board",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/station/board",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "station",
            "board"
          ]
        },
        "description": "Get upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"region_id\": \"\",\n  \"board_type\": \"\",\n  \"station_id\": \"\",\n  \"from_datetime\": \"\",\n  \"data_freshness\": \"\",\n  \"direction_type\": \"\",\n  \"duration_seconds\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_get_transport_object",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/transport/object",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "transport",
            "object"
          ]
        },
        "description": "Get details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"depth\": 0,\n  \"object_id\": \"\",\n  \"region_id\": \"\",\n  \"collection\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_list_coverage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/coverage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "coverage"
          ]
        },
        "description": "Get the SNCF transport-data coverage region and its current production horizon.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_list_transport_objects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/transport/objects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "transport",
            "objects"
          ]
        },
        "description": "Browse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"depth\": 0,\n  \"limit\": 0,\n  \"region_id\": \"\",\n  \"collection\": \"\",\n  \"next_cursor\": \"\",\n  \"data_freshness\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_plan_journey",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/plan/journey",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "plan",
            "journey"
          ]
        },
        "description": "Plan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"datetime\": \"\",\n  \"to_place\": \"\",\n  \"region_id\": \"\",\n  \"from_place\": \"\",\n  \"wheelchair\": false,\n  \"max_journeys\": 0,\n  \"max_transfers\": 0,\n  \"traveler_type\": \"\",\n  \"data_freshness\": \"\",\n  \"datetime_represents\": \"\",\n  \"max_duration_seconds\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_search_places",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/places",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "places"
          ]
        },
        "description": "Find SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"near\": \"\",\n  \"depth\": 0,\n  \"limit\": 0,\n  \"query\": \"\",\n  \"region_id\": \"\",\n  \"place_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "sncf_search_transport_objects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/transport/objects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "transport",
            "objects"
          ]
        },
        "description": "Search SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"depth\": 0,\n  \"query\": \"\",\n  \"region_id\": \"\",\n  \"object_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}