Skip to content

Commit cb85154

Browse files
committed
fix(smithery): streamline configuration schema and command function structure
1 parent ed005db commit cb85154

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

smithery.yaml

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
startCommand:
22
type: stdio
3-
configSchema:
4-
type: object
5-
required:
6-
- linkedinEmail
7-
- linkedinPassword
8-
properties:
9-
linkedinEmail:
10-
type: string
11-
description: "LinkedIn email address for authentication"
12-
linkedinPassword:
13-
type: string
14-
description: "LinkedIn password for authentication"
15-
commandFunction: |-
16-
(config) => ({
17-
command: 'docker',
18-
args: [
19-
'run', '-i', '--rm',
20-
'-e', `LINKEDIN_EMAIL=${config.linkedinEmail}`,
21-
'-e', `LINKEDIN_PASSWORD=${config.linkedinPassword}`,
22-
'stickerdaniel/linkedin-mcp-server'
23-
]
24-
})
25-
26-
exampleConfig:
27-
linkedinEmail: "example.user@example.com"
28-
linkedinPassword: "yourLinkedInPassword"
3+
configSchema:
4+
type: object
5+
required:
6+
- linkedinEmail
7+
- linkedinPassword
8+
properties:
9+
linkedinEmail:
10+
type: string
11+
description: "LinkedIn email address for authentication"
12+
linkedinPassword:
13+
type: string
14+
description: "LinkedIn password for authentication"
15+
commandFunction: |
16+
(config) => ({
17+
command: 'docker',
18+
args: [
19+
'run', '-i', '--rm',
20+
'-e', `LINKEDIN_EMAIL=${config.linkedinEmail}`,
21+
'-e', `LINKEDIN_PASSWORD=${config.linkedinPassword}`,
22+
'stickerdaniel/linkedin-mcp-server'
23+
]
24+
})

0 commit comments

Comments
 (0)