smithery.yaml•1.1 kB
# 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:
- testRailUrl
- testRailUsername
- testRailApiKey
properties:
testRailUrl:
type: string
description: The full URL to your TestRail instance.
testRailUsername:
type: string
description: Your TestRail username/email.
testRailApiKey:
type: string
description: Your TestRail API key.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'python',
args: ['testrail_mcp/main.py'],
env: {
TESTRAIL_URL: config.testRailUrl,
TESTRAIL_USERNAME: config.testRailUsername,
TESTRAIL_API_KEY: config.testRailApiKey
}
})
exampleConfig:
testRailUrl: https://example.testrail.io
testRailUsername: user@example.com
testRailApiKey: abcdef123456