This commit adds comprehensive support for using Cursor's AI models (e.g., Claude, GPT-4) within OpenClaw. Key updates include new setup instructions, model availability details, and usage examples in the documentation. The `setup-models` command is introduced to facilitate configuration and health checks for the Copilot Proxy. Additionally, a new module for managing Cursor models is created to streamline integration.
New files added:
- `src/cursor-models.ts`: Module for Cursor model management.
- Updates to `cursor-mcp.md`, `README.md`, and `index.ts` for enhanced documentation and command functionality.
This commit introduces the OpenClaw Model Context Protocol (MCP) server integration for Cursor IDE, enabling users to leverage OpenClaw's AI capabilities directly within the IDE. Key features include session management, multi-channel messaging, and built-in code assistance prompts. The integration is documented in the new `cursor-mcp.md` file and includes a changelog for version 2026.1.29.
New files added:
- `cursor-mcp.md`: Documentation for MCP integration.
- `CHANGELOG.md`: Changelog for the integration.
- `index.ts`: Main plugin file for MCP server.
- `openclaw.plugin.json`: Plugin configuration.
- `README.md`: Detailed usage instructions.
- `src/gateway-client.ts`: WebSocket client for gateway communication.
- `src/server.ts`: MCP server implementation.
- `src/types.ts`: Type definitions for the MCP server.
- `tsconfig.json`: TypeScript configuration.
- `package.json`: Plugin dependencies and scripts.