mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-22 05:09:05 +00:00
feat(goose): auto add mcp server to goose configuration when starting a session
This commit is contained in:
@@ -54,6 +54,17 @@ if [ -n "$LANGFUSE_INIT_PROJECT_SECRET_KEY" ] && [ -n "$LANGFUSE_INIT_PROJECT_PU
|
||||
export LANGFUSE_URL="${LANGFUSE_URL:-https://cloud.langfuse.com}"
|
||||
fi
|
||||
|
||||
# Update Goose configuration with available MCP servers
|
||||
if [ -f "/usr/local/bin/update-goose-config.sh" ]; then
|
||||
echo "Updating Goose configuration with MCP servers..."
|
||||
bash /usr/local/bin/update-goose-config.sh
|
||||
elif [ -f "$(dirname "$0")/update-goose-config.sh" ]; then
|
||||
echo "Updating Goose configuration with MCP servers..."
|
||||
bash "$(dirname "$0")/update-goose-config.sh"
|
||||
else
|
||||
echo "Warning: update-goose-config.sh script not found. Goose configuration will not be updated."
|
||||
fi
|
||||
|
||||
echo "MC driver initialization complete"
|
||||
|
||||
# Mark initialization as complete
|
||||
|
||||
Reference in New Issue
Block a user