Skip to content

Commit f6ccb6e

Browse files
committed
Fix subprocess path to run server command from root
1 parent 0c016c1 commit f6ccb6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/snippets/clients/client_with_authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async def authorized_call_tool(
114114
# We use mcpserver_quickstart to have a reliable server to connect to
115115
server_params = StdioServerParameters(
116116
command="uv",
117-
args=["run", "server", "mcpserver_quickstart", "stdio"],
117+
args=["--directory", "examples/snippets", "run", "server", "mcpserver_quickstart", "stdio"],
118118
env={"UV_INDEX": os.environ.get("UV_INDEX", "")},
119119
)
120120

0 commit comments

Comments
 (0)