# Code mode choice table and test checklist

From the guide: https://www.joinlegion.io/resources/code-mode-mcp-one-tool-surface

## Which version

| You want | Light version | Docker version |
|---|---|---|
| Less context from MCP servers you already use | Yes | Yes |
| To work with APIs that have an OpenAPI spec | Yes | Yes |
| Every write to wait for your approval | No | Yes |
| An audit log on your machine | No | Yes |
| Nothing to install beyond Node.js | Yes | No, needs Docker |

Not sure? Start light.

## Server inventory

| MCP server | Tools it adds | Tool tokens before | Tool tokens after | Keep in code mode? |
|---|---|---|---|---|
| | | | | |
| | | | | |

## Read-only test

- [ ] Pick one task that only reads.
- [ ] Run it with the normal servers and note the tool tokens.
- [ ] Run it through code mode and note the tool tokens.
- [ ] The agent still picked the right tool and got the right result.

## Docker version only

- [ ] One harmless write waits for approval.
- [ ] Rejecting it leaves nothing changed.
- [ ] The write shows up in the audit log.

## Remember

- [ ] Code mode does not cap spending. The campaign ceiling still applies.
