Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/rules/steipete/macos-automator-mcp/mcp-inspector)<a href="https://agentmods.dev/rules/steipete/macos-automator-mcp/mcp-inspector"><img src="https://agentmods.dev/badge/rules/steipete/macos-automator-mcp/mcp-inspector/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.
<a href="https://agentmods.dev/rules/steipete/macos-automator-mcp/mcp-inspector"><img src="https://agentmods.dev/badge/rules/steipete/macos-automator-mcp/mcp-inspector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01587 |
| Opus 5 | $0.00000 | $0.00794 |
| Sonnet 5 | $0.00000 | $0.00317 |
| Haiku 4.5 | $0.00000 | $0.00159 |
Grade A, and why
mcp-inspector 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.
Copies of this mod
3 near-identical copies found in the catalogue:
- mcp-inspector — 100% identical, 0 lines differ
- mcp-inspector — 100% identical, 0 lines differ
- mcp-inspector — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rule Name: mcp-inspector
Description: Debugging and verifying the macos-automator-mcp server via the MCP Inspector, using Playwright for UI automation and direct terminal commands for server management. This rule prioritizes stability and detailed verification through Playwright's introspection capabilities.
Required Tools:
run_terminal_cmdmcp_playwright_browser_navigatemcp_playwright_browser_typemcp_playwright_browser_clickmcp_playwright_browser_snapshotmcp_playwright_browser_console_messagesmcp_playwright_browser_wait_for
User Workspace Path Placeholder:
- The path to the
start.shscript will be specified as[WORKSPACE_PATH]/start.sh. - The AI assistant executing this rule MUST replace
[WORKSPACE_PATH]with the absolute path to the user's current project workspace (e.g., as found in the<user_info>context block during rule execution). - Example of a resolved path if the workspace is
/Users/username/Projects/my-mcp-project:/Users/username/Projects/my-mcp-project/start.sh.
Main Flow:
Phase 1: Start MCP Inspector Server
- Kill Existing Inspector Processes:
- Action: Call
run_terminal_cmd. command:pkill -f 'npx @modelcontextprotocol/inspector' || trueis_background:false- Expected: Cleans up any lingering Inspector processes.
- Action: Call
- Start New Inspector Process:
- Action: Call
run_terminal_cmd. command:npx @modelcontextprotocol/inspectoris_background:true- Expected: MCP Inspector starts in the background.
- Action: Call
- Wait for Inspector Initialization:
- Action: Call
mcp_playwright_browser_wait_for. time:10(seconds)- Expected: Allows ample time for the Inspector server to be ready. This step requires an active Playwright page, so it's implicitly preceded by navigation in Phase 2 if the browser isn't already open.
- Action: Call
Phase 2: Connect to Server via Playwright
- Navigate to Inspector URL:
- Action: Call
mcp_playwright_browser_navigate. url:http://127.0.0.1:6274- Expected: Playwright opens the MCP Inspector web UI.
- Snapshot: Take a snapshot (
mcp_playwright_browser_snapshot) to confirm page load and identify initial form element references (ref).
- Action: Call
- Fill Form (Command & Args only):
- Set Command:
- Action: Call
mcp_playwright_browser_type. element: "Command textbox" (Obtainreffrom snapshot).text:macos-automator-mcp
- Action: Call
- Set Arguments:
- Action: Call
mcp_playwright_browser_type. element: "Arguments textbox" (Obtainreffrom snapshot).text:[WORKSPACE_PATH]/start.sh(This placeholder MUST be replaced by the AI executing the rule with the absolute path to the user's current workspace).
- Action: Call
- (Note: Environment Variables are skipped in this flow for simplicity and stability, as issues were previously observed when setting LOG_LEVEL=DEBUG during connection.)
- Set Command:
- Click "Connect":
- Action: Call
mcp_playwright_browser_click. element: "Connect button" (Obtainreffrom snapshot).- Expected: Connection to the
macos-automator-mcpserver is established. - Snapshot: Take a snapshot. Verify connection status (e.g., text changes to "Connected") and check for initial server logs in the UI.
- Action: Call
Phase 3: Interact with a Tool via Playwright
- List Tools:
- Action: Call
mcp_playwright_browser_click. element: "List Tools button" (Obtainreffrom the latest snapshot).- Expected: The list of available tools from the
macos-automator-mcpserver is displayed. - Snapshot: Take a snapshot. Verify tools like
execute_scriptandget_scripting_tipsare visible.
- Action: Call
- Select 'get_scripting_tips' Tool:
- Action: Call
mcp_playwright_browser_click. element: "get_scripting_tips tool in list" (Obtainrefby identifying it in the snapshot's tool list).- Expected: The parameters form for
get_scripting_tipsis displayed in the right-hand panel. - Snapshot: Take a snapshot. Verify the right panel shows details for
get_scripting_tips(e.g., its name, description, and parameter fields like 'searchTerm', 'listCategories', etc.).
- Action: Call
- Execute 'get_scripting_tips' (default parameters):
- Action: Call
mcp_playwright_browser_click. element: "Run Tool button" (Obtainreffor the 'Run Tool' button specific to theget_scripting_tipsform in the right panel from the snapshot).- Expected: The
get_scripting_tipstool is executed with its default parameters. - Snapshot: Take a snapshot.
- Action: Call
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.
- 9d ago First seen · 99 lines · 0 tokens per session scan A bc707fcaa141
mcp-inspector is a cursor rule published in the GitHub repository steipete/macos-automator-mcp (880 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,587 tokens. 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.
Other cursor rules, from other repositories
error-handling-and-validation
A code-quality guide for handling errors, invalid inputs, edge cases, preconditions, logging, and user-friendly error messages.
css-render-blocking-diagnosis
Cursor rule "css-render-blocking-diagnosis" from adobecom/da-express-milo, covering css render-blocking diagnosis & resolution, critical learning from 98 pagespeed achievement, primary diagnostic protocol, step 1: css blocking symptom recognition and step 2: css loading sequence audit.
workflow-level1
Streamlined workflow for Level 1 Quick Bug Fix tasks.
modus-checkbox-value-inversion-react-short
Critical bug fix for ModusWcCheckbox value property inversion.
javascript-expert-performance
Profile first. Measure before and after. Never optimize without data.
5-bug-finder
APPLY WHEN investigating a bug.