File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -294,15 +294,14 @@ def run(
294
294
) -> None :
295
295
"""Run a MCP server.
296
296
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
301
300
302
301
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
306
305
file , server_object = _parse_file_path (file_spec )
307
306
308
307
logger .debug (
You can’t perform that action at this time.
0 commit comments