-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsmithery.yaml
40 lines (39 loc) · 1.66 KB
/
smithery.yaml
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
# 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:
- restBaseUrl
properties:
restBaseUrl:
type: string
description: The base URL for the REST API.
authBasicUsername:
type: string
description: The username for Basic Authentication.
authBasicPassword:
type: string
description: The password for Basic Authentication.
authBearer:
type: string
description: The bearer token for authentication.
authApiKeyHeaderName:
type: string
description: The header name for API Key Authentication.
authApiKeyValue:
type: string
description: The API key value for API Key Authentication.
restEnableSslVerify:
type: boolean
default: true
description: Enable or disable SSL verification.
restResponseSizeLimit:
type: number
default: 10000
description: The maximum response size limit in bytes.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
config => ({ command: 'node', args: ['build/index.js'], env: { REST_BASE_URL: config.restBaseUrl, AUTH_BASIC_USERNAME: config.authBasicUsername, AUTH_BASIC_PASSWORD: config.authBasicPassword, AUTH_BEARER: config.authBearer, AUTH_APIKEY_HEADER_NAME: config.authApiKeyHeaderName, AUTH_APIKEY_VALUE: config.authApiKeyValue, REST_ENABLE_SSL_VERIFY: config.restEnableSslVerify.toString(), REST_RESPONSE_SIZE_LIMIT: config.restResponseSizeLimit.toString() } })