New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@crelora/onelin-bridge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crelora/onelin-bridge

MCP server bridge for OneLin LinkedIn extension

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

OneLin Bridge (MCP Server)

Bridge server for the OneLin LinkedIn Extension. This server allows AI agents (via the Model Context Protocol) to interact with a user's LinkedIn messaging tabs in real-time.

Protocol Contract

The bridge manages communication between an MCP Client (e.g. OpenClaw) and the Chrome Extension via a local WebSocket.

MCP Tools (Agent Interface)

ToolParametersDescription
get_statusNoneChecks if the extension is connected and lists open LinkedIn tabs.
get_conversation_contexttabId?Retrieves conversation messages and prospect profile info from the current chat.
get_drafttabId?Reads the current text in the LinkedIn message input field.
write_replytext, tabId?Injects text into the message editor.
send_messagetabId?Clicks the LinkedIn 'Send' button.
generate_replymodeType?, modeName?, customInstruction?, tabId?Delegate to the extension's built-in specialized LLM generation logic.
list_linkedin_tabsNoneLists all open LinkedIn tabs (id, url, title).

Setup for Agents (e.g. Claude Desktop, OpenClaw)

Once this package is published to npm, it can be added to your client configuration:

{
  "mcpServers": {
    "onelin": {
      "command": "npx",
      "args": ["-y", "@crelora/onelin-bridge"]
    }
  }
}

How it works

  • The Bridge (this server) runs locally and listens on ws://localhost:3003.
  • The Extension (via its offscreen doc) connects to the bridge.
  • The Agent calls an MCP tool on the bridge.
  • The Bridge serializes the command and sends it over the WebSocket to the extension.
  • The Extension executes DOM actions on LinkedIn and returns the data back to the bridge.

Security

  • The WebSocket server only binds to localhost.
  • Commands only affect tabs with linkedin.com URLs.
  • No LinkedIn credentials/cookies ever leave the browser.

FAQs

Package last updated on 16 Apr 2026

Related posts