# 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:
- port
- transportType
- applicationName
properties:
port:
type: number
default: 3000
description: Port to run the MCP server.
transportType:
type: string
default: stdio
description: "Type of transport protocol: stdio or sse."
applicationName:
type: string
default: YourAppName
description: NOAA API application name for identification.
exampleConfig:
port: 3000
transportType: stdio
applicationName: NOAAApp
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.js'],
env: {
PORT: config.port.toString(),
TRANSPORT_TYPE: config.transportType,
APPLICATION_NAME: config.applicationName
}
})