Skip to content

fix: add type checking for MCP tool path parameters - #2073

Merged
rekram1-node merged 1 commit into
devfrom
opencode/issue2068-20250819183358
Aug 19, 2025
Merged

rekram1-node merged 1 commit into
devfrom
opencode/issue2068-20250819183358

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Aug 19, 2025 •

Copy link
Copy Markdown
Collaborator

fixes: #2068

Prevents panic when MCP servers send path parameters as arrays instead of strings by safely checking the type before conversion

Prevents panic when MCP servers send path parameters as arrays instead of strings by safely checking the type before conversion
@rekram1-node
rekram1-node merged commit ad76d7e into dev Aug 19, 2025
@thdxr
thdxr deleted the opencode/issue2068-20250819183358 branch February 1, 2026 03:32
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
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.

Bug: Apidog MCP Server Crashes OpenCode

1 participant