File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/uipath_mcp/_cli/_runtime Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-mcp"
3- version = " 0.0.98 "
3+ version = " 0.0.99 "
44description = " UiPath MCP SDK"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.11"
Original file line number Diff line number Diff line change @@ -176,8 +176,12 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
176176 root_span .set_attribute ("args" , json .dumps (self ._server .args ))
177177 root_span .set_attribute ("span_type" , "MCP Server" )
178178
179+ def token_factory () -> str :
180+ return os .environ .get ("UIPATH_ACCESS_TOKEN" , "" )
181+
179182 self ._signalr_client = SignalRClient (
180183 signalr_url ,
184+ access_token_factory = token_factory ,
181185 headers = {
182186 "X-UiPath-Internal-TenantId" : self .context .trace_context .tenant_id , # type: ignore
183187 "X-UiPath-Internal-AccountId" : self .context .trace_context .org_id , # type: ignore
You can’t perform that action at this time.
0 commit comments