Skip to content

Commit 5123927

Browse files
committed
fix: update mcp-proxy service to use official image and correct command syntax
1 parent 13d0296 commit 5123927

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test-mcp-server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
echo "Testing MCP server compile method..."
117117
echo '{
118118
"code": "[filename: Cargo.toml]\n[package]\nname = \"hello_world\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\n\n[filename: src/main.rs]\nfn main() {\n println!(\"Hello, World!\");\n}"
119-
}' | cmcp call http://localhost:3000 rust-compiler compile || {
119+
}' | cmcp tools/call http://localhost:3000 rust-compiler compile || {
120120
echo "CMCP call failed. Debug information:";
121121
docker ps;
122122
exit 1;

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ services:
3636
- qdrant
3737

3838
mcp-proxy:
39-
build:
40-
context: .
41-
dockerfile: Dockerfile
39+
image: ghcr.io/microsoft/mcp-proxy:latest # Use the official image
4240
ports:
4341
- "3000:3000"
44-
command: mcp-proxy http://mcp-server:3001/sse --port 3000 --host 0.0.0.0 --allow-origin="*"
42+
command: http://mcp-server:3001/sse --port 3000 --host 0.0.0.0 --allow-origin="*"
43+
volumes:
44+
- ./mcp-proxy-config.json:/app/mcp-proxy-config.json
4545
depends_on:
4646
- mcp-server
47-
restart: on-failure # Add restart policy to retry connection
47+
restart: on-failure
4848

4949
qdrant:
5050
image: qdrant/qdrant

0 commit comments

Comments
 (0)