-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsmithery.yaml
More file actions
43 lines (42 loc) · 1.41 KB
/
smithery.yaml
File metadata and controls
43 lines (42 loc) · 1.41 KB
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
34
35
36
37
38
39
40
41
42
43
# Smithery configuration file: https://smithery.ai/docs/build/project-config
startCommand:
type: stdio
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.js'],
env: {
WORDPRESS_SITE_URL: config.wordpressSiteUrl,
WORDPRESS_USERNAME: config.wordpressUsername,
WORDPRESS_APP_PASSWORD: config.wordpressAppPassword,
WORDPRESS_AUTH_METHOD: config.wordpressAuthMethod || 'app-password'
}
})
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- wordpressSiteUrl
- wordpressUsername
- wordpressAppPassword
properties:
wordpressSiteUrl:
type: string
description: The WordPress site URL, must include http/https
wordpressUsername:
type: string
description: The WordPress username
wordpressAppPassword:
type: string
description: The WordPress application password
wordpressAuthMethod:
type: string
default: app-password
description: "Authentication method: one of app-password, jwt, basic, api-key, cookie"
exampleConfig:
wordpressSiteUrl: https://example.com
wordpressUsername: admin
wordpressAppPassword: your-app-password-here
wordpressAuthMethod: app-password