Skip to content

Commit 8dc29c1

Browse files
authored
Merge branch 'main' into auto-update-docs-20251007T032448
2 parents 08bc16a + 2567778 commit 8dc29c1

File tree

55 files changed

+1255
-453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1255
-453
lines changed

.github/workflows/build-dxt.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/build-mcpb.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: Build MCP Bundle (MCPB)
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
22+
with:
23+
node-version: '22'
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Build project
29+
run: npm run build
30+
31+
- name: Install MCPB CLI
32+
run: npm install -g @anthropic-ai/[email protected]
33+
34+
- name: Create MCPB package
35+
run: |
36+
# Get version from manifest.json
37+
VERSION=$(node -p "require('./manifest.json').version")
38+
echo "Building MCPB for version: $VERSION"
39+
40+
# Create MCPB bundle using mcpb pack
41+
npx @anthropic-ai/[email protected] pack
42+
43+
# Rename to include version
44+
mv microcms-document-mcp-server.mcpb microcms-document-mcp-server-v${VERSION}.mcpb
45+
46+
# Also create a copy without version for consistency
47+
cp microcms-document-mcp-server-v${VERSION}.mcpb microcms-document-mcp-server.mcpb
48+
49+
- name: Verify MCPB creation
50+
run: |
51+
if [ ! -f microcms-document-mcp-server.mcpb ]; then
52+
echo "Error: MCPB file was failed to be created"
53+
exit 1
54+
fi
55+
ls -la *.mcpb
56+
57+
- name: Upload MCPB as artifact
58+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
59+
with:
60+
name: microcms-document-mcpb
61+
path: |
62+
microcms-document-mcp-server.mcpb
63+
microcms-document-mcp-server-v*.mcpb
64+
65+
release:
66+
needs: build
67+
runs-on: ubuntu-latest
68+
if: startsWith(github.ref, 'refs/tags/')
69+
70+
steps:
71+
- name: Download MCPB artifact
72+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
73+
with:
74+
name: microcms-document-mcpb
75+
76+
- name: List downloaded files
77+
run: ls -la
78+
79+
- name: Create Release
80+
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
81+
with:
82+
files: |
83+
microcms-document-mcp-server.mcpb
84+
microcms-document-mcp-server-v*.mcpb
85+
generate_release_notes: true
86+
fail_on_unmatched_files: true

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,8 @@ temp/
113113
# pnpm-lock.yaml
114114

115115
downloads/
116-
download.js
116+
download.js
117+
get_content_by_id.js
118+
119+
dist/
120+
microcms-document-mcp-server.mcpb

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,22 @@ Cursorに導入する場合、以下のリンクをブラウザに貼り付け
1818
cursor://anysphere.cursor-deeplink/mcp/install?name=microcms-document&config=eyJjb21tYW5kIjoibnB4IC15IG1pY3JvY21zLWRvY3VtZW50LW1jcC1zZXJ2ZXIifQ%3D%3D
1919
```
2020

21-
### 方法2. Claude Desktopに設定する(DXT)
21+
### 方法2. Claude Codeに設定する
2222

23-
Claude Desktopに導入する場合、dxtファイルを使って簡単にインストールできます
23+
Claude Codeに導入する場合、以下のコマンドを実行で設定を追加できます
2424

25-
1. リリースページ から最新の microcms-document-mcp-server.dxt をダウンロード
26-
2. Claude Desktopを起動し、設定 > エクステンション を開く
27-
3. ダウンロードしたdxtファイルをClaude Desktopにドラッグ&ドロップ
25+
```
26+
claude mcp add microcms-document -- npx -y microcms-document-mcp-server
27+
```
28+
29+
### 方法3. MCP Bundle (MCPB) を使う
30+
31+
Claude Desktopに導入する場合、MCPBファイルを使って簡単にインストールできます。
32+
33+
1. [リリースページ](https://github.com/microcmsio/microcms-document-mcp-server/releases) から最新の `microcms-document-mcp-server.mcpb` をダウンロード
34+
2. ダウンロードしたmcpbファイルをダブルクリックで開く
2835

29-
### 方法3. その他のMCPクライアントに設定する
36+
### 方法4. その他のMCPクライアントに設定する
3037

3138
その他のMCPクライアントに導入する場合、設定ファイルに以下を追加してください。
3239

dist/index.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/index.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)