Developers

Local bridge and token

The local bridge is a small HTTP server inside OmniGet that only listens on 127.0.0.1, so programs on your own computer can talk to the app. The browser extension, the MCP server for AI tools and the omniget command line all go through it.

Where it is

The bridge is on by default and starts with OmniGet. Its settings are in two places:

  • Settings › Integrations › Browser extension: Pair the extension with the Pair extension button, and, under Show advanced options, Endpoint URL, Pairing token and Rotate token.
  • Settings › AI & agents › Connect to other apps: what AI tools and other programs may do through the bridge.

If the bridge was turned off, the Browser extension group says The extension connection is off. Click Turn on, then restart OmniGet.

Ports

The bridge tries the port it used last time, then the first free port from 47720 to 47729. The Endpoint URL shows the address in use.

If every port in that range is taken, OmniGet uses any free port outside it. The extension and the connect skill only search the range, so in that case copy the Endpoint URL into the extension by hand.

GET /v1/health answers without a token, with ok and the app version. Use it to check that the bridge is up:

curl -s http://127.0.0.1:47720/v1/health

Pair the browser extension

Pairing hands the extension the bridge token without copy and paste.

  1. Install the browser extension and keep the browser open.
  2. In OmniGet, open Settings › Integrations › Browser extension.
  3. Click Pair extension. The line below reads Window open — the extension will connect automatically, with a countdown of 120 seconds.
  4. The extension finds OmniGet on its own. When it does, the line reads Extension connected — you’re all set.

The pairing window gives the token out once and closes. If the time runs out, you see Pairing window expired — is the extension installed and the browser open? Click Pair extension again.

Pair by hand

  1. In OmniGet, click Show advanced options under Browser extension.
  2. Click Copy next to Endpoint URL, and Reveal or Copy next to Pairing token.
  3. Open the extension’s options page, paste both fields and click Save, then Test connection.

Rotate the token

Rotate the token if you think another program has it.

  1. Click Show advanced options under Browser extension.
  2. Next to Rotate token, click Rotate and confirm with Generate new token.
  3. Pair the extension again.

The new token works at once and the old one stops. Browsers paired before lose access until you pair them again or paste the new token.

Who uses the bridge, and with which key

Client Key Where it comes from
Browser extension The pairing token Pair extension, or copied by hand
AI tools on this computer, through MCP (/mcp) None needed while Connect without a token is on. A tool you connect from OmniGet also gets a key of its own. Written into the tool’s config when it connects
An AI you add by hand, on this computer or in the cloud An access that expires Connect any AI
omniget CLI A CLI key of its own Created by OmniGet in its data folder; or the OMNIGET_TOKEN variable

A request that carries a key sends it as Authorization: Bearer <key>. Requests from a web page (with an Origin header) are refused in every case, so a site you visit cannot ask for access.

What other programs can do

Settings › AI & agents › Connect to other apps has a switch for the whole MCP server and a block named What other programs can do:

Option What it does Default
Connect without a token Programs on this computer connect right away, with every permission that is on. Web pages never can. On
Ask me first Posts on your accounts, system cleanups and new connections wait for your click in the OmniGet window. Off
Permissions One checkbox per permission (scope). Clear one to take it away from every program. All on
Parts of the app One checkbox per area of the app that programs can call. All on

AI tools

Click Connect next to a tool in Connect to other apps, or ask the tool to connect: it calls POST /v1/connect. OmniGet turns the MCP server on, writes the tool’s own key straight into its config file and tells the tool how to reload. The key never passes through the chat.

With Ask me first off, the request is approved on its own. With it on, OmniGet shows … wants to connect to OmniGet with a short code; the tool shows the same code. Pick what it may do:

  • Start downloads and see the ones it started: always included.
  • Run your AI agents in this folder and let them drive the canvas (create terminals, notes and connections): shown when the tool sent the folder it works in.
  • Answer those agents’ permission questions for you: only with the line above. Off, OmniGet asks you each time.
  • The Global Downloader line: lets the tool open the Global Downloader browser, with the pages you are logged in to there.

Click Allow or Don’t allow. An unanswered request expires after 5 minutes.

Connect any AI

Connect any AI creates an access for a tool that is not in the list. Type an AI name, pick On this computer or In the cloud, pick What it can do (Everything, WhatsApp and messages or Read only) and Valid for (a day, a week or a month), then click Create access and copy prompt and paste the prompt into the AI.

The command line

The omniget CLI reads the port from OmniGet’s settings and uses its own key, which the app creates. You can also set:

  • OMNIGET_TOKEN: a token from Settings › AI & agents › Connect to other apps.
  • OMNIGET_BRIDGE_URL: the bridge address, such as http://127.0.0.1:47721.

When neither the variable nor the CLI key exists, the CLI falls back to the extension’s pairing token and prints a warning. Open OmniGet once to create the CLI key. More in Command line.

Common problems

“The extension connection didn’t start.”

The bridge could not open a port on 127.0.0.1 when OmniGet opened. Restart OmniGet. If a security tool blocks local servers, allow OmniGet in it.

The extension says “OmniGet not detected”

OmniGet is closed, or it is on a port outside the range. Open the app, then pair again or paste the Endpoint URL into the extension.

The extension says “Bad pairing token”

The token changed. Pair again, or copy the current Pairing token into the extension.

Chat