Skip to content
Merged
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
2 changes: 1 addition & 1 deletion charts/gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# major.minor mirrors the API7 EE release line (3.9.x), patch is this chart's
# own counter on that line and is decoupled from the app patch (see appVersion).
version: 3.9.14
version: 3.9.15

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 2 additions & 1 deletion charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,10 @@ apisix:
| nginx.workerRlimitNofile | string | `"20480"` | |
| nginx.workerShutdownTimeout | string | `"240s"` | |
| openapiToMcp.enabled | bool | `false` | Enable or disable the OpenAPI-to-MCP sidecar. Required when using the `openapi-to-mcp` or `mcp-tools-acl` plugins. The container runs alongside the gateway in the same pod and is reached on 127.0.0.1. |
| openapiToMcp.extraEnvVars | list | `[]` | extraEnvVars An array of extra env vars for the OpenAPI-to-MCP sidecar container. The service is configured through environment variables, for example `TIMEOUT` (inactivity timeout in milliseconds for the requests the generated tools send to the backend API, default 30000), `CACHE_ENABLED` or `CACHE_TTL`. Do not set `SSE_PORT` here; it is managed by `openapiToMcp.port`. e.g: extraEnvVars: - name: TIMEOUT value: "60000" |
| openapiToMcp.image.pullPolicy | string | `"IfNotPresent"` | OpenAPI-to-MCP image pull policy |
| openapiToMcp.image.repository | string | `"api7/openapi-to-mcp"` | OpenAPI-to-MCP image repository |
| openapiToMcp.image.tag | string | `"1.0.6"` | OpenAPI-to-MCP image tag |
| openapiToMcp.image.tag | string | `"1.0.9"` | OpenAPI-to-MCP image tag |
| openapiToMcp.port | int | `3000` | Port that the sidecar listens on. Must match the `port` configured under `plugin_attr.openapi-to-mcp` in the gateway config (defaults to 3000). |
| openapiToMcp.resources | object | `{}` | Resources for the OpenAPI-to-MCP sidecar container. |
| pluginAttrs | object | `{}` | Set APISIX plugin attributes, see [config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L376) for more details |
Expand Down
3 changes: 3 additions & 0 deletions charts/gateway/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ spec:
env:
- name: SSE_PORT
value: {{ .Values.openapiToMcp.port | quote }}
{{- if .Values.openapiToMcp.extraEnvVars }}
{{- include "apisix.tplvalues.render" (dict "value" .Values.openapiToMcp.extraEnvVars "context" $) | nindent 6 }}
{{- end }}
ports:
- containerPort: {{ .Values.openapiToMcp.port }}
name: http
Expand Down
13 changes: 12 additions & 1 deletion charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -719,14 +719,25 @@ openapiToMcp:
# -- OpenAPI-to-MCP image repository
repository: api7/openapi-to-mcp
# -- OpenAPI-to-MCP image tag
tag: 1.0.6
tag: 1.0.9
# -- OpenAPI-to-MCP image pull policy
pullPolicy: IfNotPresent
# -- Port that the sidecar listens on. Must match the `port` configured under
# `plugin_attr.openapi-to-mcp` in the gateway config (defaults to 3000).
port: 3000
# -- Resources for the OpenAPI-to-MCP sidecar container.
resources: {}
# -- extraEnvVars An array of extra env vars for the OpenAPI-to-MCP sidecar
# container. The service is configured through environment variables, for
# example `TIMEOUT` (inactivity timeout in milliseconds for the requests the
# generated tools send to the backend API, default 30000), `CACHE_ENABLED`
# or `CACHE_TTL`. Do not set `SSE_PORT` here; it is managed by
# `openapiToMcp.port`.
# e.g:
# extraEnvVars:
# - name: TIMEOUT
# value: "60000"
extraEnvVars: []

control:
# -- Enable Control API
Expand Down
Loading