---
title: "ok-script | AwesomeCUA"
url: https://awesomecua.com/resources/github-ok-oldking-ok-script/
updated: 2026-11-10
type: framework
lang: en
---

# ok-script

A Python framework for screen automation of Windows apps, games and Android devices with template matching, OCR and input, plus an MCP server through which coding agents screenshot targets, run, reload and package tasks.

- Catalog URL: https://awesomecua.com/resources/github-ok-oldking-ok-script/
- Original source: https://github.com/ok-oldking/ok-script
- Kind: framework
- Review: curated
- Scope: adjacent
- Environments: desktop, windows, android
- Topics: automation, tool-integration, screen-understanding
- Evidence checked: 2026-11-10T06:29:26Z
- ID: github:ok-oldking/ok-script

## Limitations

Installed with pip as ok-script[default] on Python 3.11 or later; the MCP server listens on loopback over Streamable HTTP with a bearer token. Finished tasks run headless or in a PySide6 GUI without the agent. Licensed Apache 2.0 with Commons Clause and additional terms.

- Record JSON: https://awesomecua.com/resources/github-ok-oldking-ok-script/record.json

## License declarations

- code: Apache-2.0 — https://raw.githubusercontent.com/ok-oldking/ok-script/HEAD/LICENSE.txt
- data: not recorded
- document: not recorded
- weights: not recorded

## Primary evidence

- https://raw.githubusercontent.com/ok-oldking/ok-script/37db3d1f236b56168543661f6ea1c3e27f171627/README.md (retrieved 2026-11-10T06:29:26Z; SHA-256 e29214a853e36312ac944c765d8515bab93c15042b80444e48ec12c62c0a8bbb)
- https://raw.githubusercontent.com/ok-oldking/ok-script/HEAD/LICENSE.txt (retrieved 2026-11-10T06:22:28Z; SHA-256 31d615200438b02fb695b86b72b02c8054c5d93837aabc84701b3b44453dc57e)
