Conversation
…erverContext in the mcp-server-tool event schema
…with the serverTransport property
|
KBC team task https://keboola.atlassian.net/browse/CT-2220 |
|
@Matovidlo Could you please notify in #general that mcp server tool event schema will be changed. And please review this PR and check my steps whether they are going the right direction. |
|
Just one note - won't it fail for previous versions of MCP server which sends events without the requires param? The validation is strict in connection - either it matches the schema or it's refused. |
I was thinking the same. @ujovlado, @Matovidlo - how is this handled when we have old stored events and the schema gets updated? Will the missing values be adjusted, or should I make the field optional for backward compatibility? |
|
The schema validates input in postMessage endpoint in connection. So if you update it and make it required, any request to create message without the |
|
@tomasfejfar In that case, we should keep the field optional, right? |
…the schema for backward compatibility
…d serverTransport property(optional)
|
@tomasfejfar The property is now optional and it should work with previous versions of mcp smoothly. |
|
Why we kept both? Schemas for component |
|
If we want this fixed, let's do that in a new PR and new connection release. There is no problem releasing both schemas changed. |
Before asking for review make sure that: