Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NYYON_FIGURES_INKNoForeground color (ink)
NYYON_FIGURES_OUTNoOutput directory for rendered PNGs$TMPDIR/nyyon-figures
NYYON_FIGURES_PAPERNoBackground color (paper)
NYYON_FIGURES_ACCENTNoAccent hex color (default #6C5CE7)#6C5CE7

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_templatesA

List every diagram template (16) and the featured cover with their slot schemas. Call this first to learn what shapes exist and exactly which slots each render tool expects.

get_reasoning_promptA

Return nyyon's reasoning prompt for turning an article into a SET of figures + a cover: which template fits which idea, anchoring each to a sentence, and varying shapes. Pass the article (title/excerpt/body_text) to get the full ready-to-use prompt with the article embedded; omit it to get just the rules + template menu. Use the prompt to produce the figure-spec JSON, then call render_figure / render_cover.

get_settingsB

Return the active brand theme — colors (incl. the accent), fonts, canvas sizes, and the env vars that override them.

render_figureA

Render a single in-article diagram to a PNG. Provide the template name and its slots (see list_templates for each template's slot schema). Returns the file path. Renders at 2x for crisp output.

render_coverC

Render the 1200x630 featured/hero cover (OG ratio): the nyyon wordmark, kit shapes wired to an accent hub, and the headline with one word in the accent colour. Returns the file path.

render_setA

Render a full article set in one call: an array of figures (each { template, slots }) plus an optional cover. Returns the list of written paths. Convenience over calling render_figure repeatedly.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/LevNyyon/nyyon-figures'

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