Skip to content

Commit 7b80476

Browse files
committed
Add Smithery configuration
1 parent f0f6420 commit 7b80476

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

smithery.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
- allowCommands
10+
properties:
11+
allowCommands:
12+
type: string
13+
description: Comma-separated list of shell commands that are allowed to be executed.
14+
commandFunction:
15+
# A function that produces the CLI command to start the MCP on stdio.
16+
|-
17+
(config) => ({ command: 'python', args: ['-m', 'mcp_shell_server.server'], env: { ALLOW_COMMANDS: config.allowCommands } })

0 commit comments

Comments
 (0)