PO

pcdck/ozon-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

26 stars 8 forks 质量 71 趋势 0MIT

MCP-сервер для Ozon Seller API и Performance API — подключите любого AI-агента к кабинету продавца

概览

Ozon Seller 和 Performance API 的 MCP 服务器。几分钟内即可将任何 AI 代理连接到您的 Ozon 机柜。 Ozon-MCP 是一个知识丰富的 MCP 服务器,将整个 Ozon 卖家工具包转化为 15 种高杠杆工具。AI 代理(Claude、Cursor、Cline、Continue、Goose、Zed 等)可以用俄语或英语搜索 API,钻研 466 种方法中的任意一种,并配备内置安全防护。订阅意识,自动分页覆盖所有 4 种光标样式,429 重试/退出,以及 13 个即用分析流程。 466种索引方法(420种卖家 + 46项性能),55个板块,5个订阅层级建模,38个分页端点自动走动,43种破坏性方法双门化,13种典型卖家场景策划的工作流程。 - Python 3.12 或 3.13 - uv 包管理器 — 用 curl -LsSf https://astral.sh/uv/install.sh 安装 |sh - Ozon 卖家 API 凭证(Client-ID + Api-Key)——可在 https://seller.ozon. 获取

概述(AI 翻译)

Ozon Seller 和 Performance API 的 MCP 服务器。 几分钟内将任何AI代理连接到你的Ozon柜台。

Ozon-MCP 是一个知识丰富的 MCP 服务器,能够转动整个 Ozon 卖家工具包被整合成15种高杠杆工具。人工智能代理(Claude、Cursor, Cline、Continue、Goose、Zed 等)可以用俄语搜索 API 或 用英语,钻研466种方法中的任意一种,并且要用一个完全解析的JSON系统 Schema,并用内置安全防护执行呼叫。订阅- Aware,自动分页覆盖所有4种光标样式,重试/退出 429 表格,以及 13 个现成可用的分析工作流程。

关键事实: 466种索引方法(420卖方 + 46项绩效), 55个分段,5个订阅层建模,38个分页端点 自动行走,43种破坏性方法双门,13种策划 典型卖家场景的工作流程。


快速开始

先决条件

  • Python 3.12 或 3.13
  • uv 包管理器 — 安装 curl -LsSf https://astral.sh/uv/install.sh | sh
  • Ozon 卖家 API 凭据(客户端 ID + API 密钥)——可在

安装

验证它有效

你应该能看到FastMCP的使用记录。服务器使用MCP标准的语音

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

ozon-mcp

MCP server for the Ozon Seller & Performance APIs. Connect any AI agent to your Ozon cabinet in minutes.

ozon-mcp is a knowledge-rich MCP server that turns the entire Ozon seller toolkit into 15 high-leverage tools. AI agents (Claude, Cursor, Cline, Continue, Goose, Zed, …) can search the API in Russian or English, drill into any of 466 methods with a fully-resolved JSON Schema, and execute calls with built-in safety guards. Subscription- aware, automatic pagination over all 4 cursor styles, retry/back-off on 429s, and 13 ready-to-use analytical workflows.

Key facts: 466 indexed methods (420 Seller + 46 Performance), 55 sections, 5 subscription tiers modelled, 38 paginated endpoints auto-walked, 43 destructive methods double-gated, 13 curated workflows for typical seller scenarios.


Quick start

Prerequisites

  • Python 3.12 or 3.13
  • uv package manager — install with curl -LsSf https://astral.sh/uv/install.sh | sh
  • Ozon Seller API credentials (Client-Id + Api-Key) — get them at

Installation

git clone https://github.com/PCDCK/ozon-mcp.git
cd ozon-mcp
uv sync

Verify it works

uv run ozon-mcp --help

You should see the FastMCP usage line. The server speaks the MCP stdio protocol — point any compatible client at it (instructions below).


Connecting to your AI agent

ozon-mcp uses the standard MCP stdio transport. Every example below exposes the same 15 tools — pick whichever client you already use.

Claude Desktop

Edit: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

{
  "mcpServers": {
    "ozon": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/ozon-mcp",
                "run", "ozon-mcp"],
      "env": {
        "OZON_CLIENT_ID": "your-seller-client-id",
        "OZON_API_KEY": "your-seller-api-key",
        "OZON_PERFORMANCE_CLIENT_ID": "your-perf-client-id",
        "OZON_PERFORMANCE_CLIENT_SECRET": "your-perf-secret"
      }
    }
  }
}

Claude Code (CLI)

cd /path/to/ozon-mcp
claude mcp add ozon -- uv run ozon-mcp

Or add to ~/.claude/mcp.json with the same shape as the Claude Desktop config above.

Cursor

Settings → MCP → Add new MCP Server, or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "ozon": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/ozon-mcp",
                "run", "ozon-mcp"]
    }
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "ozon": {
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ozon": { "command": "uv", "args": ["--directory", "/absolute/path/to/ozon-mcp", "run", "ozon-mcp"], "env": { "OZON_CLIENT_ID": "your-seller-client-id", "OZON_API_KEY": "your-seller-api-key", "OZON_PERFORMANCE_CLIENT_ID": "your-perf-client-id", "OZON_PERFORMANCE_CLIENT_SECRET": "your-perf-secret" } } } }