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.
1.1 KiB
1.1 KiB
Changelog
2026.1.29
Initial release of OpenClaw Cursor MCP integration.
Features
- MCP Server: Full Model Context Protocol server implementation for Cursor IDE
- Tools:
openclaw_chat: Chat with OpenClaw AI agentopenclaw_list_sessions: List active sessionsopenclaw_get_session: Get session detailsopenclaw_clear_session: Clear session historyopenclaw_execute_command: Execute OpenClaw commandsopenclaw_send_message: Send messages through channelsopenclaw_get_status: Get gateway statusopenclaw_list_models: List available models
- Resources:
openclaw://status: Gateway statusopenclaw://models: Available modelsopenclaw://sessions: Active sessionsopenclaw://config: Configuration (sanitized)
- Prompts:
code_review: Code review assistanceexplain_code: Code explanationgenerate_tests: Test generationrefactor_code: Refactoring suggestionsdebug_help: Debugging assistancesend_notification: Channel notifications
- CLI Commands:
openclaw mcp serve: Start MCP serveropenclaw mcp info: Show configuration help