Skip to content

Commit b850157

Browse files
committed
fix: update cmcp command syntax for MCP server compile methods
1 parent 6e3c80a commit b850157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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 http://localhost:3000 tools/call rust-compiler compile || {
120120
echo "CMCP call failed. Debug information:";
121121
docker ps;
122122
exit 1;
@@ -127,7 +127,7 @@ jobs:
127127
"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!\" // Missing closing parenthesis\n}",
128128
"description": "A simple hello world program",
129129
"max_attempts": 3
130-
}' | cmcp call http://localhost:3000 rust-compiler compileAndFix || {
130+
}' | cmcp http://localhost:3000 tools/call rust-compiler compileAndFix || {
131131
echo "CMCP call failed. Debug information:";
132132
docker ps;
133133
exit 1;

0 commit comments

Comments
 (0)