Connect Sawdust to Command Code

Published on

Register https://sawdust.diy/mcp in Command Code with cmdcode mcp add and approve OAuth access in your browser.

Command Code supports remote HTTP MCP servers with OAuth sign-in. Registering Sawdust lets Command Code inspect your parts, edit woodworking operations, and author parametric procedures.

1. Add the Sawdust MCP server

Run the following command to add Sawdust across your user profile:

cmdcode mcp add --transport http --scope user sawdust https://sawdust.diy/mcp

Omit --scope user if you only want Sawdust registered in the current directory.

2. Authenticate in your browser

  1. Start Command Code by running cmdcode.
  2. Type /mcp, select sawdust, and start authentication.
  3. In the browser window that opens, sign in to Sawdust and click Approve.
Sawdust OAuth consent screen asking to connect Command Code with read and edit permissions.

3. Manage or disconnect

Once approved, ask Command Code to list your Sawdust projects or inspect the active scene. You can revoke the connection anytime in Sawdust under Settings -> Connected assistants or remove it locally with cmdcode mcp remove sawdust.

Sawdust Settings Connected assistants section showing Command Code connected with a Disconnect button.