Skip to main content
Glama

Scenic MCP

scenic_mcp.ex922 B
defmodule ScenicMcp do @moduledoc """ MCP (Model Context Protocol) server for Scenic applications. Add this to your Scenic app to enable AI-driven automation and testing. ## Usage Add to your dependencies: {:scenic_mcp, "~> 0.1.0"} The TCP server will automatically start on port 9999 when your application starts. ## Configuration You can configure the port in your config: config :scenic_mcp, port: 9999 """ @doc """ Returns a child spec for adding ScenicMcp to a supervision tree. """ def child_spec(opts) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [opts]}, type: :supervisor } end @doc """ Starts the ScenicMcp supervision tree. """ def start_link(opts \\ []) do ScenicMcp.Application.start(:normal, opts) end @doc """ Returns :world for basic testing. """ def hello do :world end end

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