Skip to content

[TT-18787] Enable the mock MCP server's admin API in the CI stack - #116

Closed
andrei-tyk wants to merge 1 commit into
mainfrom
TT-18787-enable-mock-mcp-admin-api
Closed

andrei-tyk wants to merge 1 commit into
mainfrom
TT-18787-enable-mock-mcp-admin-api

Conversation

@andrei-tyk

Copy link
Copy Markdown
Contributor

Description

Sets MCP_ADMIN_ENABLED=true on the mcp-server service in deps_pro.yml and deps_pro-ha.yml. This serves the mock's test-only admin API (/admin/tools, /admin/fixtures/github, /admin/calls). It was added in TykTechnologies/tyk-mock-mcp-server#13, which has been merged.

The new remote MCP tool override API tests in TykTechnologies/tyk-analytics#6491 use that API to add and remove upstream tools, which is how they test drift and collisions. Without it, all 24 of those tests fail at setup with GET /admin/tools returned 404. The rest of the api-tests suite passes: about 2,080 tests per job.

Nothing else about the mock changes: same image, same port, same OAuth fixture settings.

Related

Test

The same setting is used by the Dashboard's local MCP stack runner (tests/api/scripts/run_mcp_v2_stack.py). There, the 24 tests pass against a mock with the admin API, and a mock without it fails all 24 at setup.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@andrei-tyk

Copy link
Copy Markdown
Contributor Author

Closing in favour of TykTechnologies/tyk-mock-mcp-server#14, which makes the mock serve its admin API by default. The tyk-pro CI stack then needs no change.

@andrei-tyk andrei-tyk closed this Nov 16, 2026
@andrei-tyk
andrei-tyk deleted the TT-18787-enable-mock-mcp-admin-api branch November 16, 2026 16:13
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