A Model Context Protocol server for accessing the Synchro Bus (Instant-System) API. This server provides access to various endpoints of the Instant-System API v3, specifically for the Synchro Bus network (ID: 3).
The server exposes the following API endpoints:
networkGet: Get network informationlinesGet: Get all lines for a networklineGet: Get information about a specific linelineStopAreasGet: Get stop areas for a linelineStopAreaSchedulesGet: Get schedules for a stop area on a linedisruptionsGet: Get disruptions for a networkvehicleJourneysDirectionsGet: Get vehicle journey directions for a line
- Clone the repository
- Install dependencies:
npm install
- Copy the example environment file and update it with your settings:
cp .env.example .env
- Build the project:
npm run build
Create a .env file in the root directory with the following variables:
INSTANT_SYSTEM_BASE_URL=https://prod.instant-system.com/InstantCoreStart the server:
npm startFor development with auto-reload:
npm run devGet information about the Synchro Bus network.
Get all lines available in the network.
Get detailed information about a specific line.
Get all stop areas for a specific line.
Get schedules for a specific stop area on a line.
Get current disruptions in the network.
Get available directions for vehicle journeys on a line.
npm run build- Build the projectnpm run dev- Start the server in development mode with auto-reloadnpm run lint- Run ESLintnpm run format- Format code with Prettier
MIT