linkedin-relay-mcp 3.14.0 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: linkedin-relay
3
- description: Research LinkedIn from the user's own account — find people by company, past company, school, place, title, degree or whose connections they are, search posts, companies, groups, events, courses, products, services and schools, hunt jobs with every filter LinkedIn has and collect their apply links, read profiles, read the chronological feed — and, through the lnrelay CLI, post (text, image or video), comment, reply, react, delete and edit the user's own profile (headline, About, roles, skills) under the approval mode the owner chose. Use when finding or evaluating people (who works or worked somewhere, alumni, people in a role or a city, someone's connections), companies, groups, events, courses, posts on a topic, roles or job openings on LinkedIn, when the user wants job listings or application links, when reading what the user's network is posting, or when the user asks to post, engage or update their profile on LinkedIn. Not for messaging, connection requests or applying to jobs, which do not exist.
3
+ description: Research LinkedIn from the user's own account — find people by company, past company, school, place, title, degree or whose connections they are, search posts, companies, groups, events, courses, products, services and schools, hunt jobs with every filter LinkedIn has and collect their apply links, read profiles, read the chronological feed — and, through the lnrelay CLI, post (text, image or video), comment, reply, react, delete and edit the user's own profile (headline, About, roles, skills) under the approval mode the owner chose. Use when finding or evaluating people (who works or worked somewhere, alumni, people in a role or a city, someone's connections), companies, groups, events, courses, posts on a topic, roles or job openings on LinkedIn, when the user wants job listings or application links, when reading what the user's network is posting, when the user wants to read their LinkedIn messages or draft replies to them, or when the user asks to post, engage or update their profile on LinkedIn. Cannot send messages, connect, or apply to jobs: those do not exist.
4
4
  ---
5
5
 
6
6
  # linkedin-relay
@@ -12,8 +12,8 @@ in the request path.
12
12
  ## Three things to know before you call anything
13
13
 
14
14
  1. **Every call spends a budget that cannot be topped up.** Caps are deliberately low (30 profile
15
- reads a day, 25 searches, 350 requests total; job hunting has its own 150 job searches and 60
16
- job reads) because LinkedIn restricts accounts for *read*
15
+ reads a day, 25 search calls shared by `people`, `search` (every kind) and name lookups, 350
16
+ requests total; job hunting has its own 150 job searches and 60 job reads) because LinkedIn restricts accounts for *read*
17
17
  velocity alone — several documented restrictions involved no automation and no writes, just fast
18
18
  browsing. Check `meta.budget.remaining`; when it's low, tell the user and stop rather than
19
19
  spending the rest.
@@ -348,6 +348,38 @@ experience
348
348
  Each role on their profile with its `positionId` and title. The id is what `lnrelay role edit` and
349
349
  `lnrelay role remove` take.
350
350
 
351
+ ### `inbox` — 1 page call per 20 conversations. The user's messages.
352
+ ```
353
+ inbox [folder:inbox|primary|other|archive|requests|spam] [unread] [limit:N] [compact]
354
+ ```
355
+ CLI: `lnrelay inbox [--folder archive] [--unread] [--limit N] [--compact]`. Each conversation: `id`,
356
+ `url` (the thread), `with` (each person or organisation: `name`, `kind`, `headline`, `degree`, `url`),
357
+ `unread`, `lastActivity`, `last` (`from`, `fromMe`, `at`, `text`, `sponsored`), `folders`, `inmail`.
358
+ `meta.unread` counts conversations with unread messages. `inbox` is LinkedIn's Inbox folder; much
359
+ of a mailbox may sit in `archive` or `other`, so look there before saying there is nothing.
360
+
361
+ ### `messages` — 1 page call. One conversation.
362
+ ```
363
+ messages conversation:"<id from inbox | /messaging/thread/ URL>"
364
+ ```
365
+ The latest messages, oldest first: `from` ("you" for the user), `fromMe`, `at`, `text`, `subject`.
366
+ `meta.state: "partial"` means a full page came back and older messages may exist.
367
+
368
+ **Reading is invisible to the other side.** The browser, opening a conversation, also marks it read
369
+ (the sender sees it), clears "unseen" and acknowledges delivery; those are separate calls, and this
370
+ tool makes none of them. Nothing read is stored. These are private messages: summarise or quote them
371
+ to the user, never into anything else (a post, a comment, a file someone else will read).
372
+
373
+ ### `draft` / `drafts` — local. A reply for the user to send.
374
+ ```
375
+ draft conversation:"<id | thread URL>" text:"<reply>" drafts draft remove:"<draft id>"
376
+ ```
377
+ CLI: `lnrelay draft <conversation> "<text>" | --file <path>`, `lnrelay drafts`, `lnrelay draft remove <id>`.
378
+ Saves the reply ON THIS MACHINE with the conversation's link (one read, to check the conversation
379
+ and who it is with). **Nothing is sent, and nothing can be: there is no send.** Show the user the
380
+ draft and the link; they open it, paste, review, and send it themselves. Write drafts in the user's
381
+ own voice and language, from what the conversation actually says.
382
+
351
383
  ### `skills` — live, ~3 calls. The user's skills.
352
384
  ```
353
385
  skills
@@ -482,10 +514,12 @@ Things worth telling a user who asks:
482
514
  preview's own words, which name the timezone.
483
515
  - **Deleting a comment also deletes every reply under it**, including other people's. Verified live.
484
516
 
485
- Connecting and messaging do not exist at all, in any surface. They are the actions where the
486
- enforcement reports cluster, and an agent bug there is visible to a third party and unrecoverable.
517
+ **Sending a message and connecting do not exist at all, in any surface.** Messages can be read and
518
+ replies drafted (below), but a draft stays on this machine for the user to send. These are the
519
+ actions where the enforcement reports cluster, and an agent bug there is visible to a third party
520
+ and unrecoverable.
487
521
 
488
- Also absent by design: inbox reading, notifications, nested comment replies, and bulk sweeps.
522
+ Also absent by design: notifications, nested comment replies, and bulk sweeps.
489
523
 
490
524
  ## Honest risk
491
525
 
package/README.md CHANGED
@@ -24,7 +24,7 @@ lnrelay local "rust" # then search it offline, free
24
24
 
25
25
  ## As an MCP server
26
26
 
27
- Twenty-two read-only tools, so an agent does the reading. Writes are not on that surface at any price.
27
+ Twenty-six tools, none of which writes to LinkedIn, so an agent does the reading. Writes are not on that surface at any price.
28
28
  The bundled Claude Code skill (`.claude/skills/linkedin-relay/SKILL.md`) teaches an agent the
29
29
  funnels, the budget, and how to read `meta` — including step-by-step recipes for finding people and
30
30
  for job hunting.
@@ -43,6 +43,7 @@ claude mcp add linkedin-relay -s user -- bun "$(npm root -g)/linkedin-relay-mcp/
43
43
  | `jobs` · `job` · `job-filters` | job search with every filter, several keyword sets merged in one call, and apply links |
44
44
  | `post` · `reactions` | a post's comment thread, and who engaged |
45
45
  | `scheduled` · `experience` · `skills` | your queued posts, and your own roles and skills |
46
+ | `inbox` · `messages` · `draft` · `drafts` | read your messages without marking them read; draft replies locally — nothing is ever sent |
46
47
  | `sync` · `local` · `connections` · `my-posts` | fill a local cache, then query it for free |
47
48
  | `whoami` · `doctor` · `risk` · `budget` · `cache-status` | session, standing and spend |
48
49
  | `share` · `comment` · `reply` · `edit` · `react` · `delete` | writes to your feed — OAuth when available, private API otherwise |
@@ -83,6 +84,22 @@ approved the way **you** chose with `lnrelay approval set` (only at a real termi
83
84
  There is no `--yes` and no environment variable. Every approval and outcome is logged to
84
85
  `~/.lnrelay/writes.jsonl`.
85
86
 
87
+ ## Messages: read, and draft — never send
88
+
89
+ ```bash
90
+ lnrelay inbox --folder archive --unread --compact # conversations, who with, unread, last message
91
+ lnrelay messages <conversation-id|thread-url> # a conversation, oldest first
92
+ lnrelay draft <conversation-id> "Thanks — let's talk Tuesday." # saved locally, with the thread link
93
+ lnrelay drafts # your drafts; open the link and send it yourself
94
+ ```
95
+
96
+ - **Reading leaves no trace.** Opening a conversation in the browser marks it read, clears "unseen"
97
+ and acknowledges delivery — separate calls this tool never makes. Nothing read is stored.
98
+ - **There is no send.** A draft is a local note (`~/.lnrelay/drafts.json`, owner-only) with the
99
+ conversation's link; you review and send it yourself. Agents get `inbox`, `messages` and `draft`
100
+ over MCP for exactly that: read, then draft.
101
+ - Folders: `inbox`, `primary`, `other`, `archive`, `requests`, `spam`.
102
+
86
103
  ## Searching everything else
87
104
 
88
105
  `lnrelay search <kind>` covers the rest of the search box — `posts`, `companies`, `groups`, `events`,
@@ -146,7 +163,7 @@ lnrelay job <id> <id> <id> # finalist
146
163
  - **The apply link** is the employer's own site (`external`) or LinkedIn's Easy Apply. This tool
147
164
  finds jobs; it does not apply to them.
148
165
  - Job hunting has its own daily budget — 150 search calls, 60 job reads — so it neither uses up nor
149
- is stopped by people and company research.
166
+ is stopped by the other searches, which share 25 search calls a day.
150
167
 
151
168
  ## Design in one screen
152
169