Skip to content

Commit 3b1fbc8

Browse files
committed
feat: expose new MCP runtime parameters
Signed-off-by: Frederico Araujo <[email protected]>
1 parent 15f1f40 commit 3b1fbc8

File tree

3 files changed

+23
-80
lines changed

3 files changed

+23
-80
lines changed

plugin_templates/external/.env.template

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#####################################
44

55
# Enable the plugin framework
6-
PLUGINS_ENABLED=false
6+
PLUGINS_ENABLED=true
77

88
# Enable auto-completion for plugins CLI
99
PLUGINS_CLI_COMPLETION=false
@@ -19,12 +19,30 @@ PLUGINS_CLI_MARKUP_MODE=rich
1919
# Configuration path for plugin loader
2020
PLUGINS_CONFIG=./resources/plugins/config.yaml
2121

22-
# Configuration path for chuck mcp runtime
23-
CHUK_MCP_CONFIG_PATH=./resources/runtime/config.yaml
24-
2522
# Transport type - 'stdio' or 'http' (default: auto-detect)
2623
PLUGINS_TRANSPORT=http
2724

25+
# Server address (default: 0.0.0.0) - HTTP mode only
26+
# PLUGINS_SERVER_HOST=0.0.0.0
27+
28+
# Server port (default: 8000) - HTTP mode only
29+
# PLUGINS_SERVER_PORT=8000
30+
31+
# Enable SSL/TLS (true/false) - HTTP mode only
32+
# PLUGINS_SERVER_SSL_ENABLED=false
33+
34+
# Path to server private key - HTTP mode only
35+
# PLUGINS_SERVER_SSL_KEYFILE=
36+
37+
# Path to server certificate - HTTP mode only
38+
# PLUGINS_SERVER_SSL_CERTFILE=
39+
40+
# Path to CA bundle for client verification - HTTP mode only
41+
# PLUGINS_SERVER_SSL_CA_CERTS=
42+
43+
# Client cert requirement (0=NONE, 1=OPTIONAL, 2=REQUIRED) - HTTP mode only
44+
# PLUGINS_SERVER_SSL_CERT_REQS=
45+
2846
#####################################
2947
# MCP External Plugin Server - mTLS Configuration
3048
#####################################

plugin_templates/external/resources/runtime/config.yaml.jinja

Lines changed: 0 additions & 71 deletions
This file was deleted.

plugin_templates/external/run-server.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
# Purpose: Launch the MCP Gateway's Plugin API
55
#
66
# Description:
7-
# This script launches an API server using
8-
# chuck runtime.
7+
# This script launches a plugin API server
98
#
109
# Environment Variables:
1110
# API_SERVER_SCRIPT : Path to the server script (optional, auto-detected)
1211
# PLUGINS_CONFIG_PATH : Path to the plugin config (optional, default: ./resources/plugins/config.yaml)
13-
# CHUK_MCP_CONFIG_PATH : Path to the chuck-mcp-runtime config (optional, default: ./resources/runtime/config.yaml)
1412
#
1513
# Usage:
1614
# ./run-server.sh # Run server
@@ -36,8 +34,6 @@ fi
3634
#────────────────────────────────────────────────────────────────────────────────
3735

3836
PLUGINS_CONFIG_PATH=${PLUGINS_CONFIG_PATH:-./resources/plugins/config.yaml}
39-
CHUK_MCP_CONFIG_PATH=${CHUK_MCP_CONFIG_PATH:-./resources/runtime/config.yaml}
4037

4138
echo "✓ Using plugin config from: ${PLUGINS_CONFIG_PATH}"
42-
echo "✓ Running API server with config from: ${CHUK_MCP_CONFIG_PATH}"
4339
python ${API_SERVER_SCRIPT}

0 commit comments

Comments
 (0)