Skip to content

Commit c3fd020

Browse files
committed
chore: read fps context
1 parent b02fbea commit c3fd020

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-mcp"
3-
version = "0.0.96"
3+
version = "0.0.97"
44
description = "UiPath MCP SDK"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_mcp/_cli/cli_run.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@ async def execute():
3333
context = UiPathMcpRuntimeContext.from_config(
3434
env.get("UIPATH_CONFIG_PATH", "uipath.json")
3535
)
36+
37+
import json
38+
import os
39+
40+
config_path = env.get("UIPATH_CONFIG_PATH")
41+
path = config_path or "uipath.json"
42+
43+
config2 = {}
44+
45+
if os.path.exists(path):
46+
with open(path, "r") as f:
47+
config2 = json.load(f)
48+
49+
print("-" * 40)
50+
print(config2)
51+
print("-" * 40)
52+
3653
context.config = config
3754
context.entrypoint = entrypoint
3855
context.input = input

0 commit comments

Comments
 (0)