Skip to main content
Glama
Neo PIM MCP Server

Neo PIM MCP Server

Official
by neoautark
README.md
<div align="center">

<img src=".github/assets/hero.jpg" alt="Product data from ERP, shop, supplier lists and catalogues flows into Neo PIM and out to shop, marketplaces, marketing, your team and your agents" width="100%">

# Neo PIM

### Product data your agents can work with.

The open source product data center you run from a conversation and review in the browser.

[![License: AGPL v3](https://img.shields.io/badge/license-AGPL--3.0-f4640a)](LICENSE)
![MCP](https://img.shields.io/badge/MCP-74_tools-f4640a)
![Node](https://img.shields.io/badge/node-22-444444)
![Postgres](https://img.shields.io/badge/postgres-17-444444)
![TypeScript](https://img.shields.io/badge/TypeScript-strict-444444)

**[Quick start](#quick-start)** | **[Connect your assistant](#connect-your-assistant)** | **[Hosted version](https://pim.neoautark.com)** | **[Playbook (German, PDF)](public/neo-pim-playbook.pdf)** | **[Free setup call](https://cal.com/vu-minh-tran/neo-pim-offene-runde)**

</div>

---

## Your assistant believes every spreadsheet

ERP export, shop export, supplier lists, a folder of pictures: four versions of the same product. Give that to an AI and it fills the gaps with guesses.

Neo PIM is the one place those versions meet. Your assistant (Claude, ChatGPT or any [MCP](https://modelcontextprotocol.io) client) does the work; Neo PIM remembers every value with its source, enforces your rules and lets a person decide.

<table>
<tr>
<td width="33%"><img src=".github/assets/import.jpg" alt="Contradicting rows become one product, with the open question to decide"></td>
<td width="33%"><img src=".github/assets/fields.jpg" alt="One sentence adds a new field, filled in as a proposal with its source"></td>
<td width="33%"><img src=".github/assets/channels.jpg" alt="A table shows which product is blocked on which marketplace, and why"></td>
</tr>
<tr>
<td align="center"><b>Messy rows in, one product out</b></td>
<td align="center"><b>A sentence adds a field</b></td>
<td align="center"><b>See the gaps before the marketplace does</b></td>
</tr>
</table>

<sub>Screenshots of the website; the user interface is available in German and English. Products and numbers are invented examples.</sub>

## What it does

| Job | What you get |
|---|---|
| **Import** | CSV, Excel, JSON, XML, URL or rows, text from PDF catalogues; recurring supplier files with saved mappings and diffs; dry run first |
| **Reconcile** | rows matched across suppliers and shops; contradictions wait with a recommendation until someone decides |
| **Model** | your own typed fields, units, option lists, categories, variants that inherit, values per language and channel; presets such as GPSR, textile or energy label |
| **Enrich** | missing values, texts and translations, stored as proposals with source and confidence |
| **Media** | images by upload or URL, sorted by motif and destination, alt texts, checks, an image endpoint that renders marketplace sizes |
| **Quality** | gaps, duplicates, faulty EANs, per-field writing rules that every write is checked against |
| **Publish** | templates for OTTO, Kaufland, Amazon DE, Zalando, eBay DE, Shopify, idealo and Google Merchant; preview, export files, permanent feeds, signed webhooks |
| **Control** | review queue with undo, protection for approved products, history of every value, roles for owners, members and reviewers |

74 MCP tools, listed in [docs/MCP-SURFACE.md](docs/MCP-SURFACE.md). The same services as a REST API under `/api/v1` ([docs/api.md](docs/api.md)).

The channel templates name their sources and mark derived rules. Check them against your own seller account before you rely on them. Neo PIM produces files and feeds; it does not list products on a marketplace by itself.

## How it fits together

```mermaid
flowchart LR
  subgraph Sources
    A[ERP and shop exports]
    B[Supplier files and PDFs]
    C[Images]
  end
  AI[Your assistant] -- MCP --> P
  Sources --> P[(Neo PIM<br/>values, sources, rules)]
  U[Your team] -- review in the browser --> P
  P --> D[Export files and feeds]
  P --> E[REST API and webhooks]
```

**The assistant is the agent. Neo PIM is the memory and the rulebook. You decide.**

## Quick start

With Docker:

```bash
git clone <repository-url> neo-pim
cd neo-pim
cp .env.example .env        # set BETTER_AUTH_SECRET: openssl rand -base64 32
docker compose up --build
```

Open <http://localhost:3500/register>, create your account, then follow **Connect assistant** in the dashboard. The first account owns its own workspace.

<details>
<summary><b>Without Docker</b> (Node 22, Postgres 15 or newer)</summary>

```bash
npm ci
cp .env.example .env        # set BETTER_AUTH_SECRET, PUBLIC_URL, DATABASE_URL, DATABASE_ADMIN_URL
node --env-file=.env node_modules/tsx/dist/cli.mjs scripts/migrate.mts
node node_modules/next/dist/bin/next dev -p 3500
```

</details>

`docker-compose.yml` is meant for your own machine. For a server with HTTPS, backups and updates follow [deploy/README.md](deploy/README.md), and replace the placeholder imprint and privacy texts in `lib/legal` with your own.

## Connect your assistant

| Client | How |
|---|---|
| **Claude.ai, Claude Desktop** | add a custom connector with `https://your-host/api/mcp`; sign in with your account (needs a public HTTPS address) |
| **Claude Code** | `claude mcp add --transport http neo-pim https://your-host/api/mcp` |
| **ChatGPT** | custom MCP server with the same address; see [docs/CHATGPT.md](docs/CHATGPT.md) |

Then try: *"Here is my supplier list. Show me what you would import, but change nothing yet."*

## Configuration

Every variable is described in [docs/ENVIRONMENT.md](docs/ENVIRONMENT.md). The ones you need first:

| Variable | Meaning |
|---|---|
| `PUBLIC_URL` | public base address (sign-in, MCP, upload and image links); HTTPS in production |
| `BETTER_AUTH_SECRET` | random secret for sessions and tokens |
| `DATABASE_URL` | login of the app |
| `DATABASE_ADMIN_URL` | owner login, used by the migration only |
| `S3_*` | optional S3-compatible bucket; without it files are stored on disk |
| `RESEND_API_KEY`, `EMAIL_FROM` | optional mail delivery ([docs/MAIL.md](docs/MAIL.md)) |

Daily jobs (retention, deletion, webhooks): [deploy/jobs.sh](deploy/jobs.sh).

## Built to keep workspaces apart

Every table with product data carries a `workspace_id` and is protected by Postgres row level security. Each query runs in a transaction that drops to a role without bypass rights and sets the workspace, so isolation does not depend on how privileged the app's login is. Details in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), tests in `test/tenancy.test.ts`.

Upload and export links are unguessable and expire. Image addresses are public by design, because marketplaces must fetch them. Server-side downloads cannot reach internal addresses unless you allow it.

## Project status

Neo PIM is young. It has a large automated test suite, and these have **not** been proven under real conditions yet:

- mail delivery, billing and webhooks against real providers
- very large catalogues on production hardware
- an independent security review or penetration test

Test with a copy of your data first.

## Development

```bash
node node_modules/typescript/bin/tsc --noEmit
node node_modules/vitest/vitest.mjs run      # no database needed
```

Next.js 16, Better Auth, Postgres, sharp. Rules and module map: [AGENTS.md](AGENTS.md), [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Contributions are welcome: [CONTRIBUTING.md](CONTRIBUTING.md). Found a security problem? Please follow [SECURITY.md](SECURITY.md).

## Rather not set it up yourself?

We do it with you: [book a free call](https://cal.com/vu-minh-tran/neo-pim-offene-runde) and bring your worst list.

## License

Copyright (C) 2026 Tran Consulting UG (haftungsbeschränkt)

Neo PIM is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License,
version 3 only (`AGPL-3.0-only`), as published by the Free Software Foundation. It is distributed without any warranty. See
[LICENSE](LICENSE). If you run a modified version for others over a network, section 13 requires you to offer them its source.

The name "Neo PIM" and the logo are not covered by this license. Fonts in `app/fonts` keep their own licenses.