Skip to content

Commit ed005db

Browse files
committed
chore(smithery): refactor configuration schema and update command structure
1 parent fed12db commit ed005db

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

smithery.yaml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
1-
# Smithery configuration file: https://smithery.ai/docs/build/project-config
2-
version: 1
3-
start:
4-
command:
5-
- docker
6-
- run
7-
- -i
8-
- --rm
9-
- -e
10-
- LINKEDIN_EMAIL=${LINKEDIN_EMAIL}
11-
- -e
12-
- LINKEDIN_PASSWORD=${LINKEDIN_PASSWORD}
13-
- stickerdaniel/linkedin-mcp-server
14-
configSchema:
15-
# JSON Schema defining the configuration options for the MCP.
16-
type: object
17-
properties:
18-
LINKEDIN_EMAIL:
19-
type: string
20-
description: Email for LinkedIn login
21-
LINKEDIN_PASSWORD:
22-
type: string
23-
description: Password for LinkedIn login
24-
required:
25-
- LINKEDIN_EMAIL
26-
- LINKEDIN_PASSWORD
1+
startCommand:
2+
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+
2726
exampleConfig:
28-
LINKEDIN_EMAIL: example.user@example.com
29-
LINKEDIN_PASSWORD: yourLinkedInPassword
27+
linkedinEmail: "example.user@example.com"
28+
linkedinPassword: "yourLinkedInPassword"

0 commit comments

Comments
 (0)