Skip to content

Commit 1a5f8d6

Browse files
authored
update readme for pnpm run inspect:dev (#19)
1 parent aec6bc3 commit 1a5f8d6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/b2c-dx-mcp/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,18 @@ pnpm install
136136
# Navigate to the package directory
137137
cd packages/b2c-dx-mcp
138138

139+
# Launch MCP Inspector for development (no build needed, uses TypeScript directly)
140+
pnpm run inspect:dev
141+
142+
# Launch MCP Inspector with production build (runs build first)
143+
pnpm run inspect
144+
139145
# Build the package
140146
pnpm run build
141147

142148
# Run tests (includes linting)
143149
pnpm run test
144150

145-
# Launch MCP Inspector (builds first, then opens web UI)
146-
pnpm run inspect
147-
148151
# Format code
149152
pnpm run format
150153

@@ -176,7 +179,7 @@ pnpm --filter @salesforce/b2c-dx-mcp run <script>
176179
Use MCP Inspector to browse tools and test them in a web UI:
177180

178181
```bash
179-
pnpm run inspect
182+
pnpm run inspect:dev
180183
```
181184

182185
This automatically builds before starting the inspector. Open the localhost URL shown in the terminal, click **Connect**, then **List Tools** to see available tools.

0 commit comments

Comments
 (0)