Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .dxtignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.github/
bin/
cmd/
e2e/
node_modules/
pkg/
.gitignore
.goreleaser.yaml
.npmignore
Dockerfile
go.mod
go.sum
main.go
Makefile
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
with:
go-version: 1.22.x
- uses: actions/checkout@v3.0.0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Build dxt package
run: |
npm install -g @anthropic-ai/dxt
dxt pack
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ jobs:
run: |
docker login --username linuxsuren --password ${{secrets.DOCKER_HUB_PUBLISH_SECRETS}}
docker login ${{ env.REGISTRY }}/linuxsuren --username linuxsuren --password ${{secrets.GH_PUBLISH_SECRETS}}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "npm"
- name: Build dxt package
run: |
npm install -g @anthropic-ai/dxt
dxt pack
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ archives:
format: zip
files:
- README.md
- files:
- atest-mcp-server.dxt
id: dxt
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,16 @@ or as stdio mode:
}
}
```

## How to build

You can build the binary with the following command:
```shell
make build
```

You can build `.dxt` package with the following command:
```shell
npm install -g @anthropic-ai/dxt
dxt pack
```
24 changes: 24 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"dxt_version": "0.1",
"name": "atest-mcp-server-launcher",
"version": "1.0.1",
"description": "Auto-download & launch https://github.com/LinuxSuRen/atest-mcp-server",
"author": {
"name": "linuxsuren"
},
"server": {
"type": "node",
"entry_point": "launcher.js",
"mcp_config": {
"command": "node",
"args": [
"${__dirname}/launcher.js"
],
"env": {}
}
},
"keywords": [
"atest"
],
"license": "MIT"
}
Loading