Skip to content

Commit 7868a2a

Browse files
committed
chore: trigger CI
1 parent b0a3a48 commit 7868a2a

File tree

4 files changed

+628
-7
lines changed

4 files changed

+628
-7
lines changed

examples/clients/simple-private-gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ mcp> quit
291291

292292
The client uses interactive prompts for configuration. You'll be asked to provide:
293293

294-
- **Server URL**: The full URL of your MCP server (default: https://localhost:8081)
294+
- **Server URL**: The full URL of your MCP server (default: <https://localhost:8081>1>)
295295
- If you provide a URL, it will be used directly
296296
- If you press Enter (empty), you'll be prompted for individual components:
297297
- **Server port**: The port where your MCP server is running (default: 8081)

examples/clients/simple-private-gateway/mcp_simple_private_gateway/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ async def connect(self):
105105
timeout=60,
106106
) as (read_stream, write_stream):
107107
await self._run_session(read_stream, write_stream, None)
108-
108+
109109
else:
110110
if auth:
111111
print("📡 Opening StreamableHTTP transport connection with extensions and API key auth...")
112112
else:
113113
print("📡 Opening StreamableHTTP transport connection with extensions...")
114114
# Note: terminate_on_close=False prevents SSL handshake failures during exit
115115
# Some servers may not handle session termination gracefully over SSL
116-
116+
117117
async with streamablehttp_client(
118118
url=self.server_url,
119119
headers=headers,
@@ -260,7 +260,7 @@ def get_user_input():
260260
# Get server url
261261
server_url = input("Server URL [https://localhost:8081]: ").strip() or None
262262
server_port = None
263-
server_hostname = None
263+
server_hostname = None
264264

265265
# Get transport type
266266
print("\nTransport type:")
@@ -339,8 +339,8 @@ async def main():
339339
use_bearer,
340340
server_url,
341341
) = get_user_input()
342-
343-
print(f"\n🔗 Connecting to: {server_url}")
342+
343+
print(f"\n🔗 Connecting to: {server_url}")
344344
print(f"📡 Server hostname: {server_hostname}")
345345
print(f"🚀 Transport type: {transport_type}")
346346

src/mcp/client/stdio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async def _create_platform_compatible_process(
238238
env: dict[str, str] | None = None,
239239
errlog: TextIO = sys.stderr,
240240
cwd: Path | str | None = None,
241-
):
241+
) -> Process | FallbackProcess:
242242
"""
243243
Creates a subprocess in a platform-compatible way.
244244

0 commit comments

Comments
 (0)