# Moth for Cursor Requirement: Node.js with npm/npx available. MCP command: ```bash npx -y @stfade/moth moth-mcp ``` Cursor MCP config: ```json { "mcpServers": { "moth": { "command": "npx", "args": ["-y", "@stfade/moth", "moth-mcp"] } } } ``` This wrapper includes: - `.cursor-plugin/plugin.json` for plugin metadata. - `mcp.json` for MCP server configuration. - `skills/` copied from the root Moth skills. - `rules/moth.mdc` for Cursor agent lifecycle guidance. - `.cursor-plugin/marketplace.example.json` as a local marketplace scaffold. Verified memory lifecycle: ```txt Use analyze_error before fixing. Call remember_fix_result only after a fix was attempted, a verification command was run, and the result is clearly passed or failed. Never call remember_fix_result for suggestions only. ```