Skip to content

Conversation

@logan-markewich
Copy link
Collaborator

HUGE update to our BasicMCPClient

  • support sse and Streamable HTTP transport protocols
  • added OAuth support (not able to fully test this yet though)
  • methods for nearly every feature MCP offers
  • update the toolspec to optionally include resources as readonly tools
  • added many tests

Some notes:

  • Have not tested oauth yet. Need to find some public server
  • I made made get_prompt() return llama-index chat messages. This is a little debatable (should we just return the raw mcp types? Or are there more endpoints that can be converted into more use llama-index objects?)
  • MCP kind of supports notifications for when resources change, but there's no docs on this, so left it out for now

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label May 23, 2025
@logan-markewich logan-markewich merged commit 177c08c into main May 25, 2025
10 checks passed
@logan-markewich logan-markewich deleted the logan/mcp_client_upgrade branch May 25, 2025 21:41
@colca colca mentioned this pull request Jun 9, 2025
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants