fix: use official MCP SDK for better tool schema handling
I was testing the dictator mcp with opencode and noticed that the experimental_createMCPClient do not have the full spec compliance.
This make tooling less fragile for future upgrades since it depends on the official sdk.
/review
lgtm
@seuros did you test this? It does not work
i think there are some additional code changes needed?
any mcp server I use I get: Typeundefined is not an object (evaluating 'result.content')
Yes, i did test it and was using, however i rebased in the last second , maybe i lost something.
I'm going to check now.
@rekram1-node I did restore the working part.
I do have many other changes, but i prefer to send you focused PRs.
lgtm
@rekram1-node i rebased again.
Is there anything else i need to do ?