Skip to content

Commit 41b1bdb

Browse files
Add Smithery configuration
1 parent f2038cd commit 41b1bdb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

smithery.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+
startCommand:
4+
type: stdio
5+
configSchema:
6+
# JSON Schema defining the configuration options for the MCP.
7+
type: object
8+
required:
9+
- alapiToken
10+
properties:
11+
alapiToken:
12+
type: string
13+
description: ALAPI token for authentication
14+
alapiId:
15+
type: string
16+
description: Optional ALAPI API ID to specify which API to load
17+
commandFunction:
18+
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
19+
|-
20+
(config) => ({ command: './mcp-alapi-cn', env: { ALAPI_TOKEN: config.alapiToken, ALAPI_ID: config.alapiId || '' } })
21+
exampleConfig:
22+
alapiToken: your-alapi-token-here
23+
alapiId: "0"

0 commit comments

Comments
 (0)