Skip to content

Update mcp-api-gateway: bump pin and expose new configuration options#2155

Open
rflpazini wants to merge 1 commit intodocker:mainfrom
rflpazini:update/mcp-api-gateway-config
Open

Update mcp-api-gateway: bump pin and expose new configuration options#2155
rflpazini wants to merge 1 commit intodocker:mainfrom
rflpazini:update/mcp-api-gateway-config

Conversation

@rflpazini
Copy link
Copy Markdown

Summary

Updates the mcp-api-gateway server entry to reflect the major upstream refactor (rflpazini/mcp-api-gateway#1):

  • Bump source.commit: f197f8dbd22011aa (2 new commits since the original pin)
  • Expose new config env vars in the Toolkit UI so users can configure them without editing JSON manually:
    • API_1_BASE_URL — override the base URL from the spec
    • API_1_TOOL_MODEindividual or grouped (reduces a 1090-tool/2.2MB payload to 53 tools/184KB)
    • API_1_SCHEMA_MODEfull or compact (72% payload reduction)
    • API_1_PATH_PREFIX — comma-separated path prefixes to filter endpoints
    • API_1_TAGS — comma-separated OpenAPI tags to filter endpoints
    • API_1_TIMEOUT — request timeout in milliseconds
    • API_1_MAX_RETRIES — retry attempts for 429/5xx errors with exponential backoff
  • Add parameter descriptions for all config fields
  • Mark required fields (api_1_name, api_1_swagger_url)
  • Update description to mention new capabilities (grouped tools, compact schemas, path filtering, cookie-based auth, retry with backoff)

What changed upstream

The upstream repo received a major refactor that:

  • Split monolithic index.js into focused modules (config, schema-builder, api-registry, api-client, server)
  • Fixed critical bugs ($ref resolution, tool name parsing)
  • Added reliability features (timeout, retry with backoff, response size limits, health check)
  • Introduced performance optimizations for large APIs (grouped tools, compact schemas, path/tag filtering)
  • Upgraded to Node.js 24 LTS + distroless runtime image (0 vulnerabilities)
  • Updated MCP SDK from 0.5.0 → 1.27.1
  • Added 53 tests and CI test pipeline

Supersedes

This PR supersedes #2054 (automated pin bump) which only updates the commit hash without exposing the new configuration options.

Bump source.commit to d22011aa (was f197f8db) and update the config
section to expose all new env vars added in the upstream refactor:
BASE_URL, TOOL_MODE, SCHEMA_MODE, PATH_PREFIX, TAGS, TIMEOUT, and
MAX_RETRIES. Adds parameter descriptions and marks NAME/SWAGGER_URL
as required.

Supersedes docker#2054 which only bumps the commit pin.
@rflpazini rflpazini requested a review from a team as a code owner March 31, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant