-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (39 loc) · 993 Bytes
/
Makefile
File metadata and controls
52 lines (39 loc) · 993 Bytes
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
# Makefile for MCP Playground
.PHONY:
install-ts
run-ts
build-ts
node-ts
clean-ts
inspect-ts
# GO targets
install-go
run-go
build-go
clean-go
inspect-go
# TypeScript MCP Cypher targets
install-ts:
cd ts-mcp-cypher && yarn install
build-ts:
cd ts-mcp-cypher && yarn build
node-ts:
cd ts-mcp-cypher && node ./build/index.js
run-ts:
# Change transport protocol: make run-ts ARGS="--transport stdio"
cd ts-mcp-cypher && yarn build && node ./build/index.js $(ARGS)
inspect-ts:
cd ts-mcp-cypher && yarn build && npx @modelcontextprotocol/inspector node ./build/index.js
clean-ts:
cd ts-mcp-cypher && rm -rf build/
# Go MCP Cypher targets
install-go:
cd go-mcp-cypher && go mod download
build-go:
cd go-mcp-cypher && go build -o bin/mcp-cypher main.go
run-go:
cd go-mcp-cypher && go run main.go
inspect-go:
cd go-mcp-cypher && go build -o bin/mcp-cypher main.go && npx @modelcontextprotocol/inspector ./bin/mcp-cypher
clean-go:
cd go-mcp-cypher && rm -rf bin/