@@ -24,19 +24,19 @@ def __init__(self, parser):
2424 parser .add_argument ('--no-banner' , dest = 'show_banner' , action = 'store_false' , default = True ,
2525 help = 'Disable FastMCP startup banner' )
2626 # Debugging options
27- parser .add_argument ('--debug' , action = 'store_true' , help = 'Enable debug mode (sets struct and FastMCP loggers to DEBUG by default)' )
27+ parser .add_argument ('--debug' , action = 'store_true' , help = 'Enable debug mode (sets structkit and FastMCP loggers to DEBUG by default)' )
2828 parser .add_argument ('--fastmcp-log-level' , dest = 'fastmcp_log_level' , type = str , default = None ,
2929 help = 'Log level for FastMCP internals (e.g., DEBUG, INFO). Overrides --debug for FastMCP if provided' )
3030 parser .set_defaults (func = self .execute )
3131
3232 def execute (self , args ):
3333 if args .server :
3434 self .logger .info (
35- f"Starting FastMCP server for struct tool (transport={ args .transport } )"
35+ f"Starting FastMCP server for structkit tool (transport={ args .transport } )"
3636 )
3737 asyncio .run (self ._start_mcp_server (args ))
3838 else :
39- print ("MCP (Model Context Protocol) support for struct tool (FastMCP)" )
39+ print ("MCP (Model Context Protocol) support for structkit tool (FastMCP)" )
4040 print ("\n Available options:" )
4141 print (" --server Start the MCP server" )
4242 print (" --transport {stdio|http|sse} Transport protocol (default: stdio)" )
@@ -45,17 +45,17 @@ def execute(self, args):
4545 print (" --path /PATH Endpoint path for HTTP/SSE (default: /mcp)" )
4646 print (" --stateless-http Enable stateless HTTP mode (HTTP only)" )
4747 print (" --no-banner Disable FastMCP banner" )
48- print (" --debug Enable debug mode (struct + FastMCP DEBUG; uvicorn=debug)" )
48+ print (" --debug Enable debug mode (structkit + FastMCP DEBUG; uvicorn=debug)" )
4949 print (" --fastmcp-log-level LVL Set FastMCP logger level (overrides --debug for FastMCP)" )
5050 print ("\n MCP tools available:" )
5151 print (" - list_structures: List all available structure definitions" )
5252 print (" - get_structure_info: Get detailed information about a structure" )
5353 print (" - generate_structure: Generate structures with various options" )
5454 print (" - validate_structure: Validate structure configuration files" )
5555 print ("\n Examples:" )
56- print (" struct mcp --server --transport stdio --debug" )
57- print (" struct mcp --server --transport http --host 127.0.0.1 --port 9000 --path /mcp --uvicorn-log-level debug" )
58- print (" struct mcp --server --transport sse --host 0.0.0.0 --port 8080 --path /events --fastmcp-log-level DEBUG" )
56+ print (" structkit mcp --server --transport stdio --debug" )
57+ print (" structkit mcp --server --transport http --host 127.0.0.1 --port 9000 --path /mcp --uvicorn-log-level debug" )
58+ print (" structkit mcp --server --transport sse --host 0.0.0.0 --port 8080 --path /events --fastmcp-log-level DEBUG" )
5959
6060 async def _start_mcp_server (self , args = None ):
6161 """Start the MCP server using the selected transport."""
0 commit comments