For BEAM MCP you probably want to look at TideWave, which runs _in your application_ to give the LLM context and an execution environment.

https://hexdocs.pm/tidewave/mcp.html