Skip to content

feat: Add protocol version validation and UI support - #683

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
derek201759:feature/fix-mcp-version-hand-shake
Aug 31, 2026
Merged

haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
derek201759:feature/fix-mcp-version-hand-shake

Conversation

@derek201759

Copy link
Copy Markdown
Contributor

In my use case, the MCP server use the old protocol version and it requires explicitly declaration, so Askimo should allow user can set the protocol version

  • Add validation for MCP protocol version in McpServerDefinitionValidator.kt.
  • Update AddMcpInstanceDialog.kt to include a dropdown menu for selecting the protocol version.
  • Update i18n files to include new messages for protocol version.
  • Refactor McpClientFactory.kt to use a builder for creating clients.
  • Update McpServerDefinition.kt to include a protocolVersion field with documentation.

Screenshot:
Screenshot 2026-08-31 at 10 31 16 AM

- Add validation for MCP protocol version in `McpServerDefinitionValidator.kt`.
- Update `AddMcpInstanceDialog.kt` to include a dropdown menu for selecting the protocol version.
- Update i18n files to include new messages for protocol version.
- Refactor `McpClientFactory.kt` to use a builder for creating clients.
- Update `McpServerDefinition.kt` to include a `protocolVersion` field with documentation.

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @derek201759 . LGTM!

@haiphucnguyen
haiphucnguyen merged commit 0c8394b into askimo-ai:main Aug 31, 2026
10 of 12 checks passed
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.

2 participants