autocontinue-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@autocontinue-mcpstart auto-continue so my long AI generation keeps going"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
autocontinue-mcp
Infinite continuation supervisor — an MCP Server that automatically resumes long generations interrupted on any AI webpage.
When you ask a webpage AI to run a long task, it often gets stuck on "Generation interrupted / Please click continue." This tool loops in the background watching the screen: takes a screenshot every few seconds → OCR recognizes the standalone "Continue" button → clicks it automatically, looping endlessly like a supervisor to keep your task going, hands-free.
Fully generic: configure the button text via environment variables to adapt to any webpage or app that pops up a "Continue / Continue generating / Resume / Continue" style button — not tied to any specific platform.
Features
🔁 Infinite continuation: automatically clicks "Continue" the moment an AI webpage interrupts, looping relentlessly so long tasks never stall
🌐 Fully generic: defaults to Chinese "Continue"-style buttons; change
AC_KEYWORDSto adapt to English (Resume / Continue) or any text🎯 Precise recognition: only recognizes standalone short buttons, automatically filtering out false hits like "Continue reading…" in body text
🖥️ Cross-platform: works on Windows / macOS / Linux (permission setup below)
🛡️ Safe and controllable: only acts after you explicitly
start; flick the mouse to the top-left corner of the screen for an emergency stop; never touches your files⚙️ Zero LLM dependency: pure pyautogui + OCR, no LLM / vector / cloud involved
Related MCP server: Camoufox MCP
How it works
循环(每 interval 秒):
1. 全屏(或指定区域)截图,存系统临时目录
2. OCR 识别屏幕文字
3. 只认「独立的短按钮」(如「继续」「继续生成」),过滤正文里的长句(如"继续读取关键文件")
4. 命中 → 点击按钮中心;未命中 → 静默等待下一轮
直到你调用 stop,或把鼠标甩到屏幕左上角紧急停止pyautogui and the OCR engine are both lazily imported, so the Server loads fine even on headless environments (e.g., a bare server) — it just can't actually click.
Installation
Requires Python 3.10+.
git clone https://github.com/<你的用户名>/autocontinue-mcp.git
cd autocontinue-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtThe OCR model (~tens of MB) will be downloaded automatically on first run — keep your connection online.
Connecting to an MCP client
Add the following to your MCP config file (WorkBuddy / Claude Desktop / any client supporting stdio MCP). Be sure to replace the path in args with the absolute path on your machine:
{
"mcpServers": {
"autocontinue": {
"command": "python",
"args": ["/absolute/path/to/autocontinue-mcp/server.py"],
"env": {
"AC_KEYWORDS": "继续,继续生成,继续回复",
"AC_INTERVAL": "5"
},
"disabled": false
}
}
}See mcp-config.example.json for a more complete example.
Tool list
Tool | Purpose |
| Starts the infinite continuation supervisor, looping to scan and auto-click "Continue" |
| Stops the supervisor |
| Shows status: whether running, scan count, last action, last detected button |
| Single scan and click (no loop), for manual probing |
Environment variables (all optional)
Variable | Default | Description |
|
| Button text to recognize, comma-separated |
|
| Scan interval in seconds (can also be overridden by the |
| Full screen | Scan region |
|
| Minimum button text length filter |
|
| Maximum button text length filter (filters out long-sentence false hits in body text) |
Example — adapting to English webpages ("Resume" / "Continue" buttons):
"env": { "AC_KEYWORDS": "Resume,Continue,继续", "AC_INTERVAL": "4" }Safety notes
Real mouse and keyboard control = high privilege. This tool genuinely moves and clicks your mouse, so only use it in trusted environments, and it only acts after you explicitly
start.Emergency stop: flick the mouse quickly to the top-left corner of the screen to trigger
pyautogui.FAILSAFE, and the supervisor halts immediately.Does not read or modify your files — it only takes screenshots (stored in the system temp directory, deleted after use) and clicks.
It's recommended to first use
autocontinue_scan_once()to manually confirm the target button is recognized correctly before starting a long-running supervisor.
Platform support
Platform | Status |
Windows | ✅ Recommended, most thoroughly tested |
macOS | ⚠️ Requires "Accessibility / Screen Recording" permissions |
Linux | ⚠️ Requires an X11 environment + a screenshot backend such as |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Python MCP server that helps AI interact with Gacha games through screenshot capture and click automation, enabling game analysis and automated actions.
- AlicenseBqualityDmaintenanceAn MCP server for anti-detection browser automation that uses Camoufox to bypass bot detection and spoof digital fingerprints. It enables AI agents to perform human-like web interactions, including realistic cursor movements, humanized click delays, and automatic cookie popup dismissal.36957MIT
- AlicenseNot gradedqualityCmaintenancePixel-level browser automation MCP server that drives a real Chrome browser using screenshots as vision input and OS-level mouse/keyboard as output, evading anti-bot detection.3MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that lets AI agents use your real browser as an API, accessing any website with your login state, no keys or scrapers needed.1MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Flux AI image generation
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gupi-bill/autocontinue-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server