Skip to main content
Glama

Scenic MCP

Scenic MCP

MCP (Model Context Protocol) server for Scenic Elixir applications. This enables AI-driven automation and testing of any Scenic app.

Architecture

This project consists of two parts:

  1. Elixir Library - A TCP server that runs inside your Scenic app
  2. MCP Server - A TypeScript/Node.js server that implements the MCP protocol
Your Scenic App (Elixir) ↓ adds dependency scenic_mcp (Elixir TCP Server on port 9999) ↓ TCP connection scenic-mcp (TypeScript MCP Server) ↓ MCP protocol AI Assistant (Claude, Cline, etc.)

Quick Start

1. Add to your Scenic app

Add scenic_mcp to your dependencies in mix.exs:

defp deps do [ {:scenic, "~> 0.11"}, {:scenic_mcp, path: "../scenic_mcp"} # or from hex/git when published ] end

The TCP server will automatically start when your app starts.

2. Install the MCP server

For development (from this repo):

cd scenic_mcp npm install npm run build

For end users (when published):

npm install -g @scenic/mcp-server

3. Configure your MCP client

Add to your MCP client configuration (e.g., Claude Desktop, Cline):

{ "mcpServers": { "scenic": { "command": "node", "args": ["/path/to/scenic_mcp/dist/index.js"] } } }

Or if installed globally:

{ "mcpServers": { "scenic": { "command": "scenic-mcp" } } }

Testing

Test the Elixir TCP server:

# Start your Scenic app with scenic_mcp cd your_scenic_app iex -S mix # In another terminal, test the TCP connection echo "hello" | nc localhost 9999

You should see a JSON response with Elixir system info.

Test the MCP integration:

  1. Start your Scenic app
  2. Make sure the MCP server is configured in your client
  3. Use the hello_scenic tool to test the connection

Development

Project Structure

scenic_mcp/ ├── lib/ # Elixir source │ ├── scenic_mcp.ex │ └── scenic_mcp/ │ ├── application.ex │ └── server.ex ├── src/ # TypeScript source │ └── index.ts ├── dist/ # Compiled JavaScript ├── mix.exs # Elixir package └── package.json # Node package

Building

# Install Elixir deps mix deps.get # Install Node deps npm install # Build TypeScript npm run build # Bundle for local dev npm run bundle

Current Features

  • ✅ Basic TCP server in Elixir
  • ✅ MCP server in TypeScript
  • ✅ Hello world communication test

Roadmap

  • Viewport discovery and management
  • Input injection (click, type, etc.)
  • Screenshot capture
  • Scene navigation
  • Element inspection
  • Custom app-specific tools

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

A Model Context Protocol server that enables AI-driven automation and testing of Scenic Elixir applications through a TCP connection.

  1. Architecture
    1. Quick Start
      1. Add to your Scenic app
      2. Install the MCP server
      3. Configure your MCP client
    2. Testing
      1. Test the Elixir TCP server:
      2. Test the MCP integration:
    3. Development
      1. Project Structure
      2. Building
    4. Current Features
      1. Roadmap
        1. License

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A 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 -
            46
            2
            Python
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A demonstration implementation of the Model Context Protocol server that facilitates communication between AI models and external tools while maintaining context awareness.
            Last updated -
            Python
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A 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 -
            8
            Python
            Apache 2.0
            • Linux
            • Apple
          • -
            security
            -
            license
            -
            quality
            A 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

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/scenic-contrib/scenic_mcp_experimental'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server