
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that enables AI assistants to interact with Scenic GUI applications through keyboard input, mouse control, and visual feedback.
MCP server for Scenic GUI applications is cataloged as an MCP server attributed to scenic-contrib. A Model Context Protocol server that enables AI assistants to interact with Scenic GUI applications through keyboard input, mouse control, and visual feedback. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for Scenic GUI applications are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No, Scenic MCP binds to localhost only and is intended for development and testing environments, with no authentication.
Yes, by configuring unique ports per app and connecting to a specific port.
README.md · 8ebf0c6a3709 · Fetched 2026-11-13 14:07:17 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Model Context Protocol (MCP) server for Scenic GUI applications
Version: 1.0.0
Enable AI assistants to interact with Scenic GUI applications through keyboard input, mouse control, and visual feedback. Perfect for automated testing, AI-driven development workflows, and accessibility tools.
mix.exsNote this is still not actually published to hex so you need to clone it and add it as a local dep for now.
defp deps do
[
{:scenic_mcp, "../scenic_mcp"}
]
end
Scenic MCP requires named viewport and driver processes. Update your supervision tree:
# In your application.ex
def start(_type, _args) do
children = [
{Scenic, scenic_viewport_config()}
]
Supervisor.start_link(children, strategy: :one_for_one)
end
defp scenic_viewport_config do
[
name: :main_viewport, # Required!
size: {800, 600},
default_scene: MyApp.RootScene,
drivers: [
[
name: :scenic_driver, # Required!
module: Scenic.Driver.Local,
window: [title: "My App"],
on_close: :stop_system
]
]
]
end
Note that name here defines the atom which will become the registered process name for the ViewPort and Driver processes. We need to know this in order to find the pid of this process in order to interact with the ViewPort, and our solution was to look for this specific name main_viewport so you need to set this in your config as above for ScenicMCP to work.
Viewport name: :main_viewport
Driver name: :scenic_driver
Optional: Custom process names
If you need different process names, configure them:
# config/config.exs
config :scenic_mcp,
viewport_name: :my_custom_viewport,
driver_name: :my_custom_driver,
port: 9999
cd scenic_mcp
npm install
npm run build
claude mcp add scenic-mcp /path/to/scenic_mcp/dist/index.js
claude mcp list # Verify installation
Edit ~/.claude.json:
{
"projects": {
"/path/to/your/project": {
"mcpServers": {
"scenic-mcp": {
"type": "stdio",
"command": "/path/to/scenic_mcp/dist/index.js",
"args": [],
"env": {}
}
}
}
}
}
Optional: Tidewave MCP Configuration
Tidewave provides runtime introspection for Elixir/Phoenix apps (logs, SQL queries, code evaluation, docs). If your project includes Tidewave (Flamelex/Quillex do), you can add it alongside Scenic MCP.
Using Claude Code CLI:
TIDEWAVE_PORT=4000 # Change to your app's port
claude mcp add --transport http tidewave http://localhost:$TIDEWAVE_PORT/tidewave/mcp
Manual Configuration:
Add this to the same project config in ~/.claude.json:
{
"projects": {
"/path/to/your/project": {
"mcpServers": {
"scenic-mcp": {
"type": "stdio",
"command": "/path/to/scenic_mcp/dist/index.js",
"args": [],
"env": {}
},
"tidewave": {
"type": "http",
"url": "http://localhost:$TIDEWAVE_PORT/tidewave/mcp"
}
}
}
}
}
Replace $TIDEWAVE_PORT with your application's HTTP port (e.g., 4000 for Phoenix defaults).
cd your_scenic_app
iex -S mix
You should see:
✅ ScenicMCP successfully started on port 9999
connect_scenic - Establish connection to running Scenic appget_scenic_status - Check connection status and server infosend_keys - Send keyboard input (text, special keys, modifiers)send_mouse_move - Move cursor to coordinatessend_mouse_click - Click at coordinates (left/right/middle button)inspect_viewport - Get text description of viewport structuretake_screenshot - Capture PNG screenshot (path or base64)send_keys({ text: "Hello, World!" })
send_keys({ key: "enter" })
send_keys({ key: "escape" })
send_keys({ key: "tab" })
send_keys({ key: "s", modifiers: ["ctrl"] }) // Ctrl+S (Save)
send_keys({ key: "c", modifiers: ["cmd"] }) // Cmd+C (Copy on Mac)
send_keys({ key: "z", modifiers: ["ctrl", "shift"] }) // Ctrl+Shift+Z (Redo)
send_mouse_move({ x: 100, y: 200 })
send_mouse_click({ x: 150, y: 250, button: "left" })
send_mouse_click({ x: 300, y: 100, button: "right" }) // Right-click
inspect_viewport() // Get component structure
take_screenshot({ format: "path" }) // Save to /tmp
take_screenshot({
filename: "app_state.png",
format: "base64" // Get base64 data
})
AI Agent (Claude Desktop/Code)
↓ stdio
TypeScript MCP Server (this package)
↓ TCP (port 9999)
Elixir GenServer (ScenicMcp.Server)
↓ function calls
Scenic Driver Process
↓ input events
Your Scenic Application
# config/config.exs
config :scenic_mcp,
# TCP port for MCP server (default: 9999)
port: 9999,
# Viewport process name (default: :main_viewport)
viewport_name: :main_viewport,
# Driver process name (default: :scenic_driver)
driver_name: :scenic_driver,
# Application name for logging (default: "Unknown")
app_name: "MyApp"
If you're running multiple Scenic apps, configure unique ports:
# In flamelex/config/config.exs
config :scenic_mcp, port: 9999, app_name: "Flamelex"
# In quillex/config/config.exs
config :scenic_mcp, port: 9997, app_name: "Quillex"
# In your_test/config/test.exs
config :scenic_mcp, port: 9996, app_name: "Test"
Connect to specific ports:
connect_scenic({ port: 9997 }) // Connect to Quillex
npm run build # One-time build
npm run dev # Watch mode for development
npm run bundle # Copies dist/* to priv/mcp_server/
# Elixir tests
mix test
# Test specific file
mix test test/scenic_mcp/server_test.exs
scenic_mcp/
├── lib/
│ ├── scenic_mcp.ex # Module documentation
│ └── scenic_mcp/
│ ├── application.ex # OTP application
│ ├── config.ex # Configuration management
│ ├── server.ex # TCP server (GenServer)
│ └── tools.ex # Tool handlers
├── src/
│ ├── index.ts # MCP server entry point
│ ├── connection.ts # TCP connection management
│ └── tools.ts # Tool definitions
├── test/
│ └── scenic_mcp/
│ └── server_test.exs # Integration tests
└── dist/ # Compiled TypeScript
Error: MCP server fails to connect or tools are not available in Claude Code/Desktop
Solution: The compiled dist/index.js file must be executable. TypeScript compilation doesn't preserve executable permissions, even if the source file has them.
Fix:
chmod +x /path/to/scenic_mcp/dist/index.js
Automatic fix: The build script now automatically makes the file executable. If you built before this fix was added, either:
npm run build again (recommended)chmod +x dist/index.jsAfter fixing, restart Claude Code or start a new conversation for the change to take effect.
Error: Port 9999 is already in use!
Solution: Configure a different port in your config.exs:
config :scenic_mcp, port: 9998
Error: Unable to find Scenic viewport process ':main_viewport'
Solutions:
name: :main_viewport in your Scenic configconfig :scenic_mcp, viewport_name: :your_nameProcess.whereis(:main_viewport)Error: Unable to find Scenic driver process ':scenic_driver'
Solutions:
name: :scenic_driver in your driver configconfig :scenic_mcp, driver_name: :your_nameProcess.whereis(:scenic_driver)Error: Command timeout after 5000ms
Solutions:
connect_scenic({ port: YOUR_PORT })If tests fail with connection errors:
mix test --trace for detailed outputscenic_driver_local dependency is properly compiled⚠️ Important Security Notes:
localhost only - not accessible from external networksSee SECURITY.md for detailed security guidelines.
See docs/INTEGRATION.md for step-by-step integration instructions, including:
All tool functions return consistent error structures:
{
"error": "Descriptive error message with context and potential solutions"
}
Success responses include a status field:
{
"status": "ok",
"message": "Operation completed successfully",
...additional data...
}
Contributions are welcome! Please:
mix test passesMIT License - see LICENSE for details
See CHANGELOG.md for version history.
Made with ❤️ for the Elixir and Scenic communities
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Scenic GUI applications from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/scenic_mcp_experimental)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.