Bookmarks API for Scripting and AI

An API add-on for Firefox to allow agentic and script-based management of user bookmarks.

Who can use this

Tools on this computer can call the API — a local script, an editor agent, or a session you opened here (SSH, remote desktop). They need a secret you issue below.

It does not work from chatgpt.com or other sites in a browser tab. Those run elsewhere and cannot see this machine’s loopback port. Pages inside Firefox are blocked too.

If this Firefox profile syncs bookmarks with a Mozilla account, changes made here can show up on your other devices. The API itself still only accepts connections on this machine.

  1. Issue a secret for each agent or script that should be allowed to work with your bookmarks.
  2. Store that secret with your secrets. This add-on keeps only a hash.
  3. While Firefox is open, those tools talk to this add-on to manage your bookmarks. This page is only for deciding who is allowed.

Listen port

Loopback only (127.0.0.1). Change this if the default is already in use. Your tools must use the same port.

Name Created Last used
Loading…

Copy this secret now

It will not be shown again. Store it with your secrets.