Skip to content

Commit 42bb92f

Browse files
committed
Add Smithery configuration
1 parent 25da83d commit 42bb92f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

smithery.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+
startCommand:
4+
type: stdio
5+
configSchema:
6+
# JSON Schema defining the configuration options for the MCP.
7+
type: object
8+
required:
9+
- rabbitmqHost
10+
- port
11+
- username
12+
- password
13+
- useTls
14+
properties:
15+
rabbitmqHost:
16+
type: string
17+
description: The hostname of the RabbitMQ server.
18+
port:
19+
type: number
20+
description: The port number to connect to RabbitMQ.
21+
username:
22+
type: string
23+
description: Username for RabbitMQ authentication.
24+
password:
25+
type: string
26+
description: Password for RabbitMQ authentication.
27+
useTls:
28+
type: boolean
29+
description: Use TLS for the connection (amqps if true).
30+
commandFunction:
31+
# A function that produces the CLI command to start the MCP on stdio.
32+
|-
33+
(config) => ({ command: 'mcp-server-rabbitmq', args: ['--rabbitmq-host', config.rabbitmqHost, '--port', config.port.toString(), '--username', config.username, '--password', config.password, '--use-tls', config.useTls.toString()] })

0 commit comments

Comments
 (0)