# `mix vic.mcp`
[🔗](https://github.com/blackuprise/vicander/blob/v0.1.1/lib/mix/tasks/vic.mcp.ex#L1)

Serves a `DDD.MCP.Server` module as a Model Context Protocol server on standard input and
output, for an AI client to launch:

    mix vic.mcp TodoApp.Interface.MCP
    mix vic.mcp TodoApp.Interface.MCP --read-only

    claude mcp add todo -- mix vic.mcp TodoApp.Interface.MCP

Standard output carries only protocol messages, so the task sends the logger to standard
error (before the application starts, so the outbox poller can run when configured), turns
the Ecto SQL log off, and silences Mix's own output.

  * `--read-only` refuses every command tool (queries and resources only)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
