Skip to content
Merged
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
5 changes: 5 additions & 0 deletions src/uipath_mcp/_cli/_runtime/_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ async def _register(self) -> None:
}
client_info["tools"].append(tool_info)

logger.info(client_info)

# Register with UiPath MCP Server
await self._uipath.api_client.request_async(
"POST",
Expand All @@ -366,6 +368,9 @@ async def _register(self) -> None:
logger.info("Registered MCP Server type successfully")
except Exception as e:
logger.error(f"Error during registration: {e}")
if (e.status_code == 400):
logger.error(f"Error details: {e.response.text}")

raise UiPathMcpRuntimeError(
"REGISTRATION_ERROR",
"Failed to register MCP Server",
Expand Down