Current section
Files
Jump to
Current section
Files
phantom_mcp
mix.exs
mix.exs
defmodule Phantom.MixProject do
use Mix.Project
def project do
[
aliases: aliases(),
app: :phantom_mcp,
description: "Elixir MCP (Model Context Protocol) server library with Plug",
deps: deps(),
docs: docs(),
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
start_permanent: Mix.env() == :prod,
version: "0.2.0",
source_url: "https://github.com/dbernheisel/phantom_mcp"
]
end
def cli do
[
preferred_envs: [format: :test]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:plug, "~> 1.0"},
{:telemetry, "~> 1.0"},
{:phoenix_pubsub, "~> 2.0", optional: true},
{:uuidv7, "~> 1.0"},
## Test
{:phoenix, "~> 1.7", only: [:test]},
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp package do
[
name: :phantom_mcp,
maintainers: ["David Bernheisel"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/dbernheisel/phantom_mcp"
}
]
end
defp docs do
[
main: "Phantom",
extras: ~w[CHANGELOG.md]
]
end
defp aliases do
[]
end
end