# 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:
- bitbucketUrl
properties:
bitbucketUrl:
type: string
description: Base URL of your Bitbucket Server instance.
bitbucketToken:
type: string
description: Personal access token.
bitbucketUsername:
type: string
description: Username for basic authentication.
bitbucketPassword:
type: string
description: Password for basic authentication.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: {
BITBUCKET_URL: config.bitbucketUrl,
BITBUCKET_TOKEN: config.bitbucketToken,
BITBUCKET_USERNAME: config.bitbucketUsername,
BITBUCKET_PASSWORD: config.bitbucketPassword
}
})