The Headless Engine

Stop Building the Backend from Scratch. Start at 80% Completion.

Your clients need manufacturing-grade commerce. You don't have 6 months to build inventory logic. Marketplace Labs gives you a production-ready GraphQL API so you can focus on the frontend.

Type Safety

Strict GraphQL Typing That Prevents Bad Data

Our schema is built with strict typing from day one. Enums, Inputs, and Interfaces ensure your queries return exactly what you expect—and mutations reject bad data before it hits the database.

  • Enum Validation

    Order status can only be DRAFT, PENDING, CONFIRMED, etc. No typos, no invalid states.

  • Input Types

    Mutations use strict input types. Required fields are required. Optional fields have sensible defaults.

  • Interface Contracts

    Common patterns like Node and Timestamped ensure consistency across all types.

schema.graphql
enum OrderStatus {
  DRAFT
  PENDING
  CONFIRMED
  PROCESSING
  SHIPPED
  DELIVERED
  CANCELLED
}

input CreateOrderInput {
  customerId: ID!
  lineItems: [LineItemInput!]!
  shippingAddressId: ID!
  notes: String
}

interface Node {
  id: ID!
}

interface Timestamped {
  createdAt: DateTime!
  updatedAt: DateTime!
}

Granular Permissions - Fine-Grained Access Control at the Field Level

Build secure multi-user applications where warehouse staff can't delete orders, and customers can only see their own data. Our @requires(scopes: [...]) directive makes it simple.

Scope-Based Access

Define scopes like orders:read, orders:write, inventory:manage. Assign them to API keys or user roles.

Field-Level Protection

Sensitive fields like costPrice can require elevated scopes. Users without access see null.

Directive Syntax

@requires(scopes: ["orders:delete"]) on any field or mutation. Clear, declarative, auditable.

permissions.graphql
type Order {
  id: ID!
  customer: Customer!
  status: OrderStatus!
  lineItems: [LineItem!]!

  # Only visible to staff with finance scope
  costPrice: Money @requires(scopes: ["finance:read"])
  margin: Float @requires(scopes: ["finance:read"])
}

type Mutation {
  # Anyone with orders:write can create
  createOrder(input: CreateOrderInput!): Order!
    @requires(scopes: ["orders:write"])

  # Only admins can delete
  deleteOrder(id: ID!): Boolean!
    @requires(scopes: ["orders:delete", "admin"])
}
Webhooks & Workflows

Trigger External APIs Without Custom Cron Jobs

Our Workflow and WorkflowNode system lets you build automation pipelines that respond to events. Post to Slack, sync to Xero, update your CRM—all without writing cron jobs.

  • Event-Driven Triggers

    Workflows trigger on events like order.created, stock.low, or production.completed.

  • Workflow Nodes

    Chain actions together. HTTP calls, delays, conditions, and transformations—all configurable via API.

  • External Integrations

    Send data to Slack, Xero, Mailchimp, or any HTTP endpoint. Transform payloads with JSONPath expressions.

Example Workflow: New Order Notification

1

Trigger

order.created event fires

2

HTTP Node

POST to Slack webhook with order details

3

HTTP Node

Create invoice in Xero

AI Integration

MCP Server for AI Agents

Marketplace Labs includes a Model Context Protocol (MCP) server—the emerging standard for connecting AI assistants to external tools and data sources. Build AI-powered commerce experiences without complex custom integrations.

  • Works with Claude, GPT, and Custom Agents

    Any AI that supports MCP can connect to your commerce data instantly.

  • Full Commerce Operations

    Query inventory, create orders, check production status, generate shipping labels—all via natural language.

  • Same Permissions Model

    MCP requests use the same scope-based permissions as the GraphQL API. No special security concerns.

mcp-config.json
{
  "mcpServers": {
    "marketplace-labs": {
      "url": "https://api.mplabs.co.uk/mcp",
      "apiKey": "sk_live_...",
      "tools": [
        "inventory.getStock",
        "orders.create",
        "orders.list",
        "production.getStatus",
        "shipping.getRates",
        "shipping.createLabel"
      ]
    }
  }
}

Example prompt:

"Check if we have enough stock to fulfil order #12345, and if so, generate a shipping label with the cheapest carrier."

Pricing

Simple API Access Pricing

All prices exclude VAT. No per-user fees. No hidden charges.

Starter

£100/month

1,000 orders/mo, 5 channels

Pro

£300/month

10,000 orders/mo, unlimited channels, MCP access

Agency

£500/month

5 client accounts included, £75/mo per additional

No Development Team?

We Build It For You

Not every business has in-house developers—and that's okay. Our team builds custom frontends, mobile apps, and integrations on top of Marketplace Labs. You get the power of a headless platform with the experience tailored to your business.

Web Applications

Storefronts, dashboards, B2B portals

Mobile Apps

iOS, Android, React Native

Integrations

ERP, accounting, custom APIs

AI Solutions

Chatbots, automation, MCP agents

Ready to Start at 80% Completion?

Stop building inventory logic, order management, and production tracking from scratch. Get API access and start building the frontend your clients actually need.

Chat with a Solutions Architect (No Bots)
The Headless Engine for Agencies | Marketplace Labs