Agent Access

Agent Access lets local tools work with Workout Writer through a command-line bridge and local MCP server on your Mac. It is off by default, and you decide which tools can read or change your data.

The current release is Workout Writer CLI v1.1.1 for Apple silicon Macs.

Download Workout Writer CLI

The installer adds workout-writer to /usr/local/bin.

Before you start

You need:

Install the CLI

  1. Download and open the installer above.
  2. Follow the macOS installation steps.
  3. Open Terminal and confirm the command is available:
workout-writer --version

Install the bridge shortcut

The quickest option is to install the prepared shortcut:

Get the Workout Writer Agent Bridge shortcut

Open the link on your Mac, review the shortcut, then choose Add Shortcut. Keep its name as Workout Writer Agent Bridge so the CLI can find it.

Create the shortcut manually

If you would rather create it yourself:

  1. Open Shortcuts on your Mac and create a new shortcut.
  2. Add the Run Workout Writer Agent Request action.
  3. Set its Request parameter to Shortcut Input.
  4. Name the shortcut exactly Workout Writer Agent Bridge.
  5. Leave the shortcut with that single action.

On the first CLI request, macOS may ask whether the shortcut can output one text item. Choose Allow Always.

Enable Agent Access

  1. In Workout Writer, open Settings > Agent Access.
  2. Turn on Allow agent requests.
  3. Enable only the read or write tools you want to use.
  4. Generate an access key.
  5. Store the key in your Mac login Keychain by running:
workout-writer auth configure

The prompt does not show the key as you type. The CLI reads it from Keychain when making a request, so an agent does not need to receive the key itself.

Workout Writer Agent Access settings with Allow agent requests enabled and the CLI download button visible
Agent requests are blocked until you enable the master switch.
Workout Writer Allowed Tools settings showing separate switches for read and write tools
Enable only the read and write tools you want the agent to use.
Workout Writer Authentication settings showing that an access key is configured, with Rotate Access Key and Revoke buttons
The access key can be rotated or revoked from Workout Writer at any time.

Check the connection

List the tools currently available from Workout Writer:

workout-writer tools

Fetch the personalised workout-writing guide used by Workout Writer:

workout-writer guide
workout-writer guide --activity running
workout-writer guide --activity cycling

The guide includes your configured tag names, allowing an agent to use terms that Workout Writer already understands.

Connect an MCP client

Workout Writer CLI v1.1.0 includes a local MCP server. Configure your MCP client to launch the installed command:

{
  "mcpServers": {
    "workout-writer": {
      "command": "/usr/local/bin/workout-writer",
      "args": ["mcp"]
    }
  }
}

The server asks Workout Writer for its current capabilities whenever the client lists tools. Only tools that are enabled and available in Settings > Agent Access are exposed.

You can also run the server directly over standard input and output:

workout-writer mcp

Access and safety

To inspect or remove the saved CLI credential without displaying it:

workout-writer auth status
workout-writer auth clear