AtroPIM MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AtroPIM MCP Server find products in the Lighting category and show their status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AtroPIM MCP Server
A Model Context Protocol server for AtroPIM and other AtroCore applications. It lets AI agents search, read and update products, categories, files and any other entity through the AtroCore REST API, as the authenticated user.
Works with any entity, including custom ones, by reading the instance metadata.
Tools are organised into business tool groups. Only
catalog-readis enabled by default.Results are compacted for LLM context and carry
deepLinkURLs into the AtroPIM UI.Runs over stdio, or Streamable HTTP with OAuth 2.1 so every person signs in as themselves.
Tested with AtroCore 2.3 and AtroPIM 1.16. Requires Python 3.11 or later.
Tool groups
Enable groups with ATROPIM_TOOL_GROUPS, e.g. product-enrichment,assets or all.
catalog-read is always included. An agent only sees the tools its groups can
use, and each call is checked against the entity it touches. AtroPIM roles still
apply on top.
Group | For | Grants |
| Anyone answering catalog questions | Read catalog and reference entities |
| Content writers, enrichment agents | Edit fields and attribute values of products (and other entities with attributes); run record actions such as workflow transitions |
| DAM and creative teams | Upload and share files, edit files and folders, attach files to records, set file fields such as the main image |
| Category and merchandising managers | Create, edit and link catalog records; run record actions |
| Data stewards, integrations | Bulk upsert, mass update, background job status |
| Administrators | Everything, including deletion, the data model and system entities |
Entities fall into three kinds, derived from the instance metadata:
catalog: business data, including custom entities: Product, Category, Brand, Channel, File, ...
reference: the data model: Attribute, Classification, Unit, Measure, ... Readable by all, writable by
admin.system: users, teams, roles, auth tokens, jobs, feeds, workflow definitions and other configuration.
adminonly.
A call outside the enabled groups fails with TOOL_NOT_ALLOWED and names the groups that would allow it.
Related MCP server: atlassian-mcp
Tools
Tool | Groups |
| catalog-read |
| product-enrichment, assets (file fields, files, folders), catalog-management |
| product-enrichment, catalog-management |
| product-enrichment, catalog-management |
| catalog-management, assets (folders) |
| catalog-management, assets (files only) |
| assets |
| bulk-data |
| admin |
admin can use every tool on every entity. Tool annotations (readOnlyHint,
destructiveHint) are set so clients can ask for confirmation before changes.
Record actions
list_record_actions returns the actions AtroPIM offers on a record in its
current state, and run_record_action runs one. These are AtroCore's
configurable actions, so the agent gets whatever the instance defines, such as
transitions from atropim-workflow.
AtroPIM validates every run. A blocked transition returns the reason, e.g.
Cannot move to Shortlisted. Fill in the NPD section — Owner.. Actions that
need an interactive dialog (email, preview, suggest value) are not listed.
search_records and list_related_records return:
{
"total_count": 107,
"count": 20,
"offset": 0,
"has_more": true,
"next_offset": 20,
"listLink": "https://pim.example.com/#Product",
"items": [
{ "id": "019fe278…", "name": "Brass Pendant", "deepLink": "https://pim.example.com/#Product/view/019fe278…" }
]
}Filters use AtroCore's where syntax, e.g.
[{"type": "equals", "attribute": "status", "value": "ready"}]. See
Advanced data querying
for all operators.
Running it
stdio (Claude Desktop, Claude Code, Cursor, VS Code)
For one person on their own machine. Every call runs as the configured AtroPIM user.
{
"mcpServers": {
"atropim": {
"command": "uvx",
"args": ["--from", "git+https://github.com/sthalatech/atropim-mcpserver", "atropim-mcp-server"],
"env": {
"ATROPIM_URL": "https://pim.example.com",
"ATROPIM_TOKEN": "…",
"ATROPIM_TOOL_GROUPS": "catalog-read"
}
}
}
}Claude Code:
claude mcp add atropim -e ATROPIM_URL=https://pim.example.com -e ATROPIM_TOKEN=… \
-- uvx --from git+https://github.com/sthalatech/atropim-mcpserver atropim-mcp-serverGet a token with
curl -u 'user:password' -H 'Authorization-Token-Only: true' https://pim.example.com/api/userSession,
or set ATROPIM_USERNAME and ATROPIM_PASSWORD and the server logs in and renews the session itself.
Shared server with OAuth
For agents and apps used by many people, such as a team chat assistant. Each person signs in with their AtroPIM username and password on the server's sign-in page, and every tool call runs as them with their AtroPIM roles.
AtroCore has no OAuth of its own, so the server is the OAuth 2.1 authorization server:
Authorization code flow with PKCE (S256), resource indicators (RFC 8707), and the metadata documents clients use for discovery (RFC 8414, RFC 9728).
The password goes to AtroPIM once to open a session and is never stored.
Issued tokens are that AtroPIM session encrypted with AES-256-GCM. The server keeps no token store, and AtroPIM stays in charge: deactivate a user or end their session there and the client is asked to sign in again within a minute.
Access tokens last 1 hour, refresh tokens 30 days. The AtroPIM session is opened with a matching 30-day idle time.
Revocation (RFC 7009) ends the AtroPIM session.
Failed sign-ins are throttled per user, per IP and overall, so a guesser cannot trigger AtroPIM's per-IP lockout for everyone signing in through the server.
Clients are registered in a JSON file; dynamic registration is off.
[
{
"client_id": "team-assistant",
"client_name": "Team Assistant",
"client_secret": "env:TEAM_ASSISTANT_SECRET",
"redirect_uris": ["https://assistant.example.com/oauth/callback"],
"groups": ["catalog-read", "product-enrichment"]
}
]client_secret is at least 32 characters, given directly or as env:NAME. Clients
authenticate with HTTP Basic (client_secret_basic) unless
token_endpoint_auth_method says client_secret_post. groups optionally narrows
the server's tool groups for that client.
docker build -t atropim-mcp-server .
docker run -p 3000:3000 \
-e ATROPIM_URL=https://pim.example.com \
-e ATROPIM_TOOL_GROUPS=all \
-e MCP_BASE_URL=https://mcp.pim.example.com \
-e MCP_CLIENTS_FILE=/config/clients.json \
-e MCP_TOKEN_KEY="$(openssl rand -base64 48)" \
-e MCP_TRUSTED_PROXIES=10.0.0.5 \
-e TEAM_ASSISTANT_SECRET=… \
-v ./clients.json:/config/clients.json:ro \
atropim-mcp-serverPoint clients at https://mcp.pim.example.com/mcp. Put the server behind a TLS
reverse proxy and list the proxy in MCP_TRUSTED_PROXIES so throttling sees real
client IPs. Keep MCP_TOKEN_KEY stable: changing it signs everyone out. Keep
AtroPIM's authTokenPreventConcurrent off, or signing in here ends the person's
browser session. Sign-ins, failures and revocations are logged as JSON lines.
Without MCP_BASE_URL, --http serves the configured identity to anyone who can
reach the port; use that only on localhost.
GET /healthz returns ok.
Configuration
Variable | Default | Description |
| required | Base URL of the instance, e.g. |
|
| Base URL for deep links, if users reach the UI on a different address |
| Authorization token, for stdio or single-user HTTP | |
| Credentials, used when no token is set | |
|
| Comma-separated tool groups, or |
|
| Per-request timeout in seconds |
|
|
|
|
| HTTP bind address ( |
|
| HTTP port |
| Public https URL of this server; turns on OAuth | |
| OAuth clients file | |
| Secret of at least 32 characters for sealing tokens | |
|
| Proxy addresses whose |
With OAuth on, ATROPIM_TOKEN, ATROPIM_USERNAME and ATROPIM_PASSWORD must be unset.
Errors
Failed calls return an MCP tool error whose text starts with a code:
Code | Meaning |
| AtroPIM token or credentials invalid or expired |
| No enabled tool group allows the action |
| The user's AtroPIM role does not allow the action |
| Unknown entity, relation or record |
| AtroPIM rejected the input; the message says why |
| AtroPIM unreachable or returned a server error |
| No response within |
Development
uv sync
uv run pytest
uv run ruff check
ATROPIM_URL=… ATROPIM_TOKEN=… npx @modelcontextprotocol/inspector uv run atropim-mcp-serverIssues and pull requests are welcome. Please include tests for behaviour changes.
License
Available Tools
7 toolsdescribe_entityDescribe entityARead-only
Return the fields of an entity (type, required, enum options, link target) and its relations. Call before filtering, creating or updating records of an unfamiliar entity.
Inputs: entity (required).
get_attribute_valuesGet attribute valuesBRead-only
Get the attribute values of a record (Product and other entities with attributes), with attribute names.
Inputs: id (required), entity (required), language.
get_recordGet recordBRead-only
Get one record with all fields. Set withAttributes to include attribute values as flat fields.
Inputs: id (required), entity (required), select, language, +1 more.
global_searchGlobal searchARead-only
Search across all entities with global search enabled. Returns up to 20 {entity, id, name} matches.
Inputs: query (required).
list_entitiesList entitiesARead-only
List entity types the agent can read (Product, Category, Brand, File, ...).
Inputs: no named parameters.
search_recordsSearch recordsARead-only
Search records of one entity by keyword and/or filters. Returns a page of compact records with deepLinks. Use get_record for full details.
Inputs: entity (required), asc, limit, query, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have clear, distinct roles: entity discovery, schema description, single-entity search, global search, record retrieval, relation listing, and attribute retrieval. The main overlap is get_record(withAttributes) versus get_attribute_values, which both expose record attribute values and could cause misselection.
Names are consistently snake_case and mostly follow a verb_noun pattern (list_entities, describe_entity, search_records, get_record, list_related_records, get_attribute_values). global_search is the minor deviation, using an adjective_noun form rather than a verb-led name.
Seven tools is well-scoped for a read-oriented PIM MCP server. Each tool covers a distinct step in discovery, search, retrieval, or relation/attribute access without excessive surface area.
The read path is largely covered: discovery, schema, search, record retrieval, relations, and attribute values. However, there are no create, update, or delete tools, despite describe_entity explicitly mentioning creating and updating records, leaving a notable lifecycle gap.
Maintenance
Related MCP Connectors
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Connect AI agents to ProductNow's context engine to search, create, review, and act.
OAuth 2.1 short-link tools for AI agents with scoped tokens, approvals, audit logs, and revocation.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with commercetools APIs to manage products, categories, orders, carts, and customer data. It provides a comprehensive set of tools for both read-only and full-access operations through secure authentication methods.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Jira and Confluence on Atlassian Cloud, supporting issue search, creation, updates, transitions, project listing, content search, page management, and comments.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create, search, update, and manage Jira issues and Confluence pages via natural language through the Atlassian Cloud REST APIs.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage Magento 2 / Adobe Commerce products, stock, orders, and customers through 12 read/write MCP tools with secure, audited access.AGPL 3.0