mix assay.mcp (assay v0.3.0)

View Source

Run Assay as an MCP (Model Context Protocol) server over stdio.

The server implements the Model Context Protocol and exposes a single tool: assay.analyze, which runs incremental Dialyzer and returns structured diagnostics.

MCP clients (e.g., IDE agents) can:

  • initialize - Initialize the MCP connection
  • tools/list - List available tools
  • tools/call - Invoke the assay.analyze tool

Requests/responses use the standard MCP/LSP framing: each JSON payload must be prefixed with Content-Length: <bytes>\r\n\r\n.

Usage

mix assay.mcp

The server reads MCP requests from stdin and writes responses to stdout. See Assay.MCP for implementation details.