Skip to content

Commit ac17327

Browse files
committed
Replace mcp_ with agenthub_
1 parent f2f27bb commit ac17327

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

samples/github-helper-agent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ uv sync
8080
Set your MCP Remote Server URL as environment variables in `.env`:
8181

8282
```bash
83-
UIPATH_MCP_SERVER_URL=https://cloud.uipath.com/account/tenant/mcp_/mcp/folder-key/github-mcp/sse
83+
UIPATH_MCP_SERVER_URL=https://cloud.uipath.com/account/tenant/agenthub_/mcp/folder-key/github-mcp/sse
8484
```
8585

8686
## Debugging

src/uipath_mcp/_cli/_runtime/_runtime.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
7272
) # type: ignore
7373

7474
# Set up SignalR client
75-
signalr_url = f"{os.environ.get('UIPATH_URL')}/mcp_/wsstunnel?slug={self._server.name}&runtimeId={self._runtime_id}"
75+
signalr_url = f"{os.environ.get('UIPATH_URL')}/agenthub_/wsstunnel?slug={self._server.name}&runtimeId={self._runtime_id}"
7676

7777
with tracer.start_as_current_span(self._server.name) as root_span:
7878
root_span.set_attribute("runtime_id", self._runtime_id)
@@ -389,7 +389,7 @@ async def _register(self) -> None:
389389
# Register with UiPath MCP Server
390390
await self._uipath.api_client.request_async(
391391
"POST",
392-
f"mcp_/mcp/{self._server.name}/runtime/start?runtimeId={self._runtime_id}",
392+
f"agenthub_/mcp/{self._server.name}/runtime/start?runtimeId={self._runtime_id}",
393393
json=client_info,
394394
headers={"X-UIPATH-FolderKey": folder_key},
395395
)
@@ -414,7 +414,7 @@ async def _on_session_start_error(self, session_id: str) -> None:
414414
try:
415415
response = await self._uipath.api_client.request_async(
416416
"POST",
417-
f"mcp_/mcp/{self._server.name}/out/message?sessionId={session_id}",
417+
f"agenthub_/mcp/{self._server.name}/out/message?sessionId={session_id}",
418418
json=JSONRPCResponse(
419419
jsonrpc="2.0",
420420
id=0,
@@ -480,7 +480,7 @@ async def _on_runtime_abort(self) -> None:
480480
try:
481481
response = await self._uipath.api_client.request_async(
482482
"POST",
483-
f"mcp_/mcp/{self._server.name}/runtime/abort?runtimeId={self._runtime_id}",
483+
f"agenthub_/mcp/{self._server.name}/runtime/abort?runtimeId={self._runtime_id}",
484484
)
485485
if response.status_code == 202:
486486
logger.info(

src/uipath_mcp/_cli/_runtime/_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def _send_message_internal(
227227
) -> None:
228228
response = await self._uipath.api_client.request_async(
229229
"POST",
230-
f"mcp_/mcp/{self._server_config.name}/out/message?sessionId={self._session_id}&requestId={request_id}",
230+
f"agenthub_/mcp/{self._server_config.name}/out/message?sessionId={self._session_id}&requestId={request_id}",
231231
json=message.model_dump(),
232232
)
233233
if response.status_code == 202:
@@ -238,7 +238,7 @@ async def _send_message_internal(
238238
async def _get_messages_internal(self, request_id: str) -> None:
239239
response = await self._uipath.api_client.request_async(
240240
"GET",
241-
f"mcp_/mcp/{self._server_config.name}/in/messages?sessionId={self._session_id}&requestId={request_id}",
241+
f"agenthub_/mcp/{self._server_config.name}/in/messages?sessionId={self._session_id}&requestId={request_id}",
242242
)
243243
if response.status_code == 200:
244244
self._last_request_id = request_id

0 commit comments

Comments
 (0)