Skip to content
fileshape

Developers

API and MCP server

The same engine that powers the web app, available over HTTP and to AI agents through the Model Context Protocol.

The REST API will accept a file (or text) plus a recipe or a ready-made pair, and return the converted file. Recipes are the same JSON you can copy from the converter today, so a mapping you build by hand in the browser can be reused unchanged from code.

The MCP server will let assistants such as Claude, Cursor and VS Code agents inspect a file, suggest a mapping to an app's layout and run the conversion, either remotely or fully locally through an npm package.