Skip to content

Conversation

mstiri
Copy link
Contributor

@mstiri mstiri commented Jul 26, 2025

Add support for running in a ReadOnly mode by setting an environment variable.
The value MCP_READ_ONLY: "true" will not register the modification tools and they won't be available for the clients.

This allows running the MCP Server safely in scenarios where the MCP Server is not expected to modify resources and applications.

The PR resolves the issue #49

@mstiri mstiri mentioned this pull request Jul 26, 2025
Copy link
Member

@jiachengxu jiachengxu left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

Copy link
Contributor

@imwithye imwithye left a comment

Choose a reason for hiding this comment

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

LGTM!

@jiachengxu jiachengxu merged commit 11b0539 into argoproj-labs:main Aug 8, 2025
2 checks passed
@mstiri mstiri deleted the feat/read-only-mode branch August 8, 2025 08: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.

3 participants