Skip to Content
SDKOverview

SDK overview

Use the Majico SDK when you want to read or update brand data from code — CI pipelines, internal tools, or coding agents — instead of clicking through the web app.

What you get

PackagenpmPurpose
@majico/sdk@majico/sdkTypeScript HTTP client for the Majico public API
user-majico-mcpuser-majico-mcpMCP server so Cursor and other agents can call the same API via tools

Both require a Pro or Creator project and its project API key from Account → Integrations .

Quickstart (@majico/sdk)

import { MajicoClient } from "@majico/sdk"; const client = new MajicoClient({ apiKey: process.env.MAJICO_API_KEY!, projectId: process.env.MAJICO_PROJECT_ID!, baseUrl: "https://api.majico.xyz", }); const guidelines = await client.guidelines.get(); console.log(guidelines.productName, guidelines.llmPrompt.slice(0, 200));

When to use which

  • @majico/sdk — Node scripts, backends, tests, or any TypeScript/JavaScript app that calls Majico over HTTP.
  • user-majico-mcp — Cursor, Claude Desktop, or remote agents that speak MCP. See MCP server and the Cursor integration guide.
  • MajicoAgentClient — Server-side agents that bootstrap new projects (requires MAJICO_AGENT_API_SECRET). See API reference.

Next steps

  1. Install @majico/sdk
  2. Browse the API reference
  3. Wire up MCP for Cursor