Current section

Files

Jump to
barrel_mcp rebar.config
Raw

rebar.config

{erl_opts, [debug_info, warnings_as_errors]}.
{deps, [
%% hex package is `erlang_h1' (the short name `h1' was taken);
%% the OTP app/dep stays `h1' so call sites and the app graph
%% use `h1' consistently.
{h1, "0.2.3", {pkg, erlang_h1}},
{h2, "0.6.1"},
{hackney, "4.0.3"}
]}.
{shell, [{apps, [barrel_mcp]}]}.
{eunit_opts, [verbose]}.
{cover_enabled, true}.
{dialyzer, [
{warnings, [unmatched_returns, error_handling, unknown]},
{plt_extra_apps, [ssl, public_key]}
]}.
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
deprecated_functions]}.
{profiles, [
{test, [
%% cowboy is only used by the OAuth test suites (DCR,
%% enterprise, and the OAuth client tests) to mock an
%% authorization server; the library itself no longer depends
%% on it.
{deps, [{meck, "1.2.0"}, {cowboy, "2.15.0"}]}
]}
]}.
%% meck 1.2.0 still uses the bare `catch' operator, which OTP 29
%% deprecates; relax that one warning for the dep so it builds (our
%% own code uses try...catch).
{overrides, [
{add, meck, [{erl_opts, [nowarn_deprecated_catch]}]}
]}.
%% Documentation
{project_plugins, [rebar3_ex_doc]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"guides/getting-started.md", #{title => "Getting Started"}},
{"guides/building-a-client.md", #{title => "Building a Client"}},
{"guides/internals.md", #{title => "Client Internals"}},
{"guides/features.md", #{title => "Features"}},
{"guides/http-stream.md", #{title => "Streamable HTTP Transport"}},
{"guides/stdio.md", #{title => "stdio Transport"}},
{"guides/authentication.md", #{title => "Authentication"}},
{"guides/custom-authentication.md", #{title => "Custom Authentication"}},
{"guides/tools-resources-prompts.md", #{title => "Tools, Resources & Prompts"}},
{"guides/client.md", #{title => "MCP Client (reference)"}},
{"docs/pending-features.md", #{title => "Pending Features"}},
{"CHANGELOG.md", #{title => "Changelog"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{homepage_url, "https://github.com/barrel-platform/barrel_mcp"},
{source_url, "https://github.com/barrel-platform/barrel_mcp"},
{api_reference, true},
{groups_for_modules, [
{"Main API", [barrel_mcp]},
{"Server Authentication", [barrel_mcp_auth, barrel_mcp_auth_none,
barrel_mcp_auth_bearer, barrel_mcp_auth_apikey,
barrel_mcp_auth_basic, barrel_mcp_auth_custom]},
{"Server", [barrel_mcp_http, barrel_mcp_http_stream, barrel_mcp_http_engine,
barrel_mcp_http_listener, barrel_mcp_stdio, barrel_mcp_protocol]},
{"Session", [barrel_mcp_session]},
{"Client", [barrel_mcp_client, barrel_mcp_clients,
barrel_mcp_client_handler, barrel_mcp_client_handler_default,
barrel_mcp_client_transport,
barrel_mcp_client_stdio, barrel_mcp_client_http]},
{"Client Authentication", [barrel_mcp_client_auth,
barrel_mcp_client_auth_bearer,
barrel_mcp_client_auth_oauth]},
{"Utilities", [barrel_mcp_pagination, barrel_mcp_schema]},
{"Registry", [barrel_mcp_registry]}
]}
]}.
{hex, [{doc, ex_doc}]}.