Skip to content

Commit 08541ae

Browse files
authored
fix: migrate DXT to MCPB (#168)
1 parent 07964aa commit 08541ae

File tree

10 files changed

+38
-39
lines changed

10 files changed

+38
-39
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
jobs:
10-
build-dxt:
10+
build-mcpb:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v5
@@ -17,11 +17,11 @@ jobs:
1717
node-version-file: .node-version
1818
cache: "pnpm"
1919
- run: pnpm install --frozen-lockfile
20-
- run: pnpm build:dxt
20+
- run: pnpm build:mcpb
2121
- uses: actions/upload-artifact@v4
2222
with:
23-
path: build/kintone-mcp-server.dxt
24-
name: kintone-mcp-server.dxt
23+
path: build/kintone-mcp-server.mcpb
24+
name: kintone-mcp-server.mcpb
2525
retention-days: 3
2626

2727
build-npm:

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- run: pnpm install --frozen-lockfile
4444
- run: pnpm typecheck
4545

46-
check-dxt:
46+
check-mcpb:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/checkout@v5
@@ -53,7 +53,7 @@ jobs:
5353
node-version-file: .node-version
5454
cache: "pnpm"
5555
- run: pnpm install --frozen-lockfile
56-
- run: pnpm check:dxt
56+
- run: pnpm check:mcpb
5757

5858
license-check:
5959
runs-on: ubuntu-latest

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
tags: "${{ needs.release-please.outputs.tag_name }},latest"
3939
push: true
4040

41-
build-and-upload-dxt-to-release:
41+
build-and-upload-mcpb-to-release:
4242
needs: release-please
4343
if: needs.release-please.outputs.release_created
4444
runs-on: ubuntu-latest
@@ -52,12 +52,12 @@ jobs:
5252
node-version-file: .node-version
5353
cache: "pnpm"
5454
- run: pnpm install --frozen-lockfile
55-
- run: pnpm build:dxt
55+
- run: pnpm build:mcpb
5656
- env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
run: |
5959
gh release upload ${{ needs.release-please.outputs.tag_name }} \
60-
build/kintone-mcp-server.dxt \
60+
build/kintone-mcp-server.mcpb \
6161
--clobber
6262
6363
publish-npm-package:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ Dockerコンテナイメージ
6161
docker build -f ./docker/Dockerfile .
6262
```
6363

64-
DXTファイル
64+
MCPBファイル
6565

6666
```shell
67-
pnpm build:dxt
67+
pnpm build:mcpb
6868
```
6969

7070
## テスト

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ kintoneの公式ローカルMCPサーバーです。
2727
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
2828

2929
- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
30-
- [DXT (Claude Desktop用パッケージ)](#dxt-claude-desktop%E7%94%A8%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8)
30+
- [MCPB (Claude Desktop用パッケージ)](#mcpb-claude-desktop%E7%94%A8%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8)
3131
- [Dockerコンテナイメージ](#docker%E3%82%B3%E3%83%B3%E3%83%86%E3%83%8A%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8)
3232
- [npmパッケージ](#npm%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8)
3333
- [利用方法](#%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)
@@ -51,17 +51,17 @@ kintoneの公式ローカルMCPサーバーです。
5151

5252
## インストール
5353

54-
### DXT (Claude Desktop用パッケージ)
54+
### MCPB (Claude Desktop用パッケージ)
5555

56-
DXTファイルは、Claude Desktopの拡張機能としてインストールできます。
56+
MCPBファイルは、Claude Desktopの拡張機能としてインストールできます。
5757

5858
以下の手順でインストールしてください。
5959

6060
1. [リリース一覧](https://github.com/kintone/mcp-server/releases) にアクセス
61-
2. 最新のリリースから `kintone-mcp-server.dxt` をダウンロード
61+
2. 最新のリリースから `kintone-mcp-server.mcpb` をダウンロード
6262
3. Claude Desktopを開く
6363
4. 設定から「デスクトップアプリ」→「拡張機能」のページを開く
64-
5. ダウンロードした `kintone-mcp-server.dxt` をClaude Desktopの画面にドラッグ&ドロップ
64+
5. ダウンロードした `kintone-mcp-server.mcpb` をClaude Desktopの画面にドラッグ&ドロップ
6565
6. インストール確認ダイアログが表示されるので「インストール」を選択
6666
7. 設定ダイアログが表示されるので、必要な情報を入力する
6767
- `Kintone Base URL`: kintoneのベースURL (例: `https://example.cybozu.com`)
@@ -106,7 +106,7 @@ kintone-mcp-server \
106106

107107
## 利用方法
108108

109-
DXTファイルをインストールした場合、追加の手順は必要ありません。
109+
MCPBファイルをインストールした場合、追加の手順は必要ありません。
110110

111111
その他の利用方法では、設定ファイルを作成する必要があります。
112112
設定ファイルの作成方法の詳細は、利用するAIツールのドキュメントを参照してください。

README_en.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The official local MCP server for Kintone.
2222
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
2323

2424
- [Installation](#installation)
25-
- [DXT (Claude Desktop Package)](#dxt-claude-desktop-package)
25+
- [MCPB (Claude Desktop Package)](#mcpb-claude-desktop-package)
2626
- [Docker Container Image](#docker-container-image)
2727
- [npm Package](#npm-package)
2828
- [Usage](#usage)
@@ -46,16 +46,16 @@ The official local MCP server for Kintone.
4646

4747
## Installation
4848

49-
### DXT (Claude Desktop Package)
49+
### MCPB (Claude Desktop Package)
5050

51-
DXT files can be installed as an extension for Claude Desktop.
51+
MCPB files can be installed as an extension for Claude Desktop.
5252
Follow these steps to install:
5353

5454
1. Go to the [Releases page](https://github.com/kintone/mcp-server/releases)
55-
2. Download `kintone-mcp-server.dxt` from the latest release
55+
2. Download `kintone-mcp-server.mcpb` from the latest release
5656
3. Open Claude Desktop
5757
4. Go to Settings → Desktop Apps → Extensions
58-
5. Drag and drop the downloaded `kintone-mcp-server.dxt` file onto the Claude Desktop screen
58+
5. Drag and drop the downloaded `kintone-mcp-server.mcpb` file onto the Claude Desktop screen
5959
6. A confirmation dialog will appear, select "Install"
6060
7. A settings dialog will appear, enter the required information:
6161
- `Kintone Base URL`: The base URL of your Kintone (e.g., `https://example.cybozu.com`)
@@ -115,7 +115,7 @@ kintone-mcp-server \
115115

116116
## Usage
117117

118-
If you installed the DXT file, no additional steps are required to use it.
118+
If you installed the MCPB file, no additional steps are required to use it.
119119
For other installation methods, you need to create a configuration file.
120120

121121
Please refer to the documentation of the AI tool you are using for details on how to create the configuration file.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"dxt_version": "0.1",
2+
"manifest_version": "0.2",
33
"name": "@kintone/mcp-server",
44
"display_name": "Kintone MCP Server",
55
"version": "1.2.1",

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@
3232
"scripts": {
3333
"prebuild": "pnpm clean:dist",
3434
"build": "tsc",
35-
"build:dxt": "./scripts/build-dxt.sh",
36-
"check:dxt": "dxt validate .",
35+
"build:mcpb": "./scripts/build-mcpb.sh",
36+
"check:mcpb": "mcpb validate .",
3737
"clean": "pnpm \"/^clean:.*/\"",
3838
"clean:dist": "rm -rf dist",
39-
"clean:dxt": "rm -rf build",
39+
"clean:mcpb": "rm -rf build",
4040
"commitlint": "commitlint",
4141
"dev": "tsx --watch src/index.ts",
4242
"doc:update-toc": "doctoc README.md README_en.md --github --maxlevel 3 --notitle",
43-
"dxt": "dxt",
4443
"fix": "pnpm run \"/^fix:.*/\"",
4544
"fix:eslint": "pnpm lint:eslint --fix",
4645
"fix:prettier": "pnpm lint:prettier --write",
@@ -51,6 +50,7 @@
5150
"lint": "pnpm run \"/^lint:.*/\"",
5251
"lint:eslint": "eslint . --max-warnings 0",
5352
"lint:prettier": "prettier --check '**/*.{json,json5,md,yml,yaml}' --cache",
53+
"mcpb": "mcpb",
5454
"start": "node dist/index.js",
5555
"test": "vitest",
5656
"test:coverage": "vitest --coverage",
@@ -65,7 +65,7 @@
6565
"zod": "^3.25.76"
6666
},
6767
"devDependencies": {
68-
"@anthropic-ai/dxt": "^0.2.6",
68+
"@anthropic-ai/mcpb": "^1.1.1",
6969
"@commitlint/cli": "^19.8.1",
7070
"@commitlint/config-conventional": "^19.8.1",
7171
"@cybozu/eslint-config": "^24.2.0",

pnpm-lock.yaml

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build-dxt.sh renamed to scripts/build-mcpb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pnpm license:extract
99

1010
mkdir -p build/tmp
1111

12-
# buildに必要なものとdxtにパッケージングするものを列挙する
12+
# buildに必要なものとmcpbにパッケージングするものを列挙する
1313
cp package.json \
1414
pnpm-lock.yaml \
1515
manifest.json \
@@ -22,6 +22,6 @@ cp -r dist build/tmp/
2222

2323
pnpm --prefix build/tmp install --prod --frozen-lockfile --shamefully-hoist
2424

25-
pnpm dxt pack build/tmp build/kintone-mcp-server.dxt
25+
pnpm mcpb pack build/tmp build/kintone-mcp-server.mcpb
2626

27-
echo "DXT package created successfully at build/kintone-mcp-server.dxt"
27+
echo "MCPB package created successfully at build/kintone-mcp-server.mcpb"

0 commit comments

Comments
 (0)