Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = "uipath-mcp"
version = "0.0.102"
version = "0.0.103"
description = "UiPath MCP SDK"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"mcp==1.11.0",
"pysignalr==1.3.0",
"uipath>=2.1.0, <2.2.0",
"uipath>=2.1.54, <2.2.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
Expand Down
6 changes: 4 additions & 2 deletions src/uipath_mcp/_cli/_runtime/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ class UiPathMcpRuntimeContext(UiPathRuntimeContext):
server_slug: Optional[str] = None

@classmethod
def from_config(cls, config_path=None):
def from_config(
cls, config_path: str | None = None, **kwargs: object
) -> "UiPathMcpRuntimeContext":
"""Load configuration from uipath.json file with MCP-specific handling."""
# Use the parent's implementation
instance = super().from_config(config_path)
instance = super().from_config(config_path, **kwargs)

# Convert to our type (since parent returns UiPathRuntimeContext)
mcp_instance = cls(**instance.model_dump())
Expand Down
2 changes: 0 additions & 2 deletions src/uipath_mcp/_cli/cli_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from os import environ as env
from typing import Optional

from dotenv import load_dotenv
from uipath._cli._runtime._contracts import UiPathTraceContext
from uipath._cli.middlewares import MiddlewareResult

Expand All @@ -13,7 +12,6 @@
from ._utils._config import McpConfig

logger = logging.getLogger(__name__)
load_dotenv()


def mcp_run_middleware(
Expand Down