
Homotope
app.homotopePublished by homotope.appOfficial publisherv1.0.0Updated Oct 31, 2026
Vectorize images to SVG, PDF, EPS or DXF, and check a DXF before cutting.
Overview
Homotope is a hosted MCP server that lets an assistant vectorize raster images into SVG, PDF, EPS or DXF and check a DXF for cut readiness.
- What you can do
- Vectorize PNG or JPEG images into clean SVG using presets for logos, illustrations, pixel art, line art, black and white, photos or centerline tracing
- Convert the resulting SVG into DXF, PDF or EPS, including colour layers and separations
- Run a cut-readiness check on vector output, flagging tiny islands, edges that are too close and node counts
- Report palette colours and path or node statistics for the produced artwork
- When to use it
- Useful when you want an assistant to turn a bitmap logo, drawing or photo into editable vector artwork, or to prepare vector files for plotters, laser cutters, engraving or embroidery and verify they are safe to cut.
- Requirements
- A remote MCP endpoint at homotope.app reached over streamable HTTP, with OAuth sign-in required. No environment variables or headers are declared.
Installation
In SourceWeft
- Open Homotope in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/app.homotope%2Fhomotope/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"homotope": {
"type": "http",
"url": "https://homotope.app/mcp"
}
}
}README
@homotope/engine
This is the engine of Homotope, an image vectorizer that runs in the browser: nothing is uploaded. Try it in the workshop (free, no account needed for SVG and PNG).
Raster-to-vector engine in pure TypeScript: turns a PNG or JPEG (any RGBA pixel buffer) into a clean SVG, and from that SVG into DXF, PDF or EPS. Released under the MIT license.
What this package is not: it has no editor, no server, no REST API, no MCP server and no printer checks; those live in the hosted service. The npm package is frozen at 0.2.0: what it contains is complete and usable on its own.
- No DOM, no runtime dependencies. The core runs unchanged in a Web Worker, in the main thread and in Node. Pixel data stays on the machine: nothing is uploaded anywhere.
- Topology first. The image is quantized in OKLab, segmented into regions, and every shared boundary is fitted once: two neighbouring shapes never overlap and never leave a gap. Holes are kept (an "O" stays an "O").
- Presets for logos, illustrations, pixel art, line art, black & white, photos, and a centerline mode that traces strokes as single open paths (plotters, engraving, embroidery).
- Fabrication exports: DXF (layers per colour, shared edges cut once), PDF, EPS, colour separations, and a cut-readiness check (tiny islands, too-close edges, node counts).
- An alternative to Potrace: no GPL code, full colour, exact shared borders.
Install
Requires an ES2022 runtime (Node ≥ 22, any current browser). ESM only.
Entry points
Browser bundles only receive what they import: the core never imports pngjs or jpeg-js.
Node example
Browser example (Web Worker)
vectorize is synchronous on purpose: run it in a worker so the page stays responsive. Its
input is any ImageData-like object { width, height, data: Uint8ClampedArray } (RGBA, not
premultiplied).
Cancellation is cooperative: pass { cancel: { cancelled: boolean } } as the third argument
(for example backed by a SharedArrayBuffer); vectorize then throws a CancelledError
between and inside stages.
Presets
presetOptions(name) returns a full, independent options object that you can tweak.
Every option is typed and documented in VectorizeOptions (preprocess, quantize,
segment, fit, export, centerline).
SVG output
viewBoxin the pixel coordinates of the original image, cubic Béziers, one<path>per colour by default (export.mergeByColor).export.mode: 'cut'(default): every region is an exact path with its holes (fill-rule="evenodd"), no overlap;'stacked': shapes stacked by depth, fewer nodes.- Transparent pixels (
preprocess.alphaMode: 'keep') produce no path. result.palettelists the colours (sRGB and OKLab, pixel counts);result.statsthe number of paths and nodes;result.timingsthe time spent per stage.
Hosted version and API
homotope.app runs this engine in the browser with a visual editor (palette, presets, before/after), plus optional server processing, a REST API and an MCP server for AI assistants: see the API documentation.
Development
See CONTRIBUTING.md.
License
MIT.
Source: README.md at commit 4a43cb4
Tools
0Version history
1- v1.0.0LatestOct 31, 2026
Score
85% 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 daysRequired25 pts
- Auth declaredRequired10 pts
- 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