Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SALLA_BASE_URLNoAPI base URL. Default: https://api.salla.dev/admin/v2.
SALLA_CLIENT_IDNoOAuth app client ID, required for auto-refresh authentication.
SALLA_TOKEN_URLNoOAuth token endpoint. Default: https://accounts.salla.sa/oauth2/token.
SALLA_TIMEOUT_MSNoPer-request timeout in milliseconds. Default: 15000.
SALLA_MAX_RETRIESNoNumber of retries for 429/5xx responses. Default: 3.
SALLA_TOKEN_STORENoPath where rotated tokens are persisted. Default: ~/.salla-mcp/token.json.
SALLA_ACCESS_TOKENNoOAuth 2.0 access token for static access-token authentication. Salla access tokens expire after 14 days.
SALLA_CLIENT_SECRETNoOAuth app client secret, required for auto-refresh authentication.
SALLA_REFRESH_TOKENNoOAuth refresh token, required for auto-refresh authentication. Salla refresh tokens are single-use and rotate on use.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools call the Salla Admin API v2 for a single merchant store. Authentication comes from SALLA_ACCESS_TOKEN (or auto-refresh via SALLA_CLIENT_ID/SECRET/REFRESH_TOKEN). Discover IDs with the list_* tools before calling get_*/update_*/delete_* tools. Call list_order_statuses before update_order_status to use a valid status. List results are paginated (page / per_page). Writes are not transactional — verify a mutation with the matching get_*/list_* tool afterwards.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_productsA

List products from the Salla store, with pagination and an optional status filter.

get_productC

Get the details of a single product by its ID.

get_product_by_skuC

Get the details of a single product by its SKU code.

create_productC

Create a new product in the Salla store.

update_productC

Update fields (name, price, quantity, status) of an existing product.

delete_productB

Permanently delete a product from the Salla store by its ID.

bulk_update_quantitiesA

Bulk-update product or variant stock quantities by product id, variant id, or SKU. The update is queued and may take several minutes to complete.

list_categoriesB

List the store's product categories, with optional keyword and status filters.

get_categoryB

Get the details of a single product category by its ID.

create_categoryC

Create a new product category in the Salla store.

list_brandsB

List the brands available in the Salla store, with pagination.

list_ordersB

List orders from the Salla store, with pagination and an optional status filter.

get_orderC

Get the details of a single order by its ID.

update_order_statusC

Update the fulfillment status of an order.

list_order_statusesA

List all order statuses and sub-statuses configured for the store. Use this to discover valid values for update_order_status.

get_order_historiesA

List the status-change history (timeline) of a single order.

list_customersC

List the store's customers, with pagination.

get_customerA

Get the details of a single customer by their ID, including their groups.

get_store_infoC

Get the store's information and settings.

list_couponsB

List the discount coupons configured in the Salla store, with pagination.

list_abandoned_cartsA

List abandoned shopping carts for revenue-recovery workflows, with pagination.

list_branchesA

List the store's branches (physical locations / pickup points), with pagination.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 22 tools

Disambiguation4/5

Most tools have clearly distinct resource-and-action purposes. Minor potential overlap exists between get_product and get_product_by_sku, and between update_product and bulk_update_quantities, but the descriptions differentiate them adequately.

Naming Consistency5/5

All tools use snake_case with a predictable verb_noun pattern (list_products, get_order, update_order_status, delete_product). The few longer names like get_product_by_sku and bulk_update_quantities remain readable and consistent with the overall convention.

Tool Count3/5

22 tools is on the heavy side for the stated rubric range, though the broad e-commerce domain justifies many of them. The set is not bloated with duplicates, but it sits at the upper boundary of manageable scope.

Completeness3/5

Core product CRUD and order read/status workflows are covered well. However, categories lack update/delete, and brands, coupons, branches, and abandoned carts are mostly list-only, leaving notable gaps for full store administration.

Maintenance

ActivityStale
ResponsivenessNo recent community issues