-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmithery.yaml
More file actions
23 lines (23 loc) · 773 Bytes
/
smithery.yaml
File metadata and controls
23 lines (23 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
startCommand:
type: stdio
configSchema:
type: object
properties:
shieldapiUrl:
type: string
default: "https://shield.vainplex.dev"
description: "ShieldAPI server URL. Default: https://shield.vainplex.dev"
walletPrivateKey:
type: string
description: "Optional: Your wallet private key for x402 USDC payments. Without this, the server runs in free/demo mode (3 calls/day per endpoint)."
required: []
commandFunction:
|-
(config) => ({
command: 'node',
args: ['dist/index.js'],
env: {
SHIELDAPI_URL: config.shieldapiUrl || 'https://shield.vainplex.dev',
...(config.walletPrivateKey ? { SHIELDAPI_WALLET_PRIVATE_KEY: config.walletPrivateKey } : {}),
}
})