Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/github-helper-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ uv sync
Set your MCP Remote Server URL as environment variables in `.env`:

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

## Debugging
Expand Down
8 changes: 4 additions & 4 deletions src/uipath_mcp/_cli/_runtime/_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
) # type: ignore

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

with tracer.start_as_current_span(self._server.name) as root_span:
root_span.set_attribute("runtime_id", self._runtime_id)
Expand Down Expand Up @@ -389,7 +389,7 @@ async def _register(self) -> None:
# Register with UiPath MCP Server
await self._uipath.api_client.request_async(
"POST",
f"mcp_/mcp/{self._server.name}/runtime/start?runtimeId={self._runtime_id}",
f"agenthub_/mcp/{self._server.name}/runtime/start?runtimeId={self._runtime_id}",
json=client_info,
headers={"X-UIPATH-FolderKey": folder_key},
)
Expand All @@ -414,7 +414,7 @@ async def _on_session_start_error(self, session_id: str) -> None:
try:
response = await self._uipath.api_client.request_async(
"POST",
f"mcp_/mcp/{self._server.name}/out/message?sessionId={session_id}",
f"agenthub_/mcp/{self._server.name}/out/message?sessionId={session_id}",
json=JSONRPCResponse(
jsonrpc="2.0",
id=0,
Expand Down Expand Up @@ -480,7 +480,7 @@ async def _on_runtime_abort(self) -> None:
try:
response = await self._uipath.api_client.request_async(
"POST",
f"mcp_/mcp/{self._server.name}/runtime/abort?runtimeId={self._runtime_id}",
f"agenthub_/mcp/{self._server.name}/runtime/abort?runtimeId={self._runtime_id}",
)
if response.status_code == 202:
logger.info(
Expand Down
4 changes: 2 additions & 2 deletions src/uipath_mcp/_cli/_runtime/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async def _send_message_internal(
) -> None:
response = await self._uipath.api_client.request_async(
"POST",
f"mcp_/mcp/{self._server_config.name}/out/message?sessionId={self._session_id}&requestId={request_id}",
f"agenthub_/mcp/{self._server_config.name}/out/message?sessionId={self._session_id}&requestId={request_id}",
json=message.model_dump(),
)
if response.status_code == 202:
Expand All @@ -238,7 +238,7 @@ async def _send_message_internal(
async def _get_messages_internal(self, request_id: str) -> None:
response = await self._uipath.api_client.request_async(
"GET",
f"mcp_/mcp/{self._server_config.name}/in/messages?sessionId={self._session_id}&requestId={request_id}",
f"agenthub_/mcp/{self._server_config.name}/in/messages?sessionId={self._session_id}&requestId={request_id}",
)
if response.status_code == 200:
self._last_request_id = request_id
Expand Down