mix vic.mcp (vicander v0.1.1)

Copy Markdown View Source

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)