Skip to content

Commit e1e775d

Browse files
committed
feat(dxt): updated release workflow to update dxt for pinned container tag. Improves stability and ensures the dxt matching tag is pulled automatically.
1 parent fe362d2 commit e1e775d

File tree

4 files changed

+24
-17
lines changed

4 files changed

+24
-17
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ jobs:
8383
echo "✅ Created and pushed tag v$VERSION"
8484
fi
8585
86-
- name: Update manifest.json version
86+
- name: Update manifest.json version and Docker image
8787
run: |
8888
set -e
8989
sed -i 's/"version": ".*"/"version": "'$VERSION'"/' manifest.json
90+
sed -i 's/stickerdaniel\/linkedin-mcp-server:[^"]*/stickerdaniel\/linkedin-mcp-server:'$VERSION'/' manifest.json
9091
echo "✅ Updated manifest.json to version $VERSION"
9192
9293
- name: Commit manifest update
@@ -143,16 +144,23 @@ jobs:
143144
body: |
144145
For an installation guide, refer to the [README](https://github.com/stickerdaniel/linkedin-mcp-server/blob/main/README.md).
145146
146-
## Update Docker Image
147-
**Pull this release's image:**
147+
## 🐳 Update Docker Installation
148+
**For users with Docker-based MCP client configurations:**
149+
```bash
150+
docker pull stickerdaniel/linkedin-mcp-server:latest
151+
```
152+
The `latest` tag will always point to the most recent release.
153+
To pull this specific version, run:
148154
```bash
149155
docker pull stickerdaniel/linkedin-mcp-server:${{ env.VERSION }}
150156
```
151157
152-
## Update Claude Desktop DXT Extension
158+
## 📦 Update DXT Extension Installation
159+
**For Claude Desktop users:**
153160
1. Download the `.dxt` file below
154-
2. Double-click to open in Claude Desktop
155-
3. Set your LinkedIn cookie
161+
2. Double-click to install in Claude Desktop
162+
163+
This DXT extension uses the pinned version `${{ env.VERSION }}`, the Docker image will be pulled automatically.
156164
157165
- name: Summary
158166
run: |

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ Suggest improvements for my CV to target this job posting https://www.linkedin.c
5454
"args": [
5555
"run", "--rm", "-i",
5656
"-e", "LINKEDIN_COOKIE",
57-
"-e", "LOG_LEVEL",
5857
"stickerdaniel/linkedin-mcp-server:latest"
5958
],
6059
"env": {
61-
"LINKEDIN_COOKIE": "XXXXXX...",
62-
"LOG_LEVEL": "INFO"
60+
"LINKEDIN_COOKIE": "XXXXXX..."
6361
}
6462
}
6563
}
@@ -114,8 +112,7 @@ Copy the cookie from the output and set it as `LINKEDIN_COOKIE` in your client c
114112
**HTTP Mode Example (for web-based MCP clients):**
115113
```bash
116114
docker run -it --rm \
117-
-e LINKEDIN_EMAIL="your.email@example.com" \
118-
-e LINKEDIN_PASSWORD="your_password" \
115+
-e LINKEDIN_COOKIE="your_linkedin_cookie" \
119116
-p 8080:8080 \
120117
stickerdaniel/linkedin-mcp-server:latest \
121118
--transport streamable-http --host 0.0.0.0 --port 8080 --path /mcp

main.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,14 @@ def main() -> None:
323323
logger.info("Authentication ready")
324324
except CredentialsNotFoundError as e:
325325
logger.error(f"Authentication setup failed: {e}")
326-
if not config.is_interactive:
327-
print("\n❌ LinkedIn cookie required for Docker/non-interactive mode")
328-
else:
326+
if config.is_interactive:
329327
print(
330-
"\n❌ Authentication required - please provide LinkedIn authentication"
328+
"\n❌ Authentication required - please provide LinkedIn's li_at cookie"
331329
)
330+
else:
331+
# TODO: make claude desktop handle this without terminating
332+
print("\n❌ Cookie required for Docker/non-interactive mode")
333+
332334
sys.exit(1)
333335
except KeyboardInterrupt:
334336
print("\n\n👋 Setup cancelled by user")

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"args": [
2626
"run", "--rm", "-i",
2727
"-e", "LINKEDIN_COOKIE=${user_config.linkedin_cookie}",
28-
"-e", "LOG_LEVEL=INFO",
29-
"stickerdaniel/linkedin-mcp-server:latest"
28+
"-e", "LOG_LEVEL=DEBUG",
29+
"stickerdaniel/linkedin-mcp-server:1.2.4"
3030
]
3131
}
3232
},

0 commit comments

Comments
 (0)