Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf391e6

Browse files
authored
feat: plugin template runtime update (#1607)
* fix: set defaults for plugin transportSigned-off-by: Frederico Araujo <frederico.araujo@ibm.com>* feat: expose new MCP runtime parametersSigned-off-by: Frederico Araujo <frederico.araujo@ibm.com>---------Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent51d4d1d commitdf391e6

File tree

4 files changed

+26
-83
lines changed

4 files changed

+26
-83
lines changed

‎plugin_templates/external/.env.template‎

Lines changed: 24 additions & 3 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,8 +19,29 @@ 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
22+
# Transport type - 'stdio' or 'http' (default: auto-detect)
23+
PLUGINS_TRANSPORT=http
24+
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=
2445

2546
#####################################
2647
# MCP External Plugin Server - mTLS Configuration

‎plugin_templates/external/Containerfile‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@ FROM registry.access.redhat.com/ubi9/${UBI} AS builder
66
ARG PYTHON_VERSION=3.12
77

88
ARG VERSION
9-
ARG COMMIT_ID
10-
ARG SKILLS_SDK_COMMIT_ID
11-
ARG SKILLS_SDK_VERSION
12-
ARG BUILD_TIME_SKILLS_INSTALL
139

1410
ENV APP_HOME=/app
11+
ENV PLUGINS_TRANSPORT=http
1512

1613
USER 0
1714

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp