SA

spyoungtech/ahk-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 7 forks 品質 33 トレンド 0

AutoHotkey 機能を公開する MCP サーバーで、モデル インターフェイスを Windows 上でタスクを自動化できます.

概要

AutoHotkey 機能を公開する MCP サーバーで、モデル インターフェイスを Windows 上でタスクを自動化できます。 このサーバーはWindows上でのみ機能し、あなたのAIに次のツールを提供します。 - ウィンドウ/アプリケーションを列挙する能力 - キーボード/マウス(入力、クリックなど)を制御する能力 - Windows API(AutoHotkey経由)をウィンドウ(例えば、ウィンドウのテキストを取得するために、そのGUI制御の位置など) - スクリーンキャプチャ&OCR機能(テキストがWindows API /コントロールによって正しく露出されていない場合に役立ちます) - コンピュータに関する正確なウィンドウの位置とコンテキスト情報を取得する能力(あなたのウィンドウを監視する能力) - 操作と操作方法 - ウィンドウを監視する機能 - 主要な操作は、Windowsの動作を監視するかどうかを監視します。 全体的には、サーバーによって現在公開されている33個のツールが、上記は単なる簡単な概要です。 ドキュメントで作業中、ソースコードをメインに探索します。 スパイは奨励されます!

概要(AI 翻訳)

AutoHotkey 機能を公開する MCP サーバーで、モデル インターフェイスを Windows 上でタスクを自動化できます。

このサーバーはWindows上でのみ機能し、あなたのAIに次のツールを提供します。

  • ウィンドウ/アプリケーションを列挙する能力
  • キーボード/マウスを制御する能力(入力、クリックなど)
  • Windows API (AutoHotkey 経由で) をウィンドウのテキスト、その GUI コントロールの位置を取得するなど、Windows API をインターロックする機能
  • 画面キャプチャとOCR機能(テキストがWindows APIs/controlsで正しく露出されていない場合に役立ちます)
  • コンピュータモニターに関する正確なウィンドウの位置とコンテキスト情報を取得する機能(例、ウィンドウがプライマリ/セカンダリモニターにあるかを知る)
  • AutoHotkeyによって窓および他の行為を操作する機能

全体的には、サーバーによって現在公開されている33個のツールが、上記は単なる簡単な概要です。 ドキュメンテーションで作業中、ソースコードをmain.pyで探すのがおすすめです!

使用法

このプロジェクトでは、Python MCP SDK を FastMCP で利用します。 お問い合わせ 詳細な情報については、Python MCP SDK リポジトリとドキュメントを参照してください.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

ahk-mcp

MCP server exposing AutoHotkey functionality, enabling model interfaces to automation tasks on Windows.

This server only works on Windows and provides the following tools to your AI:

  • Ability to enumerate windows/applications
  • Ability to control keyboard/mouse (typing, clicking, etc)
  • Ability to interrogate Windows APIs (via AutoHotkey) about windows (e.g., to get the text of a window, the position of its GUI controls, etc.)
  • Screen capture & OCR functionality (useful when text is not exposed properly by Windows APIs/controls)
  • Ability to get accurate window positioning and contextual information about computer monitors (e.g., know what windows are on your primary/secondary monitors)
  • Ability to manipulate windows and other actions via AutoHotkey

In total, there are 33 tools currently exposed by the server, the above is just a simple overview. While we work on documentation, exploring the source code in main.py is encouraged!

Usage

This project makes use of the Python MCP SDK with FastMCP. Please see the Python MCP SDK repo and documentation for detailed information.

Assuming you’ve already setup mcp CLI, you can install this MCP service in Claude Desktop with a simple mcp command:

mcp install main.py

This project depends on ahk-binary to provide the required AutoHotkey executables and the ahk project to interface with AutoHotkey. It uses mss, easyocr, and numpy for OCR functionality.

Contributing

The best way to contribute is right here on GitHub. Please feel free to open an issue to get started. Pull requests are also welcome, but it is strongly recommended to open an issue first, especially for significant changes.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →