Open source. MIT licensed.
Your APIs. Ready for agents.
Turn API definitions into MCP tools. Generate typed tools, define execution policies, and trace calls, all in one codebase you can run and change.
Built by Riza and Aditya. Now yours to build on.
scrollOpenAPI, Google Discovery, GraphQL and MCP in. Typed, governed agent tools out.
- openapi
- graphql
- google discovery
- mcp
- typescript
- python
- cli
- mit licensed
- typed tools
- explicit policies
- traced calls
- self-hostable
- zero lock-in
start small
One spec. Three tools.
The offline example generates tools from a Notes API definition and validates their policies. No account, database, or API key needed.
Explore the examplegit clone https://github.com/codewithriza/astrail.git
cd astrail
npm ci
npm run demo:offlinenotes_list_notesallownotes_create_noteapprovalnotes_delete_noteblock
No upstream calls executed.
- level 01locked
stage: generate
Start with your API.
Import OpenAPI, Google Discovery, GraphQL, or an existing HTTP MCP server.
- level 02locked
stage: control
Make calls explicit.
Endpoint maps, authentication, approvals, and network policies govern execution.
- level 03locked
stage: build
Take it from here.
A dashboard, CLI, TypeScript and Python clients, and the source to extend them.
ready to ship?
let's talk!
Questions about the code, an API you want to turn into tools, or a deployment you are planning? Send us a note and a real human reads it.
The code is open. The docs are here.
Start with the offline example, then configure your own deployment. Persistent operation needs backend and authentication setup.