Skip to main content
Glama

Penrose MCP Server

create_style

Generate visual representation rules for mathematical diagrams by defining canvas dimensions and styling properties. Use structured input to customize selectors, properties, and constraints.

Instructions

Define visual representation rules

Input Schema

NameRequiredDescriptionDefault
canvasYes
rulesYes

Input Schema (JSON Schema)

{ "properties": { "canvas": { "properties": { "height": { "type": "number" }, "width": { "type": "number" } }, "required": [ "width", "height" ], "type": "object" }, "rules": { "items": { "properties": { "constraints": { "items": { "type": "string" }, "type": "array" }, "properties": { "type": "object" }, "selector": { "type": "string" } }, "required": [ "selector", "properties", "constraints" ], "type": "object" }, "type": "array" } }, "required": [ "canvas", "rules" ], "type": "object" }

Other Tools from Penrose MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bmorphism/penrose-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server