Control PlayAbility with an AI Assistant Through MCP
The PlayAbility MCP server gives a compatible AI assistant a local set of tools for working with PlayAbility. Depending on the request, it can inspect and switch profiles, read mappings, import mappings, navigate the app, read or change supported settings, send controls, manage windows, and capture screenshots.
Before you start
- Install Node.js 18 or later and make sure the
nodecommand is available. - Use an AI client that supports local MCP servers launched through standard input/output.
- Keep PlayAbility running on the same computer as the AI client.
- Only connect an AI client you trust. MCP tools can send keyboard, mouse, and gamepad input.
The PlayAbility MCP server connects locally to the desktop app through ws://127.0.0.1:13123.
Enable MCP in PlayAbility
- Open Connections.
- Select WebSocket & MCP.
- Turn on Enable MCP Server.
- Wait for the MCP Configuration section to appear.
Enabling MCP also enables the WebSocket server and Allow WebSocket Inputs. It leaves Allow WebSocket Outputs off.
Secure the connection
- In the WebSocket Settings section on the same page, keep Require authentication key on.
- Make sure an Authentication key is present.
- If needed, select Generate New Key.
When authentication is enabled, the configuration generated by PlayAbility includes the same key as PLAYABILITY_WS_KEY.
Add the generated configuration to the AI client
- In PlayAbility, locate MCP Configuration.
- Check whether it is labelled Production or Development.
- Select Copy.
- Open the MCP server configuration in your AI client.
- Merge the copied
playabilityentry into itsmcpServersobject. - Save the configuration.
- Fully restart or reload the AI client so it launches the new server.
Use the configuration PlayAbility generates rather than typing the server path yourself. It contains the correct installed path and, when required, the authentication key.
Verify the MCP connection
- Open the AI client's MCP or integrations page.
- Confirm that a server named
playabilityis listed and connected. - Start with a read-only request such as:
- "List my PlayAbility profiles."
- "Show the current PlayAbility page."
- "Read the mappings in my active profile."
- Check that the returned profile or page matches the desktop app.
Ask the assistant to send an input or change a setting only after read-only tools work.
What an assistant can do
The bundled MCP server includes tools to:
- List profiles and read current or named profile mappings.
- Switch profiles and import or append mappings.
- Navigate to PlayAbility pages and report the current page.
- Read exposed settings and change the remotely writable subset.
- Send gamepad, keyboard, mouse, cursor, or batched inputs.
- List displays and windows, focus, move, or resize windows.
- Capture screenshots.
- Read basic PlayAbility connection information.
Some security-sensitive settings cannot be changed through MCP. Serial and HID output, WebSocket authentication, analytics, and Windows input muting must be changed in the PlayAbility interface.
Troubleshooting
The MCP server does not appear in the AI client
- Confirm that the client supports local MCP servers.
- Check that
node --versionreports Node.js 18 or later. - Copy the configuration from PlayAbility again and verify that it was added to the correct client configuration.
- Restart the AI client completely.
- Review the client's MCP log for an invalid JSON or missing-file error.
The server appears but cannot connect to PlayAbility
- Keep PlayAbility running.
- Confirm that Enable MCP Server remains on.
- Make sure port
13123is not being used by another application. - If you generated a new authentication key, copy the updated MCP configuration into the client and restart it.
A Development configuration cannot start
Development configuration is for a source checkout. Build the repository's mcp-server before using the generated Development path. Normal installed copies should show a Production configuration.
A tool is missing or denied
- Reload the client after updating PlayAbility.
- Ask the client to refresh its MCP tool list.
- Change security-sensitive options directly in PlayAbility.
Safety
- Treat
PLAYABILITY_WS_KEYas a secret. - Review requests before allowing an assistant to type, click, move a pointer, or import mappings.
- Begin with read-only tasks.
- Keep Allow WebSocket Outputs off unless another integration specifically needs the broadcast stream.
- Turn off Enable MCP Server when you no longer need AI access. Doing so immediately ends the MCP connection.
- The connection is local-only in current builds. Do not expose port
13123to the internet.
Related articles
- Connect External Apps Through WebSocket
- Control PlayAbility with Settings Actions
- Configure PlayAbility Settings
Updated on: 30/07/2026
Thank you!
