AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Pupil

mcp-adevillers-pupil · by ADevillers

Let agents perceive, indicate, and act in any application.

— No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add mcp-adevillers-pupil

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-adevillers-pupil)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 4mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Pupil? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Pupil

Pupil is a Windows MCP server that lets an AI agent perceive your UI as structured data, indicate with an on-screen overlay, and act on the desktop when you accept.

Demo where the human operator only does : Tab, Tab, Tab...

Click the GIF for the full-quality MP4.

Why Pupil

Today, working with an agent on a real desktop usually means a chat back-and-forth: you describe what you see, the agent describes what to do, you do it, you describe again. It works, but it's slow and a lot gets lost in translation.

Two things make that loop hard:

  • agents can't reliably see what's on screen, so context comes from your words (or repeated screenshots sent through the model);
  • and for many steps they need you to act — clicking a specific button, typing into a specific field, confirming a dialog — because they don't have hands on your machine.

Pupil turns that chat into something more like working side by side. The agent gets a structured view of the UI instead of guessing from screenshots, and when it needs you it draws an overlay card on the exact control to click or field to fill. You stay in charge — you can accept, skip, or ignore — and as a bonus the agent can also execute the action itself when you let it, so the same channel covers "show me", "do this", and "let me do it for you".

It's not a full autopilot. It's a tighter loop between what the agent sees, what it asks for, and what actually happens on your screen.

Examples

Overlay cards for each indicate type (info, warning, wait, danger, click, action, input):

Quick start (Windows)

  1. From the repo root, run .\scripts\build.ps1 — builds the .NET core, copies pupil-core.exe into app\vendor\win32-x64\, then runs pnpm install and pnpm rebuild electron under app\.
  2. Point Cursor’s MCP config at the Node entrypoint. Replace `` with the absolute path to your clone (forward slashes are fine on Windows):
{
  "mcpServers": {
    "pupil": {
      "command": "node",
      "args": ["/app/bin/pupil-mcp.js"]
    }
  }
}
  1. Reload MCP or restart Cursor so the server starts.

If native binaries are missing or locked, run .\scripts\kill.ps1 before rebuilding. .\scripts\smoke.ps1 runs a basic syntax + bridge check. A legacy Python server in [mcp/main.py](mcp/main.py) exists for reference — see [docs/MCP.md](docs/MCP.md).

How it works

flowchart LR
    Agent[AI_Agent] -->|MCP_stdio| Shim[pupil-mcp.js]
    Shim -->|IPC| Daemon[Electron_daemon]
    Daemon -->|spawn| Core[pupil_core]
  • app/bin/pupil-mcp.js — MCP stdio entry; loads [app/src/shim](app/src/shim) and the Electron overlay daemon.
  • core/ — .NET native sidecar (pupil-core.exe) that does the actual perception.
  • mcp/ — optional Python server ([mcp/main.py](mcp/main.py)) — legacy / minimal; most setups use Node only.
  • scripts/ — Windows build, smoke, and kill helpers.

Documentation

  • [docs/MCP.md](docs/MCP.md) — full MCP & indicator contract (perceive / indicate, types, accept semantics, response shape).

Status & community

Early development, Windows-focused today. This is my first open-source project — feedback, bug reports, and questions are very welcome via GitHub Issues.

License

[MIT](LICENSE)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.