Skip to content
AiProductsHunt AiProductsHunt

AgentBack - AI native API/MCP framework

Empower AI coding agents to build APIs and MCP servers

Visit website
Screenshot of AgentBack - AI native API/MCP framework

About AgentBack - AI native API/MCP framework

AgentBack is an ESM/Zod/MCP fork of LoopBack 4 for building HTTP APIs and MCP servers from one codebase. Define a Zod schema once on a decorator and it becomes your request validation, OpenAPI 3.1 spec, MCP tool, and a codegen-free typed client — all from the same DI container. AI coding agents get a real contract to build against, so they can't drift into a second source of truth or a mismatched endpoint. Best practice becomes the path of least resistance. On npm today.

Reviews 2

Your rating

Thanks! Your review is posted.

Sign in to rate and review AgentBack - AI native API/MCP framework.

  • Chelsey Gottlieb 5 months ago

    If you'd rather poke at it than install anything: • Live demo: agentback-demo.vercel.app — a real AgentBack app (REST + MCP + the dev console, all generated from one set of Zod schemas). • Source: github.com/ninemindai/agentback (the framework + runnable examples) and github.com/ninemindai/agentback-demo (the demo's code). Or run: npm create agentback my-service — to scaffold your own in seconds.

  • Johnathan Homenick 5 months ago

    Quick update since launch day — a lot has shipped: • MCP Apps (SEP-1865): a tool can declare a ui: option that links a ui:// widget conformant hosts (Claude Desktop, Goose, VS Code) render inline for the tool's result — interactive UI straight from a tool call. • First-class file uploads/downloads: declare a fileField() in a route's body schema and one line drives the whole chain — multipart parsing (streamed to a FileStore under a server-generated key, so no client-controlled paths), OpenAPI format: binary emission, and streaming downloads. In-memory, filesystem, and S3 adapters included. • Session/user-scoped MCP over Streamable HTTP — each session can get its own DI-scoped server, so per-user tool surfaces. • Front-mounted middleware chain + configurable body parsing (CORS, rate-limiting, JSON/urlencoded/text/raw on one group model). • Now on Express 5. Still alpha, still one schema -> every boundary. Repo + docs: github.com/ninemindai/agentback — feedback very welcome.

Compare