From 51272182d6808006ca452b4290b1a2370ce99105 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 16 Nov 2026 17:15:17 +0200 Subject: [PATCH] [TT-18787] Enable the mock MCP server's admin API in the CI stack The remote MCP tool override API tests in tyk-analytics change the mock upstream's tool list through its admin API, which the mock only serves when MCP_ADMIN_ENABLED is true. Both compose files now set it for the mcp-server service; nothing else about the mock changes. Co-Authored-By: Claude Opus 5.5 --- deps_pro-ha.yml | 2 ++ deps_pro.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deps_pro-ha.yml b/deps_pro-ha.yml index 6e6fb94..742d1e6 100644 --- a/deps_pro-ha.yml +++ b/deps_pro-ha.yml @@ -171,6 +171,8 @@ services: # Behind nginx the mock sees plain HTTP, so pin the OAuth fixture identity to the HTTPS URL. - OAUTH_FIXTURE_ISSUER=https://mcp-tls/fixtures/oauth - OAUTH_FIXTURE_RESOURCE=https://mcp-tls/fixtures/oauth/mcp + # Test-only admin API the remote MCP tool override tests use to change the upstream tool list. + - MCP_ADMIN_ENABLED=true healthcheck: test: [ diff --git a/deps_pro.yml b/deps_pro.yml index cb21ebc..91fea68 100644 --- a/deps_pro.yml +++ b/deps_pro.yml @@ -111,6 +111,8 @@ services: # Behind nginx the mock sees plain HTTP, so pin the OAuth fixture identity to the HTTPS URL. - OAUTH_FIXTURE_ISSUER=https://mcp-tls/fixtures/oauth - OAUTH_FIXTURE_RESOURCE=https://mcp-tls/fixtures/oauth/mcp + # Test-only admin API the remote MCP tool override tests use to change the upstream tool list. + - MCP_ADMIN_ENABLED=true healthcheck: test: [