File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
src/uipath_mcp/_cli/_runtime Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-mcp"
3- version = " 0.0.100 "
3+ version = " 0.0.101 "
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 @@ -175,17 +175,14 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
175175 root_span .set_attribute ("command" , str (self ._server .command ))
176176 root_span .set_attribute ("args" , json .dumps (self ._server .args ))
177177 root_span .set_attribute ("span_type" , "MCP Server" )
178-
179- def token_factory () -> str :
180- return os .environ .get ("UIPATH_ACCESS_TOKEN" , "" )
181-
178+
182179 self ._signalr_client = SignalRClient (
183180 signalr_url ,
184- access_token_factory = token_factory ,
185181 headers = {
186182 "X-UiPath-Internal-TenantId" : self .context .trace_context .tenant_id , # type: ignore
187183 "X-UiPath-Internal-AccountId" : self .context .trace_context .org_id , # type: ignore
188184 "X-UIPATH-FolderKey" : self .context .folder_key ,
185+ "Authorization" : f"Bearer { self ._uipath ._config .secret } " ,
189186 },
190187 )
191188 self ._signalr_client .on ("MessageReceived" , self ._handle_signalr_message )
You can’t perform that action at this time.
0 commit comments