Please help with an example of the client. #26
-
In the official docs, all the examples assume the client runs inside the Claude Desktop App alike (host). |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
I've encountered the same difficulty myself. I've been searching for examples of MCP Client implementations, but unfortunately, the only resource I've found is this very discussion. It would be incredibly helpful to have a sample implementation of an MCP Client, even if it's just a simple command-line tool. |
Beta Was this translation helpful? Give feedback.
-
i will take a crack at it. |
Beta Was this translation helpful? Give feedback.
-
I wrote one before, in the EDIT: Nevermind, it's moved into this discussion. You can check my implementation here: https://github.com/orgs/modelcontextprotocol/discussions/36 |
Beta Was this translation helpful? Give feedback.
-
Hey I wrote a simple Python CLI client for where the LLM can do tool call to MCP servers, maybe useful for your references too The main bit of logic |
Beta Was this translation helpful? Give feedback.
I wrote one before, in the
python-sdk
repo. Unfortunately they removed the discussion section alongside my writeup.EDIT: Nevermind, it's moved into this discussion. You can check my implementation here: https://github.com/orgs/modelcontextprotocol/discussions/36