Skip to content

Me0/mcp optional#41

Merged
jgpruitt merged 3 commits intomainfrom
me0/mcp-optional
Apr 21, 2026
Merged

Me0/mcp optional#41
jgpruitt merged 3 commits intomainfrom
me0/mcp-optional

Conversation

@jgpruitt
Copy link
Copy Markdown
Collaborator

No description provided.

Switch MCP inputSchema fields that represent "no value" from .nullable()-only to .optional().nullable() so tool calls work for agents that omit unused fields (Claude Code, OpenCode, Gemini CLI) and agents that send explicit null (Codex). Handlers coalesce null to undefined before forwarding to the engine client.

Docs for the six affected tools (create, update, search, tree, import, export) updated to describe optional params as \`T | null\` with "omit or pass null" semantics.
@jgpruitt jgpruitt merged commit 001b914 into main Apr 21, 2026
3 checks passed
@jgpruitt jgpruitt deleted the me0/mcp-optional branch April 21, 2026 19:57
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