Custom MCP Client

1 day ago 2

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

Read Entire Article