Skip to main content
Glama

Penrose MCP Server

create_style

Define visual representation rules for mathematical diagrams by specifying canvas dimensions, selectors, properties, and constraints to structure their appearance.

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" }
Install Server

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