Class Main

java.lang.Object
ai.tabforge.workshop.Main

public class Main extends Object
Entry point for the Claude Architect Workshop MCP Server.

Launched by Claude Desktop / Cursor via the path registered in claude_desktop_config.json. Starts the MCP server on STDIN/STDOUT (StdioServerTransport) and blocks until the parent process disconnects.

CRITICAL: This class must NEVER write to System.out directly. STDOUT is owned by the MCP protocol (JSON-RPC framing). All diagnostic output goes through SLF4J → Logback → STDERR. One stray println corrupts the MCP framing and breaks Claude Desktop.

Analogy: like a language server (LSP) — it communicates via a structured protocol on STDIN/STDOUT. Your IDE's log window shows its stderr; it never clutters the protocol channel.

CERTIFICATION NOTE — Tool Design & MCP Integration (18% of exam): The MCP server lifecycle (start → register tools → serve → shutdown) is what this class orchestrates. The tools themselves live in ai.tabforge.workshop.tools.

  • Constructor Details

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args)