
ShapeWords MCP
io.github.kirrrr-2423Published by GitHub account kirrrr-2423v0.2.2Updated Oct 24, 2026
Generate ShapeWords word clouds as SVG, PNG, or JSON from text or weighted words.
Overview
ShapeWords MCP lets an assistant generate word clouds as SVG, PNG or JSON from text or weighted words, either through the hosted ShapeWords service or a localSk
- What you can do
- Render a word cloud in one call from raw text or explicit weighted words, returning an artifact URL, job metadata and optionally inline image content. Start a render job asynchronously and check its status later by job ID. Choose output format (SVG, PNG or JSON layout data), canvas size, background, quality, palette, color mode, fonts and font sizes. Pick a mask shape from built-in ids, brand ids or a custom SVG path, and control rotation, spiral, fill mode and a layout seed for reproducible results. Render locally with the Skia engine instead of the hosted service.
- When to use it
- Useful when you want an assistant to turn notes, prompts, research snippets or keyword lists into a shareable word-cloud image or layout data without leaving the chat. Suited to one-off visuals as well as asynchronous batch-style workflows that poll for job completion.
- Requirements
- Runs as a local stdio process, typically via npx or a cloned Node.js project. By default it calls the hosted ShapeWords Render API over the network; SHAPEWORDS_API_BASE_URL can point elsewhere. Optional SHAPEWORDS_RENDER_API_KEY (or the alias SHAPEWORDS_API_KEY) is needed only for protected deployments. Timeouts are configurable via SHAPEWORDS_POLL_TIMEOUT_MS and SHAPEWORDS_REQUEST_TIMEOUT_MS.
Installation
In SourceWeft
- Open ShapeWords MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ShapeWords MCP
Universal MCP server for generating word clouds with ShapeWords.
It exposes ShapeWords rendering tools through the Model Context Protocol, so any MCP-capable client can create SVG, JSON, or PNG word clouds from text, workshop notes, prompts, research snippets, or agent output. By default it uses the hosted ShapeWords Render API; with engine: "skia" it renders locally inside the MCP server with the shared layout core and CanvasKit/Skia.
Tools
All tools use stdio MCP transport.
render_word_cloud
Creates a ShapeWords render job, polls until it is finished, and returns:
- public artifact URL for hosted renders, or a local inline artifact for
engine: "skia"; - job metadata;
- optional image content for MCP clients that support image results.
Use this tool for one-shot generation when the caller wants the final artifact.
create_word_cloud_job
Starts a render job and returns the job/status/artifact URLs without waiting.
Use this tool for asynchronous workflows where the client will poll later.
get_word_cloud_job
Checks a render job by ID.
Use this tool with the jobId returned by create_word_cloud_job or render_word_cloud.
Input Schema
render_word_cloud accepts all render options below. create_word_cloud_job accepts the hosted options only: engine: "skia" is local-only and is supported by render_word_cloud.
get_word_cloud_job accepts:
words items use this shape:
Rotation presets:
renderProfile: "canvas" sends the same practical defaults as the main editor canvas: shapeType: "cloud", width: 800, height: 600, quality: "hq", maxWords: 700, seed: 0, fontFamily: "Montserrat", minFontSize: 18, maxFontSize: 96, padding: 3, rotationPreset: "orthogonal", spiralType: "archimedean", and fillMode: "fill".
Use renderProfile: "api" only when you need the older compact Render API defaults: circle shape, 1024x640, SQ quality, and 120 max words.
Text Input
The MCP server can send either raw text, explicit words, or both:
- repeated words increase frequency, for example
cloud cloud cloud render render API; words[]preserves caller-provided weights and avoids differences in tokenization, stop words, or lemmatization;- when both
textandwords[]are present, ShapeWords renders fromwords[]and keepstextas source context; - paragraphs, meeting notes, workshop notes, prompts, research snippets, and keyword lists are valid;
- files such as CSV, Excel, or Google Sheets are not uploaded through this MCP server; paste or generate the text content first.
Example weighted text:
Example explicit weighted words:
Shapes
Use shapeType to choose the word-cloud mask.
Stable built-in shape ids accepted by the production renderer include:
Built-in brand shape ids include:
The production renderer may also accept additional generated ShapeWords ids. For portable automation, prefer the stable ids above or pass a custom SVG shape.
The local engine: "skia" path currently supports rectangle, square, circle, diamond, triangle, star, heart, cloud, custom SVG shapes, and vendored Font Awesome shape ids such as fa-cat. Unsupported local shape ids are rejected instead of silently changing the requested shape.
Custom Shapes
Set shapeType to custom and provide customShapeDefinition:
Custom heart example:
Output
render_word_cloud returns:
- text content with the completed job id and artifact location;
structuredContent.jobwith normalized job metadata;structuredContent.artifactUrlfor hosted renders;structuredContent.localArtifactforengine: "skia";structuredContent.siteUrl;- optional MCP image content when
returnImageistrueandformatissvgorpng.
For engine: "skia", render_word_cloud always returns inline MCP image content for format: "png" or format: "svg" because there is no hosted artifact URL.
create_word_cloud_job returns the same metadata immediately after job creation, without waiting for completion.
get_word_cloud_job returns the latest job status and artifact URL.
Generated artifact URLs are short-lived because the ShapeWords Render API stores render jobs in memory.
Format and Engine Notes
svgis the recommended automation format: it is fast, compact, and works with the browserless shared-core renderer.jsonreturns layout data from the same shared-core placement.pngis rasterized from the same generated SVG/layout, so word placement matches SVG/JSON for the same input and options.engine: "auto"is recommended unless you need to force a specific path.engine: "browserless"supportssvg,json, andpng.engine: "browser"supportssvgandpng, notjson.engine: "skia"is local-only and supported byrender_word_cloud. It does not create pollable hosted jobs. Layout is generated by the vendored ShapeWords shared core; PNG is drawn directly with CanvasKit/Skia.seedis honored by browserless/shared-core renders. Useengine: "auto"orengine: "browserless"for reproducible API/MCP output.- Non-zero
seedwith forcedengine: "browser"is rejected by the Render API because the browser fallback does not use the deterministic shared-core seed path.
Quick Start
Run directly from GitHub:
Or clone locally:
Client Configuration
Use stdio transport in any MCP-compatible client.
For a local clone:
Environment
Example Prompt
Example tool input:
More Examples
Transparent PNG
Local Skia PNG
JSON Layout
Reproducible SVG
Custom Palette and Font
Development
The server uses stdio and writes protocol messages to stdout. Diagnostics are written to stderr.
Notes
- Set
returnImage: trueinrender_word_cloudwhen the MCP client supports image content and needs hosted-render bytes inline. Local Skia image renders are inline automatically. - For automation-heavy use, prefer SVG or JSON layout artifacts; request PNG only when the caller needs raster pixels.
- Set
seedwhen the caller needs repeatable SVG/JSON/PNG placement across MCP runs.engine: "skia"is deterministic by default. - Local Skia PNG output is capped at 40,000,000 pixels after quality scaling to avoid excessive local memory use.
- Local Skia font rendering currently supports bundled
MontserratandOpenDyslexiconly. Hosted renders may support more font families. - The MCP schema currently exposes rendering and style options only. It does not expose ShapeWords UI-only workflows such as the advanced word editor, 2D/3D view switching, CSV/Excel upload, Google Sheets import, or live room controls.
padding,rotationPreset,rotations,spiralType, andfillModeare exposed so MCP callers can match the main ShapeWords canvas more closely.
See THIRD_PARTY_NOTICES.txt for bundled Font Awesome and font asset notices.
Source: README.md at commit 93b207b
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts