diff --git a/pyproject.toml b/pyproject.toml index 345d1e2..3f0f70a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath-mcp" -version = "0.0.99" +version = "0.0.100" description = "UiPath MCP SDK" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/src/uipath_mcp/_cli/_runtime/_context.py b/src/uipath_mcp/_cli/_runtime/_context.py index 94a1fbc..0b4d615 100644 --- a/src/uipath_mcp/_cli/_runtime/_context.py +++ b/src/uipath_mcp/_cli/_runtime/_context.py @@ -32,11 +32,11 @@ def from_config(cls, config_path=None): with open(path, "r") as f: config = json.load(f) - if "fpsContext" in config: - fps_context = config["fpsContext"] + config_runtime = config.get("runtime", {}) + if "fpsContext" in config_runtime: + fps_context = config_runtime["fpsContext"] mcp_instance.server_id = fps_context.get("Id") mcp_instance.server_slug = fps_context.get("Slug") - return mcp_instance diff --git a/uv.lock b/uv.lock index 8fe3826..a34ba92 100644 --- a/uv.lock +++ b/uv.lock @@ -2018,7 +2018,7 @@ wheels = [ [[package]] name = "uipath-mcp" -version = "0.0.98" +version = "0.0.100" source = { editable = "." } dependencies = [ { name = "mcp" },