brainy/cloud-wrapper/src
David Snelling c641467854 **feat: add MCP service integration and enhance environment detection**
### Changes:
- Introduced `initializeMCPService` in `cloud-wrapper/src/index.ts` to support initializing Model Control Protocol (MCP) services.
  - Enabled configuration for WebSocket and REST APIs with customizable options like ports, authentication, rate limiting, and CORS.
- Exported MCP modules, types, and services (`BrainyMCPAdapter`, `BrainyMCPService`, etc.) in `src/index.ts`.
- Enhanced `unified.ts` to include global environment detection by populating `globalThis.__ENV__`.
  - Added environment-specific logging for browser, Node.js, and serverless scenarios.
  - Improved the structure of `environment` object and its global accessibility.

### Purpose:
Implemented MCP service integration to expand Brainy's external compatibility via WebSocket and REST interfaces. Enhanced environment detection provides better global access and debugging insights, ensuring robust operation across various runtime environments.
2025-06-20 10:57:31 -07:00
..
services **feat: implement Model Control Protocol (MCP) for Brainy with WebSocket and REST interfaces** 2025-06-20 10:56:21 -07:00
index.ts **feat: add MCP service integration and enhance environment detection** 2025-06-20 10:57:31 -07:00
routes.ts **refactor: add async error handler utility and standardize route handlers** 2025-06-19 16:03:04 -07:00
websocket.ts feat: add WebSocket API, REST API routes, and server setup for Brainy 2025-06-06 09:09:07 -07:00