mcptools icon indicating copy to clipboard operation
mcptools copied to clipboard

Cannot consume tools from MCP Shell

Open dsantiago opened this issue 1 year ago • 4 comments

I am trying to reproduce the commands in the READ.me but I really don't know how to make it work, I tried the json part the way it is in the READ, after that i tried to put single quotes , etc. How can I make it accept my parameters?

Image

dsantiago avatar Apr 06 '25 15:04 dsantiago

Existing parsing logic is not handling the spaces in the json, it should work if you delete the space after "path":

ayakutt avatar Apr 06 '25 17:04 ayakutt

I think we may improve the DX there, like generating a valid json from the args.

mcp > list_directory path: mcp_proj

will generate {"path":"mcp_proj"}, etc.

f avatar Apr 06 '25 18:04 f

Ohh I see, or just update the docs. Thanks!

dsantiago avatar Apr 07 '25 02:04 dsantiago

Existing parsing logic is not handling the spaces in the json, it should work if you delete the space after "path":

Thanks for that @ayakut16 , would rarely find it out!

dsantiago avatar Apr 07 '25 02:04 dsantiago