Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions plugin_templates/external/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#####################################

# Enable the plugin framework
PLUGINS_ENABLED=false
PLUGINS_ENABLED=true

# Enable auto-completion for plugins CLI
PLUGINS_CLI_COMPLETION=false
Expand All @@ -19,8 +19,29 @@ PLUGINS_CLI_MARKUP_MODE=rich
# Configuration path for plugin loader
PLUGINS_CONFIG=./resources/plugins/config.yaml

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

# Server address (default: 0.0.0.0) - HTTP mode only
# PLUGINS_SERVER_HOST=0.0.0.0

# Server port (default: 8000) - HTTP mode only
# PLUGINS_SERVER_PORT=8000

# Enable SSL/TLS (true/false) - HTTP mode only
# PLUGINS_SERVER_SSL_ENABLED=false

# Path to server private key - HTTP mode only
# PLUGINS_SERVER_SSL_KEYFILE=

# Path to server certificate - HTTP mode only
# PLUGINS_SERVER_SSL_CERTFILE=

# Path to CA bundle for client verification - HTTP mode only
# PLUGINS_SERVER_SSL_CA_CERTS=

# Client cert requirement (0=NONE, 1=OPTIONAL, 2=REQUIRED) - HTTP mode only
# PLUGINS_SERVER_SSL_CERT_REQS=

#####################################
# MCP External Plugin Server - mTLS Configuration
Expand Down
5 changes: 1 addition & 4 deletions plugin_templates/external/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ FROM registry.access.redhat.com/ubi9/${UBI} AS builder
ARG PYTHON_VERSION=3.12

ARG VERSION
ARG COMMIT_ID
ARG SKILLS_SDK_COMMIT_ID
ARG SKILLS_SDK_VERSION
ARG BUILD_TIME_SKILLS_INSTALL

ENV APP_HOME=/app
ENV PLUGINS_TRANSPORT=http

USER 0

Expand Down
71 changes: 0 additions & 71 deletions plugin_templates/external/resources/runtime/config.yaml.jinja

This file was deleted.

6 changes: 1 addition & 5 deletions plugin_templates/external/run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
# Purpose: Launch the MCP Gateway's Plugin API
#
# Description:
# This script launches an API server using
# chuck runtime.
# This script launches a plugin API server
#
# Environment Variables:
# API_SERVER_SCRIPT : Path to the server script (optional, auto-detected)
# PLUGINS_CONFIG_PATH : Path to the plugin config (optional, default: ./resources/plugins/config.yaml)
# CHUK_MCP_CONFIG_PATH : Path to the chuck-mcp-runtime config (optional, default: ./resources/runtime/config.yaml)
#
# Usage:
# ./run-server.sh # Run server
Expand All @@ -36,8 +34,6 @@ fi
#────────────────────────────────────────────────────────────────────────────────

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

echo "✓ Using plugin config from: ${PLUGINS_CONFIG_PATH}"
echo "✓ Running API server with config from: ${CHUK_MCP_CONFIG_PATH}"
python ${API_SERVER_SCRIPT}
Loading