Enhance MCP stream handling and update TODO list

- Added place ID validation in the MCP stream connection to ensure only whitelisted IDs are accepted, improving security and control over connections.
- Updated the PluginConfig structure to include an optional place ID field, allowing for better configuration management.
- Refined the TODO list to include new tasks related to hash-based comparisons and terminal command execution, enhancing project tracking.

These changes aim to strengthen the MCP integration and improve the overall functionality of the plugin.
This commit is contained in:
Joe 2026-03-01 08:17:46 -06:00
parent 0f5cabb22a
commit 581aeaeffa
4 changed files with 77 additions and 23 deletions

View file

@ -78,6 +78,7 @@ function McpStream:_tryConnect()
twoWaySync = self._getPluginConfig("twoWaySync"),
oneShotSync = self._getPluginConfig("oneShotSync"),
confirmationBehavior = self._getPluginConfig("confirmationBehavior"),
placeId = game.PlaceId,
})
pcall(function()
wsClient:Send(greeting)