ui_menu_bar_click

Clicks a status-bar (menu bar extra / NSStatusItem) item and optionally follows a nested menu path. Best-effort via the app's AX extras menu bar; apps that render fully custom (non-AX) menus may not be reachable (fall back to ui_click at known coords). Requires Accessibility permission.

SERVERLocal SOURCElocal-mcp
High RISK CLASS
Category Execute
Parameters 30 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/com-local-mcp-local-mcp/ui-menu-bar-click.md

What ui_menu_bar_click does on Local

AI agents invoke ui_menu_bar_click to trigger actions in Local. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
path array Nested menu path, e.g. ["App","Settings…"].
label string Status item / menu item title.
app_bundle_id string Owner of the status item.

Parameters from the server's own tool schema.

Why ui_menu_bar_click is rated High

This tool performs UI automation by clicking menu bar items and navigating nested menus via macOS Accessibility APIs. Clicking menu items can trigger arbitrary application actions — launching processes, modifying settings, deleting files, sending emails, etc. — making this an Execute-class tool with high severity since an AI agent could trigger destructive or sensitive operations through menu interactions.

From the tool's definition Clicks a status-bar (menu bar extra / NSStatusItem) item and optionally follows a nested menu path... Requires Accessibility permission.

Risk signalsAccepts file system path (path)

Questions about ui_menu_bar_click

What does the ui_menu_bar_click tool do? +

Clicks a status-bar (menu bar extra / NSStatusItem) item and optionally follows a nested menu path. Best-effort via the app's AX extras menu bar; apps that render fully custom (non-AX) menus may not be reachable (fall back to ui_click at known coords). Requires Accessibility permission. It is categorised as a Execute tool in the Local MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does ui_menu_bar_click accept? +

ui_menu_bar_click accepts 3 parameters: path, label, app_bundle_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on ui_menu_bar_click? +

Register the Local MCP server in PolicyLayer and add a rule for ui_menu_bar_click: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Local. Nothing to install.

What risk level is ui_menu_bar_click? +

ui_menu_bar_click is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit ui_menu_bar_click? +

Yes. Add a rate_limit block to the ui_menu_bar_click rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block ui_menu_bar_click completely? +

Set action: deny in the PolicyLayer policy for ui_menu_bar_click. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides ui_menu_bar_click? +

ui_menu_bar_click is provided by the Local MCP server (local-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Local, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Local's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.