File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 44
55# Enable the plugin framework
66PLUGINS_ENABLED = false
7-
7+ # default host port to listen on
8+ PLUGINS_SERVER_HOST = 0.0.0.0
89# Enable auto-completion for plugins CLI
910PLUGINS_CLI_COMPLETION = false
1011
@@ -22,5 +23,6 @@ PLUGINS_CONFIG=./resources/plugins/config.yaml
2223# Configuration path for chuck mcp runtime
2324CHUK_MCP_CONFIG_PATH = ./resources/runtime/config.yaml
2425
26+ PLUGINS_TRANSPORT = streamablehttp
2527# Path to the repo policy file (optional, default: ./opaserver/rego/policy.rego)
2628# POLICY_PATH=./opaserver/rego/policy.rego
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ARG SKILLS_SDK_COMMIT_ID
1111ARG SKILLS_SDK_VERSION
1212ARG BUILD_TIME_SKILLS_INSTALL
1313
14- ARG OPASERVER_VERSION=1.8.0
14+ ARG OPASERVER_VERSION=1.10.1
1515ARG TARGETARCH
1616
1717ENV APP_HOME=/app
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ SHELL := /bin/bash
88PACKAGE_NAME = opapluginfilter
99PROJECT_NAME = opapluginfilter
1010TARGET ?= opapluginfilter
11- OPASERVER_VERSION ?= 1.8.0
11+ OPASERVER_VERSION ?= 1.10.1
1212POLICY_PATH = "./opaserver/rego/policy.rego"
1313
1414# Virtual-environment variables
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ The OPA plugin and loader configuration can be customized in `resources/plugins/
4040
4141## Installation
4242
43- 1 . In the folder ` external/opa ` , copy .env.example .env
43+ 1 . In the folder ` external/opa ` , copy .env.template .env
44442 . Add the plugin configuration to ` plugins/external/opa/resources/plugins/config.yaml ` :
4545
4646``` yaml
@@ -173,6 +173,18 @@ starting
173173
174174# # Testing with gateway
175175
176+ # ## Authentication & Tokens
177+ Run the following from the project root folder :
178+
179+ ` ` ` bash
180+ # Generate JWT bearer token
181+ python3 -m mcpgateway.utils.create_jwt_token --username [email protected] --exp 10080 --secret my-test-key 182+
183+ # Export for API calls
184+ export MCPGATEWAY_BEARER_TOKEN=$(python3 -m mcpgateway.utils.create_jwt_token --username [email protected] --exp 0 --secret my-test-key) 185+ ` ` `
186+
187+
1761881. Add server fast-time that exposes git tools in the mcp gateway
177189` ` ` bash
178190curl -s -X POST -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \
You can’t perform that action at this time.
0 commit comments