Skip to content

Commit 81a1770

Browse files
authored
docs: add local development with Inspector guide to README (#215)
1 parent 50d6b77 commit 81a1770

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

README.ja.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,36 @@ Claude DesktopやClaudeなどのAI Agentに次の設定を追加してくださ
148148
}
149149
}
150150
}
151-
```
151+
```
152+
153+
## Inspector を使用したローカル開発
154+
155+
MCP Inspector を使用して、サーバーをローカルでテストおよびデバッグできます。
156+
157+
### 前提条件
158+
159+
1. リポジトリをクローンする:
160+
```bash
161+
git clone [email protected]:line/line-bot-mcp-server.git
162+
cd line-bot-mcp-server
163+
```
164+
165+
2. 依存関係をインストールする:
166+
```bash
167+
npm install
168+
```
169+
170+
3. プロジェクトをビルドする:
171+
```bash
172+
npm run build
173+
```
174+
175+
### Inspector の実行
176+
177+
プロジェクトをビルドした後、MCP Inspector を起動できます:
178+
179+
```bash
180+
npx @modelcontextprotocol/inspector node dist/index.js
181+
```
182+
183+
これにより、MCP Inspector インターフェースが起動し、LINE Bot MCP Server のツールを操作して機能をテストできます。

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,38 @@ You can confirm this by following [this instructions](https://developers.line.bi
156156
}
157157
```
158158

159+
## Local Development with Inspector
160+
161+
You can use the MCP Inspector to test and debug the server locally.
162+
163+
### Prerequisites
164+
165+
1. Clone the repository:
166+
```bash
167+
git clone [email protected]:line/line-bot-mcp-server.git
168+
cd line-bot-mcp-server
169+
```
170+
171+
2. Install dependencies:
172+
```bash
173+
npm install
174+
```
175+
176+
3. Build the project:
177+
```bash
178+
npm run build
179+
```
180+
181+
### Run the Inspector
182+
183+
After building the project, you can start the MCP Inspector:
184+
185+
```bash
186+
npx @modelcontextprotocol/inspector node dist/index.js
187+
```
188+
189+
This will start the MCP Inspector interface where you can interact with the LINE Bot MCP Server tools and test their functionality.
190+
159191
## Versioning
160192

161193
This project respects semantic versioning

0 commit comments

Comments
 (0)