File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,19 @@ implementation.
1616
1717Add mcp-clj as a dependency to your project.
1818
19- 1 . Clone the mcp-clj repository:
20-
21- ``` bash
22- git clone https://github.com/your-repo/mcp-clj.git
23- ```
24-
25- 2 . Add the project as a dependency:
19+ 1 . Add the mcp-project as a dependency:
2620
2721``` clojure
28- :mcp-clj { :extra-deps
29- {org. hugoduncan/mcp-clj
30- { :local/root
31- " /path tp/mcp-clj " } }}
22+ :deps {org.hugoduncan/mcp-clj
23+ { :git/url " https://github.com/ hugoduncan/mcp-clj"
24+ :git/sha " replace with latest git sha "
25+ :deps/root " projects/server " }}
3226```
3327
34- 3 . In the project, start the server:
28+ 2 . In the project, start the server:
3529
3630``` clojure
31+ (require 'mcp-clj.mcp-server.core)
3732(def server (mcp-clj.mcp-server.core/create-server {:port 3001 }))
3833```
3934
Original file line number Diff line number Diff line change 1+ {:deps
2+ {poly/http {:local/root " ../../components/http" }
3+ poly/http-server {:local/root " ../../components/http-server" }
4+ poly/json-rpc {:local/root " ../../components/json-rpc" }
5+ poly/log {:local/root " ../../components/log" }
6+ poly/mcp-server {:local/root " ../../components/mcp-server" }}}
You can’t perform that action at this time.
0 commit comments