Skip to content

Commit 6b6f34e

Browse files
authored
Improve readability of CLI help option (#295)
1 parent c897868 commit 6b6f34e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/mcp/cli/cli.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -294,15 +294,14 @@ def run(
294294
) -> None:
295295
"""Run a MCP server.
296296
297-
The server can be specified in two ways:
298-
1. Module approach: server.py - runs the module directly, expecting a server.run()
299-
call
300-
2. Import approach: server.py:app - imports and runs the specified server object
297+
The server can be specified in two ways:\n
298+
1. Module approach: server.py - runs the module directly, expecting a server.run() call.\n
299+
2. Import approach: server.py:app - imports and runs the specified server object.\n\n
301300
302301
Note: This command runs the server directly. You are responsible for ensuring
303-
all dependencies are available. For dependency management, use mcp install
304-
or mcp dev instead.
305-
"""
302+
all dependencies are available.\n
303+
For dependency management, use `mcp install` or `mcp dev` instead.
304+
""" # noqa: E501
306305
file, server_object = _parse_file_path(file_spec)
307306

308307
logger.debug(

0 commit comments

Comments
 (0)