Skip to content

fix(mcp): change mcpCheckInput default operation from query to execute#104

Merged
saurabhjain1592 merged 2 commits intomainfrom
fix/mcp-check-input-default-operation
Mar 7, 2026
Merged

fix(mcp): change mcpCheckInput default operation from query to execute#104
saurabhjain1592 merged 2 commits intomainfrom
fix/mcp-check-input-default-operation

Conversation

@gzak
Copy link
Contributor

@gzak gzak commented Mar 5, 2026

Summary

  • Changes the default operation in the 2-arg MCPCheckInputRequest constructor from "query" to "execute"
  • Updates the Javadoc comment on that constructor to reflect the new default
  • Changes getOrDefault("operation", "query") to getOrDefault("operation", "execute") in AxonFlow.mcpCheckInput

Context

Follow-up to getaxonflow/axonflow-enterprise#1288. The check-input endpoint is called by external orchestrators managing their own MCP execution — defaulting to "execute" (conservative, may have side effects) is semantically correct for a pre-flight gate, as opposed to "query" (implies read-only).

gzak and others added 2 commits March 4, 2026 16:19
Follows axonflow-enterprise#1288. The check-input endpoint is called by
external orchestrators managing their own MCP execution, so defaulting to
"execute" (conservative) is semantically correct over "query" (read-only).
@saurabhjain1592 saurabhjain1592 merged commit dcad46c into main Mar 7, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/mcp-check-input-default-operation branch March 7, 2026 19:21
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.

2 participants