If you are unfamiliar with how to create a GitHuB Personal Access Token (PAT) then refer to GitHub’s docs here for how to quickly create one.Generate a fine-grained GitHub PAT that only has access to the codespace-executor repo you forked and has the following codespaces permissions below (screenshots to follow):
Codespaces: Read and write
Codespaces lifecycle admin: Read and write
Codespaces metadata: Read-only
Metadata: Read-only (this is preselected and mandatory on all fine-grained GitHub PATs)You will need to copy and paste this PAT in the next step.
Download the keyboard-mcp.dxt file found here: dxt github releaseNavigate to the Claude Desktop app Extensions page via the Claude settings page.Select Advanced settings and install the keyboard-mcp.dxt file.Copy the GitHub PAT generated in the previous step into the Claude UI.
After you log in to the desktop app, find the “Settings” button. Once there, find your WebSocket key and copy it.After you copy it, navigate back to Claude and add in the WebSocket Connection Key.Now after you save make sure Keyboard is enabled.That’s it! Setup should be done.
Navigate back to the Claude chat in your Claude Desktop and try a prompt like this:
Copy
Ask AI
Can you run hello world code with Keyboard?
From here you should see Keyboard use tools to plan, create a codespace, connect to a websocket, and execute code that you will use the desktop app to approve.
If notifications are not showing up, go to notification settings on your Mac
If Claude is not loading trying quiting the Claude Desktop app and opening again
On Mac if login on the electron app is not redirecting properly, run:
Copy
Ask AI
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user