Skip to content

Commit f087dd3

Browse files
Refactor smithery.yaml to enhance configuration clarity and command function structure. Updated API key description and improved command function syntax for better readability.
1 parent c9aeda1 commit f087dd3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

smithery.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,22 @@
33
startCommand:
44
type: stdio
55
configSchema:
6-
# JSON Schema defining the configuration options for the MCP.
76
type: object
87
required:
98
- exploriumApiKey
109
properties:
1110
exploriumApiKey:
11+
title: Explorium API Key
1212
type: string
13-
description: The API key for the Exploirum MCP server, Get it from https://admin.explorium.ai/api-key.
14-
commandFunction:
15-
# A function that produces the CLI command to start the MCP on stdio.
16-
|-
17-
config => ({ command: 'npx', args: ["-y","mcp-remote","https://mcp.explorium.ai/mcp","--header","Authorization: Bearer ${AUTH_TOKEN}"], env: { "AUTH_TOKEN": config.exploriumApiKey } })
13+
description: The API key for the Explorium MCP server. Get it from https://admin.explorium.ai/api-key.
14+
commandFunction: |-
15+
config => ({
16+
command: 'npx',
17+
args: [
18+
'-y',
19+
'mcp-remote',
20+
'https://mcp.explorium.ai/mcp',
21+
'--header',
22+
'Authorization: Bearer ' + config.exploriumApiKey
23+
]
24+
})

0 commit comments

Comments
 (0)