FunyMeeAI/.cursor/rules/pencil-mcp.mdc

12 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: Pencil (.pen) — use Cursor extension-pencil MCP; do not claim MCP is missing
globs: "**/*.pen"
alwaysApply: false
---
# Pencil MCP (extension-pencil)
- **This repos Pencil files** live under `desgin/` (e.g. `funymee_home.pen`). Editing them should go through **Cursors Pencil MCP** when the session exposes those tools — in the UI this often appears as **extension-pencil** with **13 tools enabled** (green status). That connection is **configured in Cursor**, not necessarily in the workspace `mcp.json`.
- **Do not** tell the user Pencil MCP is “not configured” or “only dart exists” **based only on** reading `mcp.json`. **Do not** ask them to “connect MCP” or send screenshots to “enable” it unless a tool call actually fails with a clear error.
- When Pencil MCP tools are available in this session, **prefer them** for node/style updates in `.pen` files. If tools are not in the tool list, fall back to editing the `.pen` JSON directly and say that briefly once — without blaming the users setup.