-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathdeps.edn
More file actions
129 lines (102 loc) · 4.59 KB
/
deps.edn
File metadata and controls
129 lines (102 loc) · 4.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{:paths ["src" "resources"]
;; Tool installation support: clojure -Ttools install-latest :lib io.github.bhauman/clojure-mcp :as mcp
:tools/usage {:ns-default clojure-mcp.main}
:deps {org.clojure/clojure {:mvn/version "1.12.1"}
org.clojure/data.json {:mvn/version "2.5.1"}
nrepl/nrepl {:mvn/version "1.3.1"}
org.clojure/tools.cli {:mvn/version "1.1.230"}
org.clj-commons/pretty {:mvn/version "3.6.7"}
;; for prompt templating
pogonos/pogonos {:mvn/version "0.2.1"}
;; for configuration validation
metosin/malli {:mvn/version "0.19.1"}
;; Clojure source manipulation
rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}
dev.weavejester/cljfmt {:mvn/version "0.13.1"}
borkdude/edamame {:mvn/version "1.5.35"}
org.clojars.oakes/parinfer {:mvn/version "0.4.0"}
;; llm ecosystem java libs
org.apache.tika/tika-core {:mvn/version "3.2.0"}
io.modelcontextprotocol.sdk/mcp {:mvn/version "0.17.2"}
dev.langchain4j/langchain4j {:mvn/version "1.12.2"}
dev.langchain4j/langchain4j-open-ai {:mvn/version "1.12.2"}
dev.langchain4j/langchain4j-anthropic {:mvn/version "1.12.2"}
dev.langchain4j/langchain4j-google-ai-gemini {:mvn/version "1.12.2"}
com.taoensso/timbre {:mvn/version "6.8.0"}
;; Suppress logging from Java libraries (MCP SDK, LangChain4j, etc.)
org.slf4j/slf4j-nop {:mvn/version "2.0.16"}
;; native Java diff library
io.github.java-diff-utils/java-diff-utils {:mvn/version "4.15"}}
:aliases
{:mcp
{:exec-fn clojure-mcp.main/start}
:mcp-sse
{:extra-deps {jakarta.servlet/jakarta.servlet-api {:mvn/version "6.1.0"}
org.eclipse.jetty/jetty-server {:mvn/version "11.0.20"}
org.eclipse.jetty/jetty-servlet {:mvn/version "11.0.20"}}
:exec-fn clojure-mcp.sse-main/start
:exec-args {:mcp-sse-port 8078}}
:mcp-figwheel
{:exec-fn clojure-mcp.main-examples.figwheel-main/start-mcp-server
:exec-args {:port 7888 :figwheel-build "dev"}}
:mcp-shadow
{:exec-fn clojure-mcp.main-examples.shadow-main/start-mcp-server
:exec-args {:port 7888 :shadow-build "app"}}
;; dual shadow and project nrepl setup
:mcp-shadow-dual
{:extra-paths ["dev" "test"]
:exec-fn clojure-mcp.main-examples.shadow-main/start-mcp-server
;; it needs an nrepl port to talk to
:exec-args {:port 7888 :shadow-build "app" :shadow-port 7889}}
;; below are dev set ups
:prompt-cli
{:main-opts ["-m" "clojure-mcp.prompt-cli"]}
:dev-mcp
{:extra-paths ["dev" "test"]
:exec-fn clojure-mcp.main/start
;; it needs an nrepl port to talk to
:exec-args {;; :port 7888
:enable-logging? true
;; test auto starting the repl
;; :start-nrepl-cmd ["clojure" "-M:nrepl"]
}}
:dev-mcp-figwheel
{:extra-paths ["dev" "test"]
:exec-fn clojure-mcp.main-examples.figwheel-main/start-mcp-server
;; it needs an nrepl port to talk to
:exec-args {:port 7888 :figwheel-build "dev"}}
:dev-mcp-shadow
{:extra-paths ["dev" "test"]
:exec-fn clojure-mcp.main-examples.shadow-main/start-mcp-server
;; it needs an nrepl port to talk to
:exec-args {:port 7888 :shadow-build "app"}}
:dev-mcp-shadow-dual
{:extra-paths ["dev" "test"]
:exec-fn clojure-mcp.main-examples.shadow-main/start-mcp-server
;; it needs an nrepl port to talk to
:exec-args {:port 7888 :shadow-build "app" :shadow-port 7889}}
:nrepl {:extra-paths ["test" "dev"]
:main-opts ["-m" "nrepl.cmdline" "--port" "7888"]}
:dkr-nrepl {:extra-paths ["test" "dev"]
:main-opts ["-m" "nrepl.cmdline" "--port" "7888"
;; for Docker
"--bind" "0.0.0.0"]}
;; dev cycle
:test
{:extra-paths ["test" "dev"]
:exec-fn clojure-mcp.test-helper/run-tests-with-exec
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
nrepl/nrepl {:mvn/version "1.3.1"} ;; Add nrepl server for testing
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:main-opts ["-e" "(require 'clojure-mcp.test-helper)" "-m" "cognitect.test-runner"]}
:index
{:exec-fn clojure-mcp.code-indexer/map-project
:exec-args {}
;; Override with: clojure -X:index :dirs '["src" "lib"]' :include-tests true :out-file '"my-index.txt"'
}
:build {:deps {io.github.clojure/tools.build
{:git/tag "v0.9.2" :git/sha "fe6b140"}
slipset/deps-deploy {:mvn/version "0.2.0"}}
:ns-default build}
:neil {:project {:name clojure-mcp/clojure-mcp}}}}