forked from kimhyungsik/ax_hub_mcp_tool
소스 수정
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"axhub-gateway": {
|
"axhub-gateway": {
|
||||||
"command": "java",
|
"command": "java",
|
||||||
"args": [
|
"args": [
|
||||||
"C:/Users/jade/.gemini/antigravity/scratch/axhub-backend-main/McpBridge.java"
|
"C:/eGovFrameDev-4.3.1-64bit/workspace-egov/axhub-backend-main/McpBridge.java"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class McpBridge {
|
|||||||
String id = extractId(line);
|
String id = extractId(line);
|
||||||
try {
|
try {
|
||||||
HttpRequest req = HttpRequest.newBuilder()
|
HttpRequest req = HttpRequest.newBuilder()
|
||||||
.uri(URI.create("http://localhost:8081/mcp/api/v1/tools/list"))
|
.uri(URI.create("http://localhost:8281/mcp/api/v1/tools/list"))
|
||||||
|
|
||||||
.GET()
|
.GET()
|
||||||
.build();
|
.build();
|
||||||
@@ -65,7 +65,7 @@ public class McpBridge {
|
|||||||
String id = extractId(line);
|
String id = extractId(line);
|
||||||
try {
|
try {
|
||||||
HttpRequest req = HttpRequest.newBuilder()
|
HttpRequest req = HttpRequest.newBuilder()
|
||||||
.uri(URI.create("http://localhost:8081/mcp/api/v1/tools/call"))
|
.uri(URI.create("http://localhost:8281/mcp/api/v1/tools/call"))
|
||||||
.header("Content-Type", "application/json")
|
.header("Content-Type", "application/json")
|
||||||
.header("X-Agent-Id", "Antigravity")
|
.header("X-Agent-Id", "Antigravity")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user