can-see
MCP server that lets AI agents see and interact with terminal/CLI applications through virtual terminals and PNG screenshots.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
DEFAULT_COLS=<value> DEFAULT_ROWS=<value> IDLE_TIMEOUT_MS=<value> claude mcp add io.github.hurleysk-can-see -- npx -y can-see@0.4.0在終端機中執行。
{ "mcpServers": { "io.github.hurleysk-can-see": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "DEFAULT_COLS": "<value>", "DEFAULT_ROWS": "<value>", "IDLE_TIMEOUT_MS": "<value>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
Built for Claude Code and any MCP-compatible agent.
Some things are easier to show than describe. When debugging a TUI app, an interactive CLI wizard, or anything with visual terminal output, can-see lets the agent see exactly what you see — colors, layout, cursor position, and all.
npm install -g can-see
can-see depends on node-canvas (Cairo) and node-pty, which require native compilation. Most systems will need:
npm install --global windows-build-tools or install from Visual Studio Installerxcode-select --installsudo apt install build-essential libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-devAdd to your project's .mcp.json:
{
"mcpServers": {
"can-see": {
"command": "npx",
"args": ["-y", "can-see"]
}
}
}
Or if installed globally:
{
"mcpServers": {
"can-see": {
"command": "can-see"
}
}
}
can-see uses stdio transport. Point your MCP client at the can-see binary or npx -y can-see.
Enter, Tab, Escape, Backspace, Space, Up, Down, Left, Right, Home, End, Delete, PageUp, PageDown, Ctrl+A through Ctrl+Z.
From an MCP-connected agent:
Agent: I'll launch your app to see what's happening.
→ launch("node", ["app.js"]) → sessionId: "abc-123"
Agent: Let me wait for the app to start.
→ wait_for_text("abc-123", "Ready") → Found "Ready" after 1200ms
Agent: Let me read the current output.
→ read_text("abc-123") → "Welcome to MyApp\nReady\n> "
Agent: I can see the prompt. Let me select option 2.
→ send_keys("abc-123", ["Down", "Enter"])
Agent: Waiting for the screen to settle.
→ wait_for_idle("abc-123") → Terminal idle for 520ms
Agent: Let me check the result.
→ screenshot("abc-123") → [PNG image showing result]
Agent: Done, closing the session.
→ close("abc-123")
New tools:
wait_for_exit — wait for process exit, get exit code and signalclose_all — kill all active sessions at onceget_process_status — distinguish "app is idle" from "app has exited"screenshot_text_region — find text in viewport, capture surrounding area as PNGEnhancements:
launch accepts env parameter for custom environment variableswait_for_idle supports excludePattern (regex) for dynamic row exclusion in stableMs modestop_recording returns frameCount and durationMs metadata alongside GIFget_cell_info supports compact option for reduced output ({char, fg, bold} only)Bug fixes:
wait_for_text and wait_for_color race condition where text/color present in the final buffer was missed when the process exited simultaneouslystableMs and idleMs are passed to wait_for_idleMIT
Let AI agents see and interact with terminal/CLI apps via PNG screenshots
{ "mcpServers": { "io.github.hurleysk-can-see": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "DEFAULT_COLS": "<value>", "DEFAULT_ROWS": "<value>", "IDLE_TIMEOUT_MS": "<value>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:DEFAULT_COLS, DEFAULT_ROWS, IDLE_TIMEOUT_MS。
Can See 透過 stdio 在本機執行。
上次檢查時間:2026-11-09。 Let AI agents see and interact with terminal/CLI apps via PNG screenshots