File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ ::: mkdocs-click
2+ :module: rsconnect.main
3+ :command: mcp_server
Original file line number Diff line number Diff line change 5050 - system : commands/system.md
5151 - version : commands/version.md
5252 - write-manifest : commands/write-manifest.md
53+ - mcp-server : commands/mcp-server.md
5354
5455
5556theme :
Original file line number Diff line number Diff line change @@ -402,7 +402,25 @@ def version():
402402 click .echo (VERSION )
403403
404404
405- @cli .command (help = "Start the MCP server" )
405+ @cli .command (
406+ short_help = "Start the Model Context Protocol (MCP) server." ,
407+ help = (
408+ "Start the Model Context Protocol (MCP) server to expose rsconnect-python capabilities to AI applications "
409+ "through a standardized protocol interface."
410+ "\n \n "
411+ "The MCP server exposes a single tool:\n \n "
412+ "`get_command_info`:\n \n "
413+ " - Provides detailed parameter schemas for any rsconnect command. "
414+ "This provides context for an LLM to understand how to construct valid rsconnect "
415+ "commands dynamically without hard-coded knowledge of the CLI."
416+ "\n \n "
417+ "System Requirements:\n \n "
418+ " - Python 3.10 or later\n "
419+ " - fastmcp"
420+ "\n \n "
421+ "The server runs in stdio mode, communicating via standard input/output streams."
422+ ),
423+ )
406424def mcp_server ():
407425 try :
408426 from fastmcp import FastMCP
You can’t perform that action at this time.
0 commit comments