smithery.yaml•928 B
# Smithery.ai configuration
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- appId
- appSecret
properties:
appId:
type: string
description: "feishu appId"
appSecret:
type: string
description: "feishu appSecret"
# tenantToken:
# type: string
# description: "feishu tenantToken"
userToken:
type: string
description: "feishu userToken"
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({
"command": "node",
"args": [
"dist/index.js"
],
"env": {
FEISHU_APPID: config.appId,
FEISHU_APPSECRET: config.appSecret,
// FEISHU_TENANTTOKEN: config.tenantToken
FEISHU_USERTOKEN: config.userToken
}
})