# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
build:
dockerfile: smithery.Dockerfile
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- alapiToken
properties:
alapiToken:
type: string
description: ALAPI token for authentication
alapiId:
type: string
description: Optional ALAPI API ID to specify which API to load
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: './mcp-alapi-cn', env: { ALAPI_TOKEN: config.alapiToken, ALAPI_ID: config.alapiId || '' } })
exampleConfig:
alapiToken: your-alapi-token-here
alapiId: "0"
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ALAPI-SDK/mcp-alapi-cn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server