-
Notifications
You must be signed in to change notification settings - Fork 93
Description
I followed the instructions for adding the configuration to Claude:
It says it is running in Claude. When I stop and start Claude I see the containers alpine/socat (2 of them) starting and stopping.
The issue is when I click on the AI Tool Catalog it doesn't recognize any MCP Clients and shows the error below which is
vonwig/function_write_files:latest '{"files":[{"path":"config.yaml","content":"{}"}]}'
There's a JSON parsing error in how this command is being executed. The single quotes around the JSON parameter are causing the parser to fail.
Is there something I am missing or is this an issue with the Extension? I've updated everything to the latest
{"code":1,"killed":false,"signal":null,"cmd":""C:\Program Files\Docker\Docker\resources\bin\docker.exe" run --label com.docker.desktop.extension="true" --label com.docker.compose.project=docker_labs-ai-tools-for-devs-desktop-extension --label com.docker.compose.project.config_files= --label com.docker.compose.config-hash= --rm -v docker-prompts:/docker-prompts --workdir /docker-prompts vonwig/function_write_files:latest '{"files":[{"path":"config.yaml","content":"{}"}]}'","stdout":"","stderr":"#error {\n :cause Unexpected character (''' (code 39)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (StringReader); line: 1, column: 2]\n :via\n [{:type com.fasterxml.jackson.core.JsonParseException\n :message Unexpected character (''' (code 39)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (StringReader); line: 1, column: 2]\n :at [com.fasterxml.jackson.core.JsonParser constructError JsonParser.java 2477]}]\n :trace\n [[com.fasterxml.jackson.core.JsonParser constructError JsonParser.java 2477]\n [com.fasterxml.jackson.core.base.ParserMinimalBase reportError ParserMinimalBase.java 750]\n [com.fasterxml.jackson.core.base.ParserMinimalBase reportUnexpectedChar ParserMinimalBase.java 674]\n [com.fasterxml.jackson.core.json.ReaderBasedJsonParser handleOddValue ReaderBasedJsonParser.java 2085]\n [com.fasterxml.jackson.core.json.ReaderBasedJsonParser nextToken ReaderBasedJsonParser.java 808]\n [cheshire.parse$parse invokeStatic parse.clj 90]\n [cheshire.core$parse_string invokeStatic core.clj 209]\n [cheshire.core$parse_string invoke core.clj 194]\n [cheshire.core$parse_string invokeStatic core.clj 205]\n [cheshire.core$parse_string invoke core.clj 194]\n [sci.lang.Var invoke lang.cljc 202]\n [sci.impl.analyzer$return_call$reify__4562 eval analyzer.cljc 1422]\n [sci.impl.analyzer$analyze_call$reify__4652 eval analyzer.cljc 1667]\n [sci.impl.analyzer$analyze_let_STAR$reify__4232 eval analyzer.cljc 625]\n [sci.impl.evaluator$eval_try invokeStatic evaluator.cljc 83]\n [sci.impl.analyzer$analyze_try$reify__4309 eval analyzer.cljc 968]\n [sci.impl.fns$fun$arity_0__870 doInvoke fns.cljc 83]\n [clojure.lang.RestFn applyTo RestFn.java 137]\n [clojure.core$apply invokeStatic core.clj 667]\n [clojure.core$apply invoke core.clj 662]\n [sci.lang.Var invoke lang.cljc 202]\n [sci.impl.analyzer$return_call$reify__4562 eval analyzer.cljc 1422]\n [sci.impl.fns$fun$arity_0__1164 invoke fns.cljc 106]\n [sci.lang.Var invoke lang.cljc 198]\n [sci.impl.analyzer$return_call$reify__4554 eval analyzer.cljc 1422]\n [sci.impl.interpreter$eval_form invokeStatic interpreter.cljc 40]\n [sci.impl.interpreter$eval_string_STAR invokeStatic interpreter.cljc 66]\n [sci.impl.interpreter$eval_string_STAR invoke interpreter.cljc 57]\n [sci.impl.interpreter$eval_string_STAR invokeStatic interpreter.cljc 59]\n [sci.core$eval_string_STAR invokeStatic core.cljc 270]\n [babashka.main$exec$fn__32114$fn__32152$fn__32153 invoke main.clj 1043]\n [babashka.main$exec$fn__32114$fn__32152 invoke main.clj 1043]\n [babashka.main$exec$fn__32114 invoke main.clj 1033]\n [clojure.lang.AFn applyToHelper AFn.java 152]\n [clojure.lang.AFn applyTo AFn.java 144]\n [clojure.core$apply invokeStatic core.clj 667]\n [clojure.core$with_bindings_STAR_ invokeStatic core.clj 1990]\n [clojure.core$with_bindings_STAR_ doInvoke core.clj 1990]\n [clojure.lang.RestFn invoke RestFn.java 425]\n [babashka.main$exec invokeStatic main.clj 823]\n [babashka.main$main invokeStatic main.clj 1189]\n [babashka.main$main doInvoke main.clj 1142]\n [clojure.lang.RestFn applyTo RestFn.java 137]\n [clojure.core$apply invokeStatic core.clj 667]\n [babashka.main$_main invokeStatic main.clj 1222]\n [babashka.main$_main doInvoke main.clj 1214]\n [clojure.lang.RestFn applyTo RestFn.java 137]\n [babashka.main main nil -1]\n [java.lang.invoke.LambdaForm$DMH/sa346b79c invokeStaticInit LambdaForm$DMH -1]]}\n"}