-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsmithery.yaml
33 lines (32 loc) · 1.06 KB
/
smithery.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
LINKEDIN_EMAIL:
type: string
description: Email for LinkedIn login
LINKEDIN_PASSWORD:
type: string
description: Password for LinkedIn login
CHROMEDRIVER:
type: string
description: Path to the ChromeDriver binary. Optional if ChromeDriver is in PATH.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'python',
args: ['main.py', '--no-setup'],
env: {
LINKEDIN_EMAIL: config.LINKEDIN_EMAIL || '',
LINKEDIN_PASSWORD: config.LINKEDIN_PASSWORD || '',
CHROMEDRIVER: config.CHROMEDRIVER || ''
}
})
exampleConfig:
LINKEDIN_EMAIL: [email protected]
LINKEDIN_PASSWORD: yourLinkedInPassword
CHROMEDRIVER: /usr/local/bin/chromedriver