Skip to content

[mcp-gw] Support for new MCP protocol (2026-07-28, stateless) - #187

Open
ashtarkb wants to merge 1 commit into
openshift-psap:mainfrom
ashtarkb:mcp-gw-new-protocol-support
Open

[mcp-gw] Support for new MCP protocol (2026-07-28, stateless)#187
ashtarkb wants to merge 1 commit into
openshift-psap:mainfrom
ashtarkb:mcp-gw-new-protocol-support

Conversation

@ashtarkb

Copy link
Copy Markdown
Collaborator

Summary

Split out of #170 (1/3).

  • Add a stateless MCP 2026-07-28 Locust user (mcp_2026_user.py) alongside the existing stateful mcp_session_user.py.
  • Wire runtime.protocol_mode (stateful/stateless) through runtime_config.py to select the Locust user class/env vars.
  • Point the mock server deployer/image at the new-protocol build and update deploy_mock_servers.
  • Update test_phase.py and mcp_gateway README.md accordingly.

Files

  • projects/agentic_tools/locust/locust_runtime/locustfile_main.py
  • projects/agentic_tools/locust/locust_users/init.py
  • projects/agentic_tools/locust/locust_users/mcp_2026_user.py
  • projects/agentic_tools/mcp/toolbox/deploy_mock_servers/main.py
  • projects/mcp_gateway/README.md
  • projects/mcp_gateway/orchestration/config.d/mock_servers.yaml
  • projects/mcp_gateway/orchestration/config.d/runtime.yaml
  • projects/mcp_gateway/orchestration/preflight_phase.py
  • projects/mcp_gateway/orchestration/runtime_config.py
  • projects/mcp_gateway/orchestration/test_phase.py

Test plan

  • Smoke: protocol_mode: stateful Locust job still mounts mcp_session_user + mcp_client
  • Smoke: protocol_mode: stateless Locust job mounts mcp_2026_user and mock servers get the new-protocol image

Made with Cursor

Split from openshift-psap#170. Adds a stateless MCP 2026-07-28 Locust user
(mcp_2026_user.py) alongside the existing stateful session user, wires
runtime.protocol_mode into locust job env/file selection, and points
the mock server deployer/image at the new-protocol build.

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci

openshift-ci Bot commented Aug 26, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign harshith-umesh for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b970d0f7-8d50-438d-af9b-3a87af07358a


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kpouget kpouget left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants