Before running or deploying the Wanaku MCP Router, you need to build the project from source.
To build the Wanaku MCP Router, run:
mvn clean package
This command will compile the source code and package it.
To package it into a distributable formats (i.e.: tarballs), run:
mvn -Pdist clean package
To build the project with native CLI support, run:
mvn -Pnative clean package
NOTE: The router also supports running natively, but this feature has not been fully tested. To enable native mode for the router, run:
mvn -Pnative,native-router clean package
By following these steps, you should be able to successfully build the Wanaku MCP Router project and prepare it for deployment.
The project comes with rudimentary automation for native builds for development purposes. For instance, you can install the CLI
into your $HOME/bin/
directory by running:
eval $(make prepare)
make cli-native
make install
mvn -Pdist -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true clean package