Packages
HexDocs MCP is a project that provides semantic search capabilities for Hex package documentation, designed specifically for AI applications. It downloads, processes, and generates embeddings from Hex package documentation and provides a Model Context Protocol (MCP) server for searching.
Current section
Files
Jump to
Current section
Files
lib/hexdocs_mcp/application.ex
defmodule HexdocsMcp.Application do
@moduledoc false
use Application
@doc false
def start(_type, _args) do
children = [
{HexdocsMcp.Repo,
load_extensions: [SqliteVec.path()], database: HexdocsMcp.Config.database()}
]
opts = [strategy: :one_for_one, name: HexdocsMcp.Supervisor]
Supervisor.start_link(children, opts)
end
end