# SPDX-FileCopyrightText: 2026 Sudo Apt Holdings LLC # SPDX-License-Identifier: Apache-2.0 defmodule BeamMCP.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/ScriptKittyOS/beam_mcp" def project do [ app: :beam_mcp, version: @version, elixir: "~> 1.15", elixirc_options: [warnings_as_errors: true], start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "BeamMCP", source_url: @source_url, docs: [main: "readme", extras: ["README.md"]] ] end def application do [extra_applications: [:logger]] end defp deps do [ {:jason, "~> 1.4"}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.31", only: :dev, runtime: false} ] end defp description do "Model Context Protocol server core for the BEAM: protocol handling, stdio transport, " <> "and JSON Schema validation, with the tool catalog and dispatch injected by the host." end defp package do [ licenses: ["Apache-2.0"], links: %{"GitHub" => @source_url}, files: ~w(lib mix.exs README.md LICENSE NOTICE LICENSES) ] end end