Aspicio Documentation

Aspicio · demo · MCP server · GitHub

Aspicio is an open-source, TypeScript-first DXF engine: one framework-free parse → tessellate pipeline that serves people (the interactive WebGL viewer), applications (embeddable components and a headless renderer), and AI agents (an MCP server and HTTP API). MIT licensed.

Packages

Package What it is
@aspicio/core The library: parse → tessellate → render, camera and input handling. Headless up to WebGL — runs in the browser, Node, and Cloudflare Workers.
@aspicio/elements Framework-neutral web components: <aspicio-embed>, <aspicio-preview>, <aspicio-layer-panel>.
@aspicio/react · @aspicio/vue · @aspicio/svelte The same three components — <DxfEmbed>, <DxfPreview>, <DxfLayerPanel> — as thin React, Vue 3, and Svelte 5 bindings over the elements.
@aspicio/mcp Local stdio MCP server for AI agents — see the MCP page.

Install

npm install @aspicio/react   # or @aspicio/vue, @aspicio/svelte,
                             # @aspicio/elements, @aspicio/core

Each package's README on npm carries its full usage guide; the repository README has the overview and example apps for every binding.

HTTP API

The hosted API exposes the same pipeline over plain HTTP: GET /describe?src=<dxf-url> returns structured facts, GET /render?src=<dxf-url>&format=png|svg returns an image — self-described via OpenAPI 3.1.

Go deeper