Skip to content

Migration from Python Bridge

Guide for migrating from the Python bridge (sp-local-bridge via uv/pip) to the Go bridge (single binary).

What Changes

AspectPython BridgeGo Bridge
Installuv tool install or pip installSingle binary download
RuntimePython 3.11+ requiredNone (static binary)
Binary namesp-local-bridgesp-local-bridge
MCP tools16 toolsSame 16 tools
Config formatSame JSON/TOMLSame JSON/TOML
CLI interfaceSubcommands via separate binariesSubcommands via single multicall binary
Host configsp-local-bridge-print-config <host>sp-local-bridge configure <host>

Migration Steps

1. Verify the Go bridge works

Download the Go binary and run diagnostics before removing the Python version:

sh
./sp-local-bridge doctor

This confirms the binary can reach Super Productivity's local API.

2. Update host config paths

If your host config points to the Python entry point (e.g. a uv shim path), update the command field to point to the new Go binary location:

sh
# Remove old Python config entry
sp-local-bridge configure --remove claude-desktop

# Write new entry pointing to Go binary
sp-local-bridge configure claude-desktop

The configure command auto-detects the running binary path.

3. Remove the Python bridge

sh
uv tool uninstall sp-local-bridge
# or
pip uninstall sp-local-bridge

4. Verify

sh
sp-local-bridge doctor

Rollback

To revert to the Python bridge:

  1. Reinstall: uv tool install sp-local-bridge
  2. Re-run: sp-local-bridge configure <host>
  3. Remove the Go binary from your PATH or delete it.

Behavioral Differences

The Go bridge has feature parity with the Python bridge v0.2.0 and adds Go-specific installation advantages. Known differences:

  • Error messages may differ in wording (same error codes).
  • The doctor command output format differs slightly.
  • The Go bridge adds configure --remove for host config cleanup.

Released under the MIT License.