-
Notifications
You must be signed in to change notification settings - Fork 40
feat: Add Kotlin SDK for MCP Apps #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ochafik
wants to merge
16
commits into
main
Choose a base branch
from
ochafik/kotlin-sdk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8af725b
feat: Add Kotlin SDK for MCP Apps
ochafik 3eebaa9
feat: Add Kotlin SDK for MCP Apps
ochafik 66fc58c
feat: Add Kotlin SDK for MCP Apps
ochafik 7dc8540
Merge branch 'ochafik/kotlin-sdk' of https://github.com/modelcontextp…
ochafik cb70420
Merge main into kotlin-sdk
ochafik f03d1c6
Merge branch 'ochafik/kotlin-sdk' of https://github.com/modelcontextp…
ochafik 143af83
Merge remote-tracking branch 'origin/main' into ochafik/kotlin-sdk
ochafik adf2c68
feat(kotlin-host): implement graceful teardown pattern
ochafik a4bfaa6
chore: Remove Swift SDK example and type generation
ochafik dbe05e7
chore: Remove non-existent Swift SDK job from CI
ochafik 544b3be
test(kotlin-host): add protocol handler unit tests and test infrastru…
ochafik c388038
docs: add Kotlin example to main README and Mac setup instructions
ochafik 114f2bc
Merge branch 'ochafik/kotlin-sdk' of https://github.com/modelcontextp…
ochafik 80cf7d9
fix(kotlin-host): handle size-changed notification to resize WebView
ochafik fc87ef5
fix(kotlin-host): reduce teardown timeout from 3s to 500ms with polling
ochafik e873118
feat(kotlin-sdk): add timeout parameter to sendResourceTeardown
ochafik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Gradle | ||
| .gradle/ | ||
| build/ | ||
| !gradle/wrapper/gradle-wrapper.jar | ||
| !gradle/wrapper/gradle-wrapper.properties | ||
|
|
||
| # IDE | ||
| .idea/ | ||
| *.iml | ||
|
|
||
| # Local properties | ||
| local.properties |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 days ago
The best fix is to explicitly add a
permissionsblock at the root level of the workflow file.github/workflows/ci.yml. This will apply the specified minimal permissions to all jobs (unless any override them individually). As recommended, settingcontents: readis the least privilege needed for typical CI build/test workflows. No other changes are required unless future workflow steps are added that require additional permissions.To implement this, insert the following YAML section directly after the
name: CIline (so it applies globally):This ensures the workflow restricts GitHub token permissions to only those required for read access to repository contents.