-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathsmithery.yaml
More file actions
35 lines (34 loc) · 1.03 KB
/
Copy pathsmithery.yaml
File metadata and controls
35 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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
}
})