Packages

Elixir implementation of Model Context Protocol (MCP) server with Server-Sent Events transport

Current section

Files

Jump to
mcp mix.exs
Raw

mix.exs

defmodule MCP.MixProject do
use Mix.Project
def project do
[
app: :mcp,
version: "0.2.0",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/kim-company/mcp",
name: "MCP Server implementation",
description: description(),
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {MCP.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:plug, "~> 1.15"},
{:bandit, ">= 0.0.0", only: :test},
{:req, ">= 0.5.0", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
defp package do
[
maintainers: ["KIM Keep In Mind"],
files: ~w(lib mix.exs README.md LICENSE),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/kim-company/mcp"}
]
end
defp description do
"""
Elixir implementation of Model Context Protocol (MCP) server with Server-Sent Events transport
"""
end
end