# MARS

REST framework for Delphi: JAX-RS style resources and routes, servers and clients, JWT, OpenAPI 3, FireDAC and Devart UniDAC/MyDAC/IBDAC, SSE, MCP servers for AI agents. Windows, Linux, Docker.

Canonical page: https://www.reposhelf.co.uk/projects/github/andrea-magni/mars.html

- Project ID: andrea-magni/MARS
- Source: GitHub
- Original project: https://github.com/andrea-magni/MARS
- Description attribution: project author metadata
- Categories: Developer tools, MCP servers &amp; agents
- Technologies: Not recorded
- Licence: MPL-2.0
- Repository availability checked: 2026-11-03T09:59:53.417Z
- Demo page loaded: 2026-11-12T13:03:49.242Z

Distributed changes to covered files must stay under this licence. Other files can use different licences.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> MARS-Curiosity is an open source \(MPL 2.0\) library to build REST servers and REST clients with Embarcadero Delphi. Endpoints are plain Delphi classes with attributes \(JAX-RS style\): MARS does routing, parameter binding, JSON serialization, JWT authentication, OpenAPI 3 and hosting, on Windows and Linux.

> 📖 Documentation: andrea-magni.github.io/MARS · Why MARS? · FAQ · Release notes

- Declarative REST resources: \[Path\], \[GET\]/\[POST\]/\[PUT\]/\[PATCH\]/\[DELETE\]/\[QUERY\], \[Produces\], \[Consumes\], path/query/header/cookie/form/body parameters, dependency injection with \[Context\].
- Or routes in code \(Express style\): R.Get\('people/\{id:int\}', ...\), with path constraints, groups, middlewares and OpenAPI, next to the resources.
- JSON to and from records, objects, arrays and datasets, with options per application; YAML and XML writers too.
- Security: JWT authentication \(Bearer header or cookie, key rotation, token renewal\), role based authorization \(\[RolesAllowed\], \[Authenticated\], \[PermitAll\], \[DenyAll\]\).
- OpenAPI 3 generated from your code, Swagger UI included; and the other way round, MARSgen: Delphi types and MARS servers \(or whole projects\) from OpenAPI 3.0/3.1 documents, types from JSON samples, a conformance check…

## Author-documented requirements and audience

> MARS-Curiosity is an open source \(MPL 2.0\) library to build REST servers and REST clients with Embarcadero Delphi. Endpoints are plain Delphi classes with attributes \(JAX-RS style\): MARS does routing, parameter binding, JSON serialization, JWT authentication, OpenAPI 3 and hosting, on Windows and Linux.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/andrea-magni/MARS/blob/master/README.md

Extraction checked: 2026-10-29T19:58:11.657Z

Last recorded source update: 2026-11-01T11:04:38.000Z

Saved release: v.1.8.1 — 2026-10-07T01:07:59.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=andrea-magni%2FMARS). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
