cursor-mcp-optimization

cursor-mcp-optimization is a cursor rule for Cursor from madebyaris/advance-minimax-m3-cursor-rules. It costs 32 tokens per session (1,348 once invoked), scanned A, original, MIT.

A guide to using Cursor 3.7’s connected tools for browser inspection, design work, Figma, Cloudflare, and structured app interactions.

In plain words
What is it for?
Inspecting browser tabs and page structure, filling forms, clicking verified elements, using design selections, and choosing the appropriate connected tool.
Why use it?
It reduces mistakes caused by acting on stale page information or guessing where controls are. It requires checking the current page before interacting and checking again after changes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Inspecting browser tabs and page structure, filling forms, clicking verified elements, using design selections, and choosing the appropriate connected tool.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/madebyaris/advance-minimax-m3-cursor-rules

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cursor-mcp-optimization

README.md
[![agentmods](https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization/github.svg)](https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization)
Your own site
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cursor-mcp-optimization

Your own site · 80×15
<a href="https://agentmods.dev/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization"><img src="https://agentmods.dev/badge/rules/madebyaris/advance-minimax-m3-cursor-rules/cursor-mcp-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,348 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01348
Opus 5 $0.00016 $0.00674
Sonnet 5 $0.00006 $0.00270
Haiku 4.5 $0.00003 $0.00135

Measured 9d ago against content hash 45a208988e3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cursor-mcp-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/cursor-mcp-optimization.mdc · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cursor 3.7 MCP Optimization

Current through Cursor 3.7 (Jun 2026). Direct guidance for Cursor's MCP and integrated surfaces. Use the right tool for each job.

Browser Tools (cursor-ide-browser)

Always do before any interaction:

1. browser_tabs with action: "list" -> check current tabs/URLs
2. browser_snapshot -> get current page structure and refs

Interaction pattern:

1. Identify the target ref from snapshot (use exact ref, not coordinates)
2. For clicks: prefer snapshot refs over mouse_xy coordinates
3. For forms: use browser_fill for existing content, browser_type to append
4. After ANY action that changes page: take fresh snapshot

Coordinate clicks ONLY when:

  • A fresh screenshot confirms the exact visual target
  • No snapshot ref is available
  • The target is visually verifiable (button, link)

Never do:

  • Click without a fresh snapshot first
  • Reuse old screenshot coordinates
  • Assume page state without verification

Browser Design Mode (Cursor 3.7)

Design Mode is a user-driven overlay in the integrated browser — agents do not invoke it as a tool. When the user selects elements there, treat those selections as ground truth for UI edits (same discipline as multimodal-grounded):

  • Multi-select: two or more elements selected together carry code, layout, and visual relationships — use them for parity edits, deduplication, or batch component tweaks.
  • Voice input: transcribed voice instructions are user intent; honor them even if the agent is mid-run.
  • Agent path unchanged: still snapshot → ref-based interaction for automation; Design Mode complements, not replaces, the MCP browser flow.

Canvas (Cursor 3.7)

Canvases are live React artifacts beside the chat — dashboards, reports, analyses, internal tools. Load the canvas skill before creating or editing .canvas.tsx files.

When to use a canvas:

  • Structured MCP or tabular deliverables where the data is the output (prefer canvas over markdown tables)
  • Interactive reports the user may share or iterate on (context usage breakdowns, audits, timelines)

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 126 lines · 32 tokens per session scan A 45a208988e3b

Subscribe to this mod's changes

cursor-mcp-optimization is a cursor rule published in the GitHub repository madebyaris/advance-minimax-m3-cursor-rules (125 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 1,348 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.