Skip to main content

Crate erl_dist_mcp

Crate erl_dist_mcp 

Source
Expand description

Erlang Distribution MCP Server

A Rust MCP server that connects to Erlang/BEAM nodes via the distribution protocol, exposing tools for introspection, debugging, tracing, and code evaluation.

Re-exports§

pub use connection::ConnectionManager;
pub use connection::ConnectionState;
pub use connection::NodeConnection;
pub use connection::NodeStatus;
pub use error::ConnectionError;
pub use error::ConnectionResult;
pub use error::RpcError;
pub use error::RpcResult;
pub use error::ToolError;
pub use error::ToolResult;
pub use formatter::TermFormatter;
pub use formatter::get_formatter;
pub use rpc::DEFAULT_RPC_TIMEOUT_MS;
pub use rpc::FromTerm;
pub use rpc::ToTerm;
pub use rpc::atom;
pub use rpc::binary;
pub use rpc::binary_from_str;
pub use rpc::extract_atom;
pub use rpc::extract_binary;
pub use rpc::extract_error_reason;
pub use rpc::extract_list;
pub use rpc::extract_map;
pub use rpc::extract_ok_value;
pub use rpc::extract_tuple;
pub use rpc::is_atom;
pub use rpc::is_error_tuple;
pub use rpc::is_nil;
pub use rpc::is_ok_tuple;
pub use rpc::list;
pub use rpc::map;
pub use rpc::nil;
pub use rpc::rpc_call;
pub use rpc::tuple;
pub use server::ErlDistMcpServer;
pub use server::FormatterMode;
pub use server::ServerState;
pub use trace::TraceManager;
pub use trace::TraceParams;
pub use trace::TraceSession;

Modules§

connection
Connection manager for Erlang node connections.
error
Error types for the Erlang Distribution MCP Server.
formatter
Term formatting infrastructure for displaying Erlang terms in various BEAM language syntaxes.
rpc
RPC helper layer for remote Erlang function calls.
server
MCP Server implementation for Erlang Distribution.
trace
Tracing infrastructure for function call tracing.