We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisgreenx-ctrl/serena'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
math_utils.erl•261 B
-module(math_utils).
-export([add/2, multiply/2, factorial/1]).
%% Add two numbers
add(X, Y) ->
X + Y.
%% Multiply two numbers
multiply(X, Y) ->
X * Y.
%% Calculate factorial
factorial(0) ->
1;
factorial(N) when N > 0 ->
N * factorial(N - 1).