Developers

Five surfaces, one governance model. Pick the one that fits your stack.

Get a key. Make a call. Same audit row whether you're shipping a frontend, a partner backend, or an AI agent.

Quickstart

From zero to first call.

Get a key, install the SDK or curl directly, and make a typed call. The same audit row appears whether the caller is a human, a CI script, or an AI agent.

A terminal session showing: install the meshbase CLI, log in, and run a natural-language query against a data product.
  1. 01

    Get a key

    Issued from the workspace dashboard. Each key gets a CallerProfile that drives audit, rate limits, and mutation policy.

  2. 02

    Install the SDK

    Typed TypeScript SDK with code-gen for your subscriptions. CLI installs the same client globally.

  3. 03

    Make a call

    REST, GraphQL, SDK, CLI, or MCP. Caller-governance applies uniformly across surfaces.

Channels

Pick the surface that fits your stack.

Five access channels — same governed contract underneath. Same audit, same caller-governance, same rate limits. Switch channels without changing your security posture.

01

SDK

Typed TypeScript client for Node, Next.js, or any modern JS runtime. The fastest path to a typed integration with autocomplete.

typescript

1. Install

bashbash
npm install @meshbase/sdk

2. Connect and query

typescripttypescript
import { createClient } from "@meshbase/sdk";

const client = createClient({ apiKey: process.env.MESHBASE_KEY });

const { products } = await client.catalog.listProducts({
  orderBy: { revenue: "desc" },
  first: 10,
});
02

CLI

Shell-friendly wrapper for scripting, ops, and CI. Same auth, same caller-governance — no SDK install needed for one-off queries.

bash

1. Install and authenticate

bashbash
npm install -g @meshbase/cli
meshbase login

2. Query data

bashbash
meshbase catalog products list \
  --order-by revenue:desc \
  --first 10
03

REST

Plain HTTP under `/rest/v1`. Lowest-friction option from any language or platform — including legacy ERP and PIM systems.

bash

Use your API key with the REST endpoint

bashbash
curl -H "Authorization: Bearer $MESHBASE_KEY" \
  "https://api.meshbase.ai/rest/v1/products?orderBy=revenue:desc&limit=10"
04

GraphQL

Federated GraphQL across all 14 domains. Best when you need precise field selection or typed cross-domain queries in one round-trip.

graphql

graphqlgraphql
query TopProducts {
  products(orderBy: revenue_DESC, first: 10) {
    nodes {
      id
      sku
      name
      revenue
    }
  }
}
05

MCP

Model Context Protocol — your AI assistant or agent calls Meshbase as a typed tool, under the same caller-governance and audit as a human user.

json

1. Add to your AI tool config

jsonjson
{
  "mcpServers": {
    "meshbase": {
      "command": "npx",
      "args": ["-y", "@meshbase/mcp@latest"],
      "env": {
        "MESHBASE_TOKEN": "YOUR_API_KEY"
      }
    }
  }
}

2. Ask your AI assistant

texttext
"Show me the top 10 products by revenue."
06

Catalog MCP

Anonymous, read-only MCP server for catalog discovery. List DataProducts, describe semantic fields, and get a deterministic plan recommendation — no account, no API key. Use this when an AI agent should evaluate Meshbase before any human signs up.

json

1. Point your agent at the public endpoint

jsonjson
{
  "mcpServers": {
    "meshbase-catalog": {
      "url": "https://meshbase.ai/mcp",
      "transport": "streamable-http"
    }
  }
}

2. Discover and recommend

texttext
"Find a DataProduct for OCPP charging sessions and recommend a plan for 100k requests/month under EUR 1k."

3. Auto-discovery descriptor

bashbash
GET https://meshbase.ai/.well-known/mcp.json

Ready to build?

Get a key. Make a call. See the audit row.

Sandbox workspace with seed data — build the integration before you sign anything. One business day to first response, same audit row for dev and auditor.