The MCP server agents connect to, at /beamlet/mcp.
It offers three tools:
Beamlet.MCP.Define- thedefinetool, which compiles modules into your beamlet.Beamlet.MCP.Eval- theevaltool, which runs Elixir code on your beamlet.Beamlet.MCP.Patch- thepatchtool, which edits a module agents defined.
Every request needs a token, and the token's policy decides which of the tools the client sees.
Configuration
config :beamlet, mcp: [request_timeout: 90_000]:request_timeout- How long the server waits for a tool to answer before replying "Server unavailable", in milliseconds. Defaults to 65 seconds. It must be longer than the eval and define timeouts, so a slow tool reports its own error first.
Summary
Functions
The instructions a client receives on initialize, written for the
model.