GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — MCP tool schema resolution: RecursionError on circular schema references · Issue #16899 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionDescriptionAfter updating opencode from a pre-1.2.24 version to 1.2.24, the DataHub MCP server (and potentially other MCP servers with complex schemas) causes a Environment
Configuration// ~/.config/opencode/opencode.jsonc { "$schema": "https://opencode.ai/config.json", "mcp": { "datahub": { "type": "local", "command": ["/Users/***/.local/bin/uvx", "mcp-server-datahub@latest"], "environment": { "DATAHUB_GMS_URL": "https://datahub.***.**/api/gms", "DATAHUB_GMS_TOKEN": "***" } } } } Expected behaviorThe DataHub MCP should initialize successfully and provide 6 tools for querying datasets, schemas, lineage, etc. This worked correctly in opencode versions prior to March 9, 2024 (16:47). Actual behaviorOpencode crashes with a RecursionError when processing the DataHub MCP tool schemas: AnalysisThe error occurs in the AI SDK's schema resolution layer (@ai-sdk/provider-utils), suggesting a recent change in how circular JSON Schema references are handled Key observations:
PluginsNo response OpenCode version1.2.24 Steps to reproduce
Screenshot and/or share linkNo response Operating SystemmacOS 26.3 TerminalKitty Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |