Skip to content

Commit fd05435

Browse files
committed
add dxt manifest, wip release cicd for testing
1 parent d9ab607 commit fd05435

File tree

3 files changed

+122
-22
lines changed

3 files changed

+122
-22
lines changed

.github/workflows/release.yaml

Lines changed: 52 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -71,33 +71,21 @@ jobs:
7171
write-mode: overwrite
7272
contents: ${{ needs.release_metadata.outputs.changelog }}
7373

74-
- name: Commit changes
75-
id: commit
76-
uses: EndBug/add-and-commit@v9
77-
with:
78-
author_name: Apify Release Bot
79-
author_email: [email protected]
80-
message: "chore(release): Update changelog and package version [skip ci]"
74+
# TEMP
75+
#- name: Commit changes
76+
# id: commit
77+
# uses: EndBug/add-and-commit@v9
78+
# with:
79+
# author_name: Apify Release Bot
80+
# author_email: [email protected]
81+
# message: "chore(release): Update changelog and package version [skip ci]"
8182

8283
create_github_release:
8384
name: Create github release
8485
needs: [release_metadata, update_changelog]
8586
runs-on: ubuntu-latest
8687
env:
8788
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-
steps:
89-
- name: Create release
90-
uses: softprops/action-gh-release@v2
91-
with:
92-
tag_name: ${{ needs.release_metadata.outputs.tag_name }}
93-
name: ${{ needs.release_metadata.outputs.version_number }}
94-
target_commitish: ${{ needs.update_changelog.outputs.changelog_commitish }}
95-
body: ${{ needs.release_metadata.outputs.release_notes }}
96-
97-
publish_to_npm:
98-
name: Publish to NPM
99-
needs: [ update_changelog ]
100-
runs-on: ubuntu-latest
10189
steps:
10290
- uses: actions/checkout@v4
10391
with:
@@ -115,8 +103,50 @@ jobs:
115103
npm ci
116104
- name: Build module
117105
run: npm run build
118-
- name: Publish to NPM
119-
run: npm publish --tag latest
106+
- name: Prepare DXT package
107+
run: |
108+
mkdir dxt
109+
cp -r node_modules dxt/node_modules
110+
cp -r dist dxt/dist
111+
cp -r docs dxt/docs
112+
cp package.json dxt/package.json
113+
cp manifest.json dxt/manifest.json
114+
- name: Create DXT package
115+
run: npx -y @anthropic-ai/dxt pack dxt/ actors-mcp-server.dxt
116+
- name: Create release
117+
uses: softprops/action-gh-release@v2
118+
with:
119+
tag_name: ${{ needs.release_metadata.outputs.tag_name }}
120+
name: ${{ needs.release_metadata.outputs.version_number }}
121+
target_commitish: ${{ needs.update_changelog.outputs.changelog_commitish }}
122+
body: ${{ needs.release_metadata.outputs.release_notes }}
123+
files: |
124+
actors-mcp-server.dxt
125+
126+
# TEMP
127+
#publish_to_npm:
128+
# name: Publish to NPM
129+
# needs: [ update_changelog ]
130+
# runs-on: ubuntu-latest
131+
# steps:
132+
# - uses: actions/checkout@v4
133+
# with:
134+
# ref: ${{ needs.update_changelog.changelog_commitish }}
135+
# - name: Use Node.js 22
136+
# uses: actions/setup-node@v4
137+
# with:
138+
# node-version: 22
139+
# cache: 'npm'
140+
# cache-dependency-path: 'package-lock.json'
141+
# - name: Install dependencies
142+
# run: |
143+
# echo "access=public" >> .npmrc
144+
# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
145+
# npm ci
146+
# - name: Build module
147+
# run: npm run build
148+
# - name: Publish to NPM
149+
# run: npm publish --tag latest
120150

121151
env:
122152
NODE_AUTH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}

docs/apify-logo.png

3.06 KB
Loading

manifest.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"dxt_version": "0.1",
3+
"name": "apify-actors-mcp-server",
4+
"version": "0.0.0",
5+
"description": "A simple MCP extension",
6+
"keywords": [
7+
"apify",
8+
"actors",
9+
"dataset",
10+
"mcp",
11+
"automation",
12+
"web",
13+
"web scraping",
14+
"web automation",
15+
"web scraper",
16+
"web crawler",
17+
"scraping",
18+
"data extraction",
19+
"API"
20+
],
21+
"author": {
22+
"name": "Apify Technologies s.r.o.",
23+
"url": "https://apify.com"
24+
},
25+
"license": "Apache-2.0",
26+
"repository": {
27+
"type": "git",
28+
"url": "https://github.com/apify/actors-mcp-server"
29+
},
30+
"homepage": "https://mcp.apify.com",
31+
"support": "https://github.com/apify/actors-mcp-server/issues",
32+
"icon": "docs/apify-logo.png",
33+
"screenshots": [
34+
"docs/actors-mcp-server.png"
35+
],
36+
"server": {
37+
"type": "node",
38+
"entry_point": "dist/stdio.js",
39+
"mcp_config": {
40+
"command": "node",
41+
"args": [
42+
"${__dirname}/dist/stdio.js"
43+
],
44+
"env": {
45+
"APIFY_TOKEN": "${user_config.apify_token}"
46+
}
47+
}
48+
},
49+
"tools_generated": true,
50+
"user_config": {
51+
"apify_token": {
52+
"type": "string",
53+
"title": "Apify token",
54+
"description": "Your Apify API token for authentication",
55+
"sensitive": true,
56+
"required": true
57+
}
58+
},
59+
"compatibility": {
60+
"claude_desktop": ">=0.2.16",
61+
"platforms": [
62+
"darwin",
63+
"win32",
64+
"linux"
65+
],
66+
"runtimes": {
67+
"node": ">=20.0.0"
68+
}
69+
}
70+
}

0 commit comments

Comments
 (0)