DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add desktop control to your agent over MCP with Agent Desktop

Serve every Agent Desktop command as an MCP tool over stdio.

Short answer: Install the CLI with npm install -g agent-desktop; then add { "mcpServers": { "agent-desktop": { "command": "agent-desktop", "args": ["mcp"] } } } to your MCP client config; Restart the client so it lists tools named after commands, such as desktop_snapshot and desktop_click. All steps.

Credentials. The agent can see and act on anything visible in the app it controls, so scope it to apps you are happy to expose.

Who it is forA developer whose agent already speaks MCP and who wants desktop tools such as desktop_snapshot and desktop_click.

The problemWiring a custom desktop automation layer into an agent harness takes glue code.

The outcomeAn MCP server that exposes each command as a tool and returns its JSON envelope.

What you need first

  • Node.js and npm (or Homebrew on macOS and Linux)
  • macOS needs the Accessibility permission granted
  • An AI agent to run the observe, act, verify loop

Steps

  1. Install the CLI with npm install -g agent-desktop
  2. Add { "mcpServers": { "agent-desktop": { "command": "agent-desktop", "args": ["mcp"] } } } to your MCP client config
  3. Restart the client so it lists tools named after commands, such as desktop_snapshot and desktop_click
  4. Pass global flags such as --session, --headed or --trace to mcp if you want them on every call

Prompt for your agent

Add agent-desktop to my MCP config with command `agent-desktop` and args `mcp`, restart, then use desktop_snapshot on <app> and desktop_click to <task>. Retry a failed command only when error.disposition.retry is safe.

Caveat. Actions are headless by default with no pointer movement; pass --headed for physical input.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for vercel-labs/agent-desktop and "Add desktop control to your agent over MCP"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer