-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsmithery.yaml
More file actions
35 lines (34 loc) · 1.08 KB
/
smithery.yaml
File metadata and controls
35 lines (34 loc) · 1.08 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
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP
type: object
required:
- YOURLS_URL
- YOURLS_SIGNATURE
properties:
YOURLS_URL:
type: string
description: "Base URL of your YOURLS installation (e.g., https://yourdomain.com/yourls/)"
YOURLS_SIGNATURE:
type: string
description: "YOURLS signature token for API authentication"
YOURLS_USERNAME:
type: string
description: "YOURLS username (alternative to signature)"
YOURLS_PASSWORD:
type: string
description: "YOURLS password (alternative to signature)"
commandFunction: |-
(config) => ({
command: 'node',
args: ['yourls-mcp.js'],
env: {
YOURLS_URL: config.YOURLS_URL,
YOURLS_SIGNATURE: config.YOURLS_SIGNATURE || '',
YOURLS_USERNAME: config.YOURLS_USERNAME || '',
YOURLS_PASSWORD: config.YOURLS_PASSWORD || '',
NODE_ENV: 'production'
}
})