Skip to content

Commit 9d54c8b

Browse files
committed
fix: add single entrypoint verification
1 parent 775726b commit 9d54c8b

File tree

4 files changed

+39
-24
lines changed

4 files changed

+39
-24
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ cython_debug/
182182

183183
**/samples/**/.agent/
184184
**/samples/**/.claude/
185+
.claude/
185186
**/samples/**/AGENTS.md
186187
**/samples/**/CLAUDE.md
187188
**/samples/**/entry-points.json

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ requires-python = ">=3.11"
77
dependencies = [
88
"mcp==1.26.0",
99
"pysignalr==1.3.0",
10-
"uipath>=2.8.23, <2.9.0",
11-
"uipath-runtime>=0.8.0, <0.9.0",
10+
# "uipath>=2.8.23, <2.9.0",
11+
"uipath==2.10.12.dev1014315279",
12+
"uipath-runtime>=0.9.1, <0.10.0",
1213
]
1314
classifiers = [
1415
"Development Status :: 3 - Alpha",
@@ -93,3 +94,6 @@ name = "testpypi"
9394
url = "https://test.pypi.org/simple/"
9495
publish-url = "https://test.pypi.org/legacy/"
9596
explicit = true
97+
98+
[tool.uv.sources]
99+
uipath = { index = "testpypi" }

src/uipath_mcp/_cli/_utils/_config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,7 @@ def get_servers(self) -> list[McpServer]:
106106
def get_server(self, name: str) -> McpServer | None:
107107
"""
108108
Get a server model by name.
109-
If there's only one server available, return that one regardless of name.
110-
Otherwise, look up the server by the provided name.
111109
"""
112-
# If there's only one server, return it
113-
if len(self._servers) == 1:
114-
return next(iter(self._servers.values()))
115-
116-
# Otherwise, fall back to looking up by name
117110
return self._servers.get(name)
118111

119112
def get_server_names(self) -> list[str]:

uv.lock

Lines changed: 32 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)