Discussion

Custom MCP Client

I created an MCP Client from scratch from the API layer, without using the MCP library from Claude, which might seem an anti-pattern, but it's still worth it. Learning how the MCP works under the hood.

The main reason is I'm building an MCP Agent, I'm getting RuntimeError: Attempted to exit cancel scope in a different task than it was entered in

While disconnecting the servers..

So looked for fixes from GitHub, but unfortunately none worked, but I wanted to build it, so I developed the MCP-Client.

https://github.com/Jeomon/MCP-Client

1 points jeomon27 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton