Skip to content

Commit b96cb96

Browse files
committed
Update README.md to reflect changes in server startup command
1 parent ed13c1f commit b96cb96

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,18 @@ After updating the configuration file, launch Claude Desktop and try the followi
158158
Start the server:
159159

160160
```sh
161-
node build/server-remote.js
161+
node ./build/server-remote.js ./config ./build/tools
162162
```
163163

164-
You can test the local MCP server with the free version of **Claude Desktop**.
164+
You can test the MCP server with the free version of **Claude Desktop**.
165165

166166
Edit or create the Claude Desktop configuration file:
167167

168168
```sh
169169
~/Library/Application\ Support/Claude/claude_desktop_config.json
170170
```
171171

172-
Add your local MCP server configuration:
172+
Add your MCP server configuration:
173173

174174
```json
175175
{
@@ -200,26 +200,32 @@ The following instructions describe how to containerize the application using Do
200200

201201
First, build a Docker image:
202202

203-
`docker build -t mcp-server-for-apache-ofbiz .`.
203+
```sh
204+
docker build -t mcp-server-for-apache-ofbiz .
205+
```
204206

205207
If your target environment uses a different CPU architecture than your development machine (for example, if you're working on an Apple M1 but deploying to an amd64 platform), make sure to build the image for the correct target architecture:
206208

207-
`docker build --platform=linux/amd64 -t mcp-server-for-apache-ofbiz .`.
209+
```sh
210+
docker build --platform=linux/amd64 -t mcp-server-for-apache-ofbiz .
211+
```
208212

209213
After building the image, create a container
210214

211-
`docker create --name my-mcp-server-for-apache-ofbiz -p 3000:3000 mcp-server-for-apache-ofbiz`
215+
```sh
216+
docker create --name my-mcp-server-for-apache-ofbiz -p 3000:3000 -v ${PWD}/config:/usr/src/app/config -v ${PWD}/build/tools:/usr/src/app/build/tools test1 ./config ./build/tools
217+
```
212218

213219
and run it
214220

215-
`docker start my-mcp-server-for-apache-ofbiz`.
221+
```sh
222+
docker start my-mcp-server-for-apache-ofbiz
223+
```
216224

217225
The MCP server will be available at http://localhost:3000/mcp.
218226

219227
If you wish, you can push the image to your registry by running
220228

221-
`docker push myregistry.com/apache-ofbiz-mcp-server`.
222-
223-
Alternatively, you can start the application with a single command by running:
224-
225-
`docker compose -p mcp-server-for-apache-ofbiz up --build`.
229+
```sh
230+
docker push myregistry.com/apache-ofbiz-mcp-server
231+
```

0 commit comments

Comments
 (0)