Skip to content

fix(mcp): change mcp_check_input default operation from query to execute#106

Merged
saurabhjain1592 merged 1 commit intomainfrom
fix/mcp-check-input-default-operation
Mar 5, 2026
Merged

fix(mcp): change mcp_check_input default operation from query to execute#106
saurabhjain1592 merged 1 commit intomainfrom
fix/mcp-check-input-default-operation

Conversation

@gzak
Copy link
Contributor

@gzak gzak commented Mar 5, 2026

Summary

  • Changes the default value of the operation parameter in mcp_check_input (both async and sync) from "query" to "execute"
  • Updates the MCPCheckInputRequest Pydantic model field default to match
  • Updates the docstring to reflect the new default

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).
@saurabhjain1592 saurabhjain1592 merged commit 07e1dfb into main Mar 5, 2026
13 checks passed
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