Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.41 KB

File metadata and controls

52 lines (36 loc) · 1.41 KB

Modulewise Travel Demo

Prerequisites

The instructions below rely on the following assumptions:

  1. This modulewise/demos repository has been cloned, and these instructions will be followed from within the travel directory.
  2. The Wasm Components have been built locally as described in components/README.md.
  3. The Modulewise Toolbelt has been installed locally as described in its README.

Setup

In separate terminals:

  1. run either redis-server or valkey-server (install if necessary)
  2. start the Spring Boot REST API: cd api; ./run.sh

Generate sample data and post it to the REST API:

(
  cd sample-data
  python generate-flights.py
  python generate-hotels.py
  ./post-flights.sh
  ./post-hotels.sh
)

That will create several dummy hotel and flight entries in the keyvalue store. By default, flights will be in the date range of 2026-03-01 to 2026-03-10. See the documentation in the generate scripts for more details.

Run

In a separate terminal, start the Toolbelt with the Travel Demo Tools:

toolbelt travel-demo.toml

Then provide the http://localhost:3001/mcp URL to any Agent that supports the Streamable HTTP MCP transport and ask about flights and hotels.

License

Copyright (c) 2026 Modulewise Inc and the Modulewise Demos contributors.

Apache License v2.0: see LICENSE for details.