maui_graphics_draw_rectangle
Draws the border of a rectangle without filling the inside.
How to use it
maui_graphics_draw_rectangle is exposed by the Maui Graphics MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the maui_graphics_draw_rectangle tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL MAUI GRAPHICS MCP SERVER LISTINGOther tools in Maui Graphics MCP Server (10)
Clears the entire drawing canvas, resetting it to a blank state.
Draws the outline of a circle without filling the interior.
Creates a straight line between two points.
Draws the outline of a custom path shape.
Draws the outline of a rounded rectangle without filling.
Renders text onto the canvas at a given position.
Draws a solid filled circle at a specified location with a given radius.
Fills a custom path shape with solid color or gradient.
Creates a solid filled rectangle at a defined position with width and height.
Generates a rectangle with rounded corners and fills it with a solid color.