Skip to content

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

Open
gzak wants to merge 1 commit intomainfrom
fix/mcp-check-input-default-operation
Open

fix(mcp): change mcpCheckInput default operation from query to execute#104
gzak wants to merge 1 commit intomainfrom
fix/mcp-check-input-default-operation

Conversation

@gzak
Copy link

@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).

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).
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