You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: use @latest tag in uvx config for auto-updates (#306)
* docs: use @latest tag in uvx config for auto-updates
Without @latest, uvx caches the first downloaded version forever.
Adding @latest ensures uvx checks PyPI on each client launch and
pulls new versions automatically.
* docs: apply @latest consistently to all uvx invocations
Update --login examples in README.md and docs/docker-hub.md to use
linkedin-scraper-mcp@latest for consistency with the MCP config.
---------
Co-authored-by: Daniel Sticker <sticker@ngenn.net>
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,17 +73,17 @@ What has Anthropic been posting about recently? https://www.linkedin.com/company
73
73
"mcpServers": {
74
74
"linkedin": {
75
75
"command": "uvx",
76
-
"args": ["linkedin-scraper-mcp"],
76
+
"args": ["linkedin-scraper-mcp@latest"],
77
77
"env": { "UV_HTTP_TIMEOUT": "300" }
78
78
}
79
79
}
80
80
}
81
81
```
82
82
83
-
The server starts quickly, prepares the shared Patchright Chromium browser cache in the background under `~/.linkedin-mcp/patchright-browsers`, and opens a LinkedIn login browser window on the first tool call that needs authentication.
83
+
The `@latest` tag ensures you always run the newest version — `uvx` checks PyPI on each client launch and updates automatically. The server starts quickly, prepares the shared Patchright Chromium browser cache in the background under `~/.linkedin-mcp/patchright-browsers`, and opens a LinkedIn login browser window on the first tool call that needs authentication.
84
84
85
85
> [!NOTE]
86
-
> Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. If you prefer to create a session explicitly, run `uvx linkedin-scraper-mcp --login`.
86
+
> Early tool calls may return a setup/authentication-in-progress error until browser setup or login finishes. If you prefer to create a session explicitly, run `uvx linkedin-scraper-mcp@latest --login`.
87
87
88
88
### uvx Setup Help
89
89
@@ -115,13 +115,13 @@ The server starts quickly, prepares the shared Patchright Chromium browser cache
115
115
116
116
```bash
117
117
# Run with debug logging
118
-
uvx linkedin-scraper-mcp --log-level DEBUG
118
+
uvx linkedin-scraper-mcp@latest --log-level DEBUG
119
119
```
120
120
121
121
**HTTP Mode Example (for web-based MCP clients):**
Runtime server logs are emitted by FastMCP/Uvicorn.
@@ -159,7 +159,7 @@ parallel. Use `--log-level DEBUG` to see scraper lock wait/acquire/release logs.
159
159
**Login issues:**
160
160
161
161
- LinkedIn may require a login confirmation in the LinkedIn mobile app for `--login`
162
-
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp --login` which opens a browser where you can solve it manually.
162
+
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp@latest --login` which opens a browser where you can solve it manually.
163
163
164
164
**Timeout issues:**
165
165
@@ -204,7 +204,7 @@ On startup, the MCP Bundle starts preparing the shared Patchright Chromium brows
204
204
205
205
- Make sure you have only one active LinkedIn session at a time
206
206
- LinkedIn may require a login confirmation in the LinkedIn mobile app for `--login`
207
-
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp --login` which opens a browser where you can solve captchas manually. See the [uvx setup](#-uvx-setup-recommended---universal) for prerequisites.
207
+
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp@latest --login` which opens a browser where you can solve captchas manually. See the [uvx setup](#-uvx-setup-recommended---universal) for prerequisites.
208
208
209
209
**Timeout issues:**
210
210
@@ -228,7 +228,7 @@ Docker runs headless (no browser window), so you need to create a browser profil
228
228
**Step 1: Create profile on the host (one-time setup)**
229
229
230
230
```bash
231
-
uvx linkedin-scraper-mcp --login
231
+
uvx linkedin-scraper-mcp@latest --login
232
232
```
233
233
234
234
This opens a browser window where you log in manually (5 minute timeout for 2FA, captcha, etc.). The browser profile and cookies are saved under `~/.linkedin-mcp/`. On startup, Docker derives a Linux browser profile from your host cookies and creates a fresh session each time. If you experience stability issues with Docker, consider using the [uvx setup](#-uvx-setup-recommended---universal) instead.
@@ -251,7 +251,7 @@ This opens a browser window where you log in manually (5 minute timeout for 2FA,
251
251
```
252
252
253
253
> [!NOTE]
254
-
> Docker creates a fresh session on each startup. Sessions may expire over time — run `uvx linkedin-scraper-mcp --login` again if you encounter authentication issues.
254
+
> Docker creates a fresh session on each startup. Sessions may expire over time — run `uvx linkedin-scraper-mcp@latest --login` again if you encounter authentication issues.
255
255
256
256
> [!NOTE]
257
257
> **Why can't I run `--login` in Docker?** Docker containers don't have a display server. Create a profile on your host using the [uvx setup](#-uvx-setup-recommended---universal) and mount it into Docker.
@@ -318,7 +318,7 @@ Runtime server logs are emitted by FastMCP/Uvicorn.
318
318
319
319
- Make sure you have only one active LinkedIn session at a time
320
320
- LinkedIn may require a login confirmation in the LinkedIn mobile app for `--login`
321
-
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp --login` which opens a browser where you can solve captchas manually. See the [uvx setup](#-uvx-setup-recommended---universal) for prerequisites.
321
+
- You might get a captcha challenge if you logged in frequently. Run `uvx linkedin-scraper-mcp@latest --login` which opens a browser where you can solve captchas manually. See the [uvx setup](#-uvx-setup-recommended---universal) for prerequisites.
322
322
- If Docker auth becomes stale after you re-login on the host, restart Docker once so it can fresh-bridge from the new source session generation.
Copy file name to clipboardExpand all lines: docs/docker-hub.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ A Model Context Protocol (MCP) server that connects AI assistants to LinkedIn. A
16
16
17
17
## Quick Start
18
18
19
-
Create a browser profile locally, then mount it into Docker. You still need [uv](https://docs.astral.sh/uv/getting-started/installation/) installed on the host for the one-time `uvx linkedin-scraper-mcp --login` step. Docker already includes its own Chromium runtime, so the managed Patchright Chromium browser download used by MCPB/`uvx` is not needed here.
19
+
Create a browser profile locally, then mount it into Docker. You still need [uv](https://docs.astral.sh/uv/getting-started/installation/) installed on the host for the one-time `uvx linkedin-scraper-mcp@latest --login` step. Docker already includes its own Chromium runtime, so the managed Patchright Chromium browser download used by MCPB/`uvx` is not needed here.
20
20
21
21
**Step 1: Create profile on the host (one-time setup)**
22
22
23
23
```bash
24
-
uvx linkedin-scraper-mcp --login
24
+
uvx linkedin-scraper-mcp@latest --login
25
25
```
26
26
27
27
This opens a browser window where you log in manually (5 minute timeout for 2FA, captcha, etc.). The browser profile and cookies are saved under `~/.linkedin-mcp/`. On startup, Docker derives a Linux browser profile from your host cookies and creates a fresh session each time. For better stability, consider the [uvx setup](https://github.com/stickerdaniel/linkedin-mcp-server#-uvx-setup-recommended---universal).
0 commit comments