Provides integration with Scenic (an Elixir UI framework), enabling AI-driven automation and testing for Scenic applications through a TCP server that exposes app state and allows interaction with UI elements.
Uses Node.js to implement the MCP server component that bridges between the Elixir TCP server and AI assistants, enabling the control of Scenic applications.
Scenic MCP - Input Control for Scenic Applications
A Model Context Protocol (MCP) server that enables external keyboard and mouse input injection into Scenic GUI applications.
Features
- Keyboard Input: Send text and special keys to Scenic applications
- Mouse Control: Move cursor and click at specific coordinates
- MCP Integration: Works with any MCP-compatible client (Claude Desktop, etc.)
- Real-time Communication: TCP-based connection for low-latency input
- Scenic Compatible: Uses proper Scenic ViewPort input routing
Installation
- Add to your Scenic application's
mix.exs
:
- Add to your application's supervision tree:
actually you shouldn't need to do this...
- Install Node.js dependencies:
Usage
MCP Tools
The server provides these MCP tools:
connect_scenic
Test connection to the Scenic application.
get_scenic_status
Check server status and available commands.
send_keys
Send keyboard input to the Scenic application.
Parameters:
text
(string): Text to type (each character sent as individual key press)key
(string): Special key name (enter, escape, tab, backspace, delete, up, down, left, right, home, end, page_up, page_down, f1-f12)modifiers
(array): Modifier keys (ctrl, shift, alt, cmd, meta)
send_mouse_move
Move mouse cursor to specific coordinates.
Parameters:
x
(number): X coordinatey
(number): Y coordinate
send_mouse_click
Click mouse at specific coordinates.
Parameters:
x
(number): X coordinatey
(number): Y coordinatebutton
(string): Mouse button (left, right, middle) - default: left
Examples
Send text:
Send special key:
Send key with modifiers:
Move mouse:
Click mouse:
Architecture
Development
Start the Elixir server:
Test the MCP server:
Requirements
- Elixir/OTP 24+
- Node.js 18+
- Scenic 0.11+
License
MIT License
This server cannot be installed
A Model Context Protocol server that enables AI-driven automation and testing of Scenic Elixir applications through a TCP connection.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.Last updated -462Python
- -securityFlicense-qualityA demonstration implementation of the Model Context Protocol server that facilitates communication between AI models and external tools while maintaining context awareness.Last updated -Python
- -securityAlicense-qualityA customizable Model Context Protocol server implementation that enables AI models to interact with external tools including weather queries, Google search, and camera control functionality.Last updated -8PythonApache 2.0
- -security-license-qualityA Model Context Protocol server that enables generating and executing Elisp code in a running Emacs process, allowing AI assistants to control and interact with Emacs.Last updated -Python