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.
26 lines
713 B
JSON
26 lines
713 B
JSON
{
|
|
"id": "cursor-mcp",
|
|
"name": "Cursor MCP Server",
|
|
"description": "MCP server integration for Cursor IDE - enables OpenClaw as an AI agent in Cursor",
|
|
"providers": [],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"description": "Enable the Cursor MCP server"
|
|
},
|
|
"port": {
|
|
"type": "number",
|
|
"description": "Port for SSE transport (optional, uses stdio by default)"
|
|
},
|
|
"autoApproveTools": {
|
|
"type": "array",
|
|
"items": { "type": "string" },
|
|
"description": "List of tool names to auto-approve without user confirmation"
|
|
}
|
|
}
|
|
}
|
|
}
|