To communicate with the MCP Server in the game, you will need to configure a MCP Client to connect to the game.
This little video will show you the way to do it with the demo project, you will just need to change the values of the configuration Json according to your values.
In the video, we are using Claude Desktop, but the process is pretty much the same with another MCP Client.
Note that:
Node.js must be installed on the machine running Claude Desktop
With Claude, each time the client is open, if the sever is stopped, you will need to restart Claude Desktop completely.
The game must be running with BeginServer already called
The port must be open in the Windows Firewall if connecting from another machine
The token in AUTH_HEADER must match the one validated by your SetAuthHandler callback