Skip to content

Commit 5183fad

Browse files
authored
Merge pull request #5 from datalayer/fix/base-url
fix: base-url
2 parents 89b4d6b + 059e259 commit 5183fad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_mcp_tools/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async def get_tools(
123123
# We need to query through the WebSocket or add an HTTP endpoint
124124
# For now, we'll add an HTTP endpoint to the extension
125125

126-
url = urljoin(self.base_url, '/jupyter-mcp-tools/tools')
126+
url = urljoin(self.base_url + '/', 'jupyter-mcp-tools/tools')
127127
params = {
128128
'timeout': str(wait_timeout)
129129
}
@@ -195,7 +195,7 @@ async def execute_tool(
195195
if not self._session:
196196
await self.connect()
197197

198-
url = urljoin(self.base_url, '/jupyter-mcp-tools/execute')
198+
url = urljoin(self.base_url + '/', 'jupyter-mcp-tools/execute')
199199
payload = {
200200
'tool_id': tool_id,
201201
'parameters': parameters or {}

0 commit comments

Comments
 (0)