Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Conversation

@gsabran
Copy link
Owner

@gsabran gsabran commented Dec 26, 2024

Summary

Add support for client capabilities

Details

  • add support for client capabilities (listing roots, sampling)
  • improve Client API to make sure a handler is provided when a capability is said to be supported
  • add tests

Checklist before merging

  • If this is a new feature or a bug fix, I have added tests.

@codecov
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 50.74627% with 33 lines in your changes missing coverage. Please review.

Project coverage is 63.50%. Comparing base (ef2617b) to head (d7e3d17).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
MCPClient/Sources/MCPClient.swift 64.00% 18 Missing ⚠️
MCPClient/Sources/MockMCPConnection.swift 0.00% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   62.80%   63.50%   +0.70%     
==========================================
  Files          14       15       +1     
  Lines         941      981      +40     
==========================================
+ Hits          591      623      +32     
- Misses        350      358       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gsabran gsabran merged commit 4cbe50a into main Dec 26, 2024
3 of 4 checks passed
@gsabran gsabran deleted the client-capabilities branch December 28, 2024 18:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants