Skip to content

Commit 25fa8a2

Browse files
jirispilkajancurn
andauthored
fix: Update MCPB build process and manifest configuration (#597)
* fix: Update MCPB build process and manifest configuration * fix: Update icon reference and improve manifest descriptions in MCPB configuration * chore: Remove temporary MCPB build workflow * docs: Better copy in manifest.json (#598) --------- Co-authored-by: Jan Curn <jan.curn@gmail.com>
1 parent 008951a commit 25fa8a2

3 files changed

Lines changed: 43 additions & 30 deletions

File tree

.github/workflows/manual_release_stable.yaml

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ jobs:
3939
release_type: ${{ inputs.release_type }}
4040
custom_version: ${{ inputs.custom_version }}
4141

42-
create_github_release:
43-
name: Create github release
42+
build_mcpb:
43+
name: Build MCPB package
4444
needs: [release_metadata]
4545
runs-on: ubuntu-latest
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4846
steps:
4947
- uses: actions/checkout@v6
5048
with:
@@ -64,30 +62,47 @@ jobs:
6462
npm run build
6563
- name: Build module
6664
run: npm run build
67-
- name: Prepare MCPB package
68-
run: |
65+
- name: Prepare MCPB package
66+
run: |
6967
mkdir mcpb
7068
cp -r node_modules mcpb/node_modules
7169
cp -r dist mcpb/dist
7270
cp -r docs mcpb/docs
7371
cp package.json mcpb/package.json
7472
cp manifest.json mcpb/manifest.json
75-
cp docs/apify-logo.png mcpb/icon.png
76-
- name: Create MCPB package
77-
# fix version of anthropic-ai/mcpb to 1.1.1 so that we have a reproducible build
78-
run: npx -y @anthropic-ai/mcpb@1.1.1 pack mcpb/ apify-mcp-server.mcpb
79-
- name: Copy MCPB package
80-
run: cp apify-mcp-server.mcpb actors-mcp-server.mcpb
81-
- name: Create release
82-
uses: softprops/action-gh-release@v2
83-
with:
84-
tag_name: ${{ needs.release_metadata.outputs.tag_name }}
85-
name: ${{ needs.release_metadata.outputs.version_number }}
86-
target_commitish: ${{ needs.release_metadata.outputs.changelog_commitish }}
87-
body: ${{ needs.release_metadata.outputs.release_notes }}
88-
files: |
89-
apify-mcp-server.mcpb
90-
actors-mcp-server.mcpb
73+
cp docs/apify-logo-claude-desktop.png mcpb/icon.png
74+
- name: Validate MCPB manifest
75+
run: npx -y @anthropic-ai/mcpb@2.1.2 validate mcpb/manifest.json
76+
- name: Create MCPB package
77+
# fix version of anthropic-ai/mcpb to 2.1.2 so that we have a reproducible build
78+
run: npx -y @anthropic-ai/mcpb@2.1.2 pack mcpb/ apify-mcp-server.mcpb
79+
- name: Clean MCPB package
80+
run: npx -y @anthropic-ai/mcpb@2.1.2 clean apify-mcp-server.mcpb
81+
- name: Upload MCPB artifacts
82+
uses: actions/upload-artifact@v4
83+
with:
84+
name: mcpb-packages
85+
path: apify-mcp-server.mcpb
86+
87+
create_github_release:
88+
name: Create github release
89+
needs: [release_metadata, build_mcpb]
90+
runs-on: ubuntu-latest
91+
env:
92+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
steps:
94+
- name: Download MCPB artifacts
95+
uses: actions/download-artifact@v4
96+
with:
97+
name: mcpb-packages
98+
- name: Create release
99+
uses: softprops/action-gh-release@v2
100+
with:
101+
tag_name: ${{ needs.release_metadata.outputs.tag_name }}
102+
name: ${{ needs.release_metadata.outputs.version_number }}
103+
target_commitish: ${{ needs.release_metadata.outputs.changelog_commitish }}
104+
body: ${{ needs.release_metadata.outputs.release_notes }}
105+
files: apify-mcp-server.mcpb
91106

92107
publish_to_npm:
93108
name: Publish to NPM

docs/apify-logo-claude-desktop.png

14.4 KB
Loading

manifest.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"display_name": "Apify",
55
"version": "0.9.13",
66
"description": "Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store.",
7-
"long_description": "Apify is the world's largest marketplace of tools for web scraping, data extraction, and web automation. You can extract structured data from social media, e-commerce, search engines, maps, travel sites, or any other website.",
7+
"long_description": "Apify is the world's largest marketplace of tools for web scraping, crawling, data extraction, and web automation. Get structured data from social media, e-commerce, search engines, maps, travel sites, or any other website.",
88
"keywords": [
99
"apify",
1010
"actors",
@@ -33,17 +33,15 @@
3333
},
3434
"license": "MIT",
3535
"privacy_policies": [
36-
"https://docs.apify.com/legal/privacy-policy",
37-
"https://docs.apify.com/legal/gdpr-information",
3836
"https://docs.apify.com/legal"
3937
],
4038
"repository": {
4139
"type": "git",
4240
"url": "https://github.com/apify/apify-mcp-server"
4341
},
44-
"homepage": "https://mcp.apify.com",
45-
"support": "https://github.com/apify/apify-mcp-server/issues",
46-
"icon": "https://github.com/__raw/apify/apify-mcp-server/refs/heads/master/docs/apify-logo.png",
42+
"homepage": "https://apify.com/",
43+
"support": "https://help.apify.com/",
44+
"icon": "icon.png",
4745
"screenshots": [
4846
"docs/actors-mcp-server.png"
4947
],
@@ -68,14 +66,14 @@
6866
"apify_token": {
6967
"type": "string",
7068
"title": "Apify API token",
71-
"description": "Get your API key by signing up for a free account at https://console.apify.com/sign-up",
69+
"description": "You can create a free account and get an API token at https://console.apify.com/settings/integrations",
7270
"sensitive": true,
7371
"required": true
7472
},
7573
"tools": {
7674
"type": "string",
7775
"title": "Enabled tools",
78-
"description": "Comma-separated list of tools to enable. Can be either a tool category, a specific tool, or an Apify Actor. For example: \"actors,docs,apify/rag-web-browser\". To configure your custom endpoint with select tools, go to https://mcp.apify.com",
76+
"description": "Comma-separated list of tool categories or Actors, e.g. \"actors,docs,apify/rag-web-browser\". For details, see https://mcp.apify.com",
7977
"required": false,
8078
"default": "actors,docs,apify/rag-web-browser"
8179
}

0 commit comments

Comments
 (0)