Skip to content

Commit ed05e1d

Browse files
committed
fix: extract fpsContext from runtime config
1 parent fcf21ad commit ed05e1d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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.99"
3+
version = "0.0.100"
44
description = "UiPath MCP SDK"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_mcp/_cli/_runtime/_context.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ def from_config(cls, config_path=None):
3232
with open(path, "r") as f:
3333
config = json.load(f)
3434

35-
if "fpsContext" in config:
36-
fps_context = config["fpsContext"]
35+
config_runtime = config.get("runtime", {})
36+
if "fpsContext" in config_runtime:
37+
fps_context = config_runtime["fpsContext"]
3738
mcp_instance.server_id = fps_context.get("Id")
3839
mcp_instance.server_slug = fps_context.get("Slug")
39-
4040
return mcp_instance
4141

4242

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)