mcpField
H
Hotkeyless Ahk Mcp

Hotkeyless Ahk Mcp

Local
github.com/tim0-12432Productivity2Updated 11w ago

About Hotkeyless Ahk Mcp

Hotkeyless Ahk Mcp is a TypeScript MCP server and set of reusable agent skills for controlling a computer through the Hotkeyless AHK HTTP API. It includes configuration for command access and examples for desktop automation.

Key features

  1. 01Wraps the Hotkeyless AHK HTTP API
  2. 02Reusable agent skill documents
  3. 03Command-list caching
  4. 04Configurable command blacklist
  5. 05Desktop automation examples

Use cases

  1. 01Let an agent invoke configured hotkeys
  2. 02Prevent selected commands from being called
  3. 03Use skill guides in OpenCode or Claude

MCP support

The MCP server exposes Hotkeyless AHK API commands to MCP clients. It retrieves commands from `/list` and triggers them through `/send`.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"HotkeylessAHK-mcp-skill": {
"command": "npx",
"args": [
"-y",
"@tim0_12432/hotkeyless-ahk-mcp-server"
],
"env": {
"BASE_URL": "<BASE_URL>",
"TIMEOUT_MS": "<TIMEOUT_MS>",
"BLACKLIST": "<BLACKLIST>",
"CACHE_TTL_MS": "<CACHE_TTL_MS>",
"ENDPOINT_LIST": "<ENDPOINT_LIST>",
"ENDPOINT_TRIGGER": "<ENDPOINT_TRIGGER>"
}
}
}
}
Run commandnpx -y @tim0_12432/hotkeyless-ahk-mcp-server
Environment variables to set
BASE_URLThe base URL of the Hotkeyless AHK HTTP server.
TIMEOUT_MSThe timeout in milliseconds for requests to the server.
BLACKLISTA comma-separated list of blacklisted commands.
CACHE_TTL_MSThe time-to-live in milliseconds for cached responses.
ENDPOINT_LISTThe default endpoint path for listing commands.
ENDPOINT_TRIGGERThe default endpoint path for triggering commands.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@tim0_12432/hotkeyless-ahk-mcp-server1.0.8

Tools

4

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
refreshbooleanNoSet true to bypass cache and force a fresh /list request.

Details

From the project README

Hotkeyless AHK MCP and Skills

License: MIT AHK Version MCP Claude Support OpenCode Support Github Copilot Support

This repository provides:

  • A TypeScript MCP server that wraps the Hotkeyless AHK HTTP API.
  • Reusable skill documents for OpenCode, Claude, and generic agent runtimes.
  • Practical examples for desktop automation scenarios.

Workspace layout

packages/
  mcp-server/   # Node MCP server package
  skills/       # Agent skill documents
examples/       # End-to-end usage examples

  1. MCP server
  1. Agent skills

MCP server

Quick start
OpenCode

opencode.json:

{
  ...
  "mcp": {
    ...
    "hotkeyless-ahk": {
      "type": "local",
      "command": ["npx", "-y", "@tim0_12432/hotkeyless-ahk-mcp-server"],
      "enabled": true,
      "environment": {
          "BLACKLIST": "shutdown,restart,kill"
          ...
      }
    }
  },
  ...
}
ClaudeCode

.mcp.json:

{
  "mcpServers": {
    ...
    "hotkeyless-ahk": {
      "command": "npx",
      "args": ["-y", "@tim0_12432/hotkeyless-ahk-mcp-server"],
      "env": {
        "BLACKLIST": "shutdown,restart,kill"
        ...
      }
    }
  }
}
Github Copilot

mcp-config.json:

{
  ...
  "mcpServers": {
    ...
    "hotkeyless-ahk": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "@tim0_12432/hotkeyless-ahk-mcp-server"],
      "env": {
        "BLACKLIST": "shutdown,restart,kill"
          ...
      },
      "tools": ["*"]
    }
  },
  ...
}
Build from source
Follow instructions here.
1. Build server
bun install
bun run build

npm should also work without problems!

2. Setup your harness
OpenCode

opencode.json:

{
  ...
  "mcp": {
    ...
    "hotkeyless-ahk": {
      "type": "local",
      "command": ["node", "<absolute path to the built files>/mcp-server/dist/index.js"],
      "enabled": true,
      "environment": {
          "BLACKLIST": "shutdown,restart,kill"
          ...
      }
    }
  },
  ...
}
ClaudeCode

.mcp.json:

{
  "mcpServers": {
    ...
    "hotkeyless-ahk": {
      "command": "node",
      "args": ["<absolute path to the built files>/mcp-server/dist/index.js"],
      "env": {
        "BLACKLIST": "shutdown,restart,kill"
        ...
      }
    }
  }
}
Github Copilot

mcp-config.json:

{
  ...
  "mcpServers": {
    ...
    "hotkeyless-ahk": {
      "type": "local",
      "command": "node",
      "args": ["<absolute path to the built files>/mcp-server/dist/index.js"],
      "env": {
        "BLACKLIST": "shutdown,restart,kill"
          ...
      },
      "tools": ["*"]
    }
  },
  ...
}
Hotkeyless AHK API contract
  • GET /list returns JSON array of { command: string, note: string }
  • GET /send/<command> accepts query parameters
Configuration

Default config is at mcp-server/dist/infrastructure/config/config.ts.

Environment overrides:

Parameter overrideWhat it doesDefault
BASE_URLAdress of the Hotkeyless AHK serverhttp://localhost:42800
TIMEOUT_MSTimeout milliseconds for each request4000
BLACKLISTA list of commands to avoid being called[]
CACHE_TTL_MSCache lifetime for command list in milliseconds5000
ENDPOINT_LISTEndpoint address of the command list/list
ENDPOINT_TRIGGEREndpoint address for invoking commands/send

Agent Skills

Quick start
OpenCode
  1. Copy the ./skills/.opencode/... folders to
  • .opencode/skills for project specific skill setup
  • %USERPROFILE%/.config/opencode/skills for global setup
  1. You can adjust AGENTS.md, custom subagents or custom commands to reference the skills
  2. Restart your OpenCode (CLI or Desktop)
  3. When asking the agent to use the "hotkeyless AHK skills" it should now use the skill guide
ClaudeCode
  1. Copy the ./skills/.claude/... folders to
  • .claude/skills for project specific skill setup
  • %USERPROFILE%/.config/claude-code/skills for global setup
  1. You can adjust CLAUDE.md, custom subagents or custom commands to reference the skills
  2. Restart your Claude Code
  3. When asking the agent to use the "hotkeyless AHK skills" it should now use the skill guide
Github Copilot
  1. Copy the ./skills/.claude/... folders to
  • .claude/skills for project specific skill setup
  • %USERPROFILE%/.config/claude-code/skills for global setup
  1. You can adjust AGENTS.md, custom subagents or custom commands to reference the skills
  2. Restart your Claude Code
  3. When asking the agent to use the "hotkeyless AHK skills" it should now use the skill guide

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.