File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,15 @@ def get_cookie_and_exit() -> None:
68
68
json_format = config .chrome .non_interactive and not config .server .debug ,
69
69
)
70
70
71
- logger .info ("LinkedIn MCP Server - Cookie Extraction mode started" )
71
+ # Get version for logging
72
+ try :
73
+ import importlib .metadata
74
+
75
+ version = importlib .metadata .version ("linkedin-mcp-server" )
76
+ except Exception :
77
+ version = "unknown"
78
+
79
+ logger .info (f"LinkedIn MCP Server v{ version } - Cookie Extraction mode started" )
72
80
73
81
try :
74
82
# Run cookie extraction setup
@@ -190,8 +198,16 @@ def initialize_driver_with_auth(authentication: str) -> None:
190
198
191
199
def main () -> None :
192
200
"""Main application entry point with clear phase separation."""
193
- logger .info ("🔗 LinkedIn MCP Server 🔗" )
194
- print ("🔗 LinkedIn MCP Server 🔗" )
201
+ # Get version from package metadata
202
+ try :
203
+ import importlib .metadata
204
+
205
+ version = importlib .metadata .version ("linkedin-mcp-server" )
206
+ except Exception :
207
+ version = "unknown"
208
+
209
+ logger .info (f"🔗 LinkedIn MCP Server v{ version } 🔗" )
210
+ print (f"🔗 LinkedIn MCP Server v{ version } 🔗" )
195
211
print ("=" * 40 )
196
212
197
213
# Get configuration
You can’t perform that action at this time.
0 commit comments