mcp-buy123-vendor
Click on "Install 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., "@mcp-buy123-vendorList my recent orders"
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.
mcp-buy123-vendor
mcp-buy123-vendor is an open-source Model Context Protocol (MCP) server for the buy123 vendor portal. It gives AI clients such as Claude Desktop, Claude Code, and other MCP-compatible agents read-only tools for querying vendor operations data, including orders, returns, shipments, products, bundles, channels, inventory, permissions, and vendor profile records.
This project is useful when you want an AI assistant to inspect buy123 vendor data through structured MCP tools instead of manually browsing the vendor portal.
Legal prerequisite: This tool requires a legitimate vendor account on the buy123 platform. You must hold a valid vendor identity and comply with the platform's terms of service. Unauthorized access is not supported.
Unofficial project: This repository is community-maintained and is not an official product of, or endorsed by, buy123.
Traditional Chinese documentation is available in README.zh-TW.md.
Highlights
MCP server for buy123 vendor portal data access
Read-only query tools for vendor operations workflows
Claude Desktop and Claude Code compatible local MCP configuration
Interactive on-demand login flow with local token storage
Offline unit test suite for safe local development
Provided Tools
59 AI-callable tools — all query-only. Every tool returns the upstream API response envelope: { success, msg, data, pagination? }.
General Enumerations (no login required — 14 tools)
list_banks, list_bundle_types, list_bundle_delivery_notes, list_bundle_delivery_statuses, list_delivery_types, list_packaging_types, list_invoice_types, list_product_statuses, list_event_product_statuses, list_gross_profit_statuses, list_review_statuses, list_announcement_notify_levels, list_announcement_notify_scopes, list_announcement_notify_types
Query Tools (login required — 45 tools)
Category | Tools |
User info |
|
Abnormal orders |
|
Returns |
|
Bundles |
|
Channels |
|
Inventory |
|
Shipments |
|
Permission management |
|
Vendor management |
|
Product management |
|
Not Supported
Write operations (POST / PUT / DELETE)
Attachment preview or download
Excel or other binary file downloads
Shipping label printing
Usage
Requirements
Python 3.10+
A legitimate vendor account on the buy123 platform
Install
git clone https://github.com/asgard-ai-platform/mcp-buy123-vendor.git
cd mcp-buy123-vendor
python3 -m venv .venv
./.venv/bin/pip install -e .
cp .env.example .env
# Edit .env and fill in your vendor credentialsRun as an MCP Server
./.venv/bin/python mcp_server.pyClaude Desktop Configuration
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and replace <PROJECT_DIR> with the absolute path to this project:
{
"mcpServers": {
"buy123-vendor": {
"command": "<PROJECT_DIR>/.venv/bin/python",
"args": ["<PROJECT_DIR>/mcp_server.py"]
}
}
}Restart Claude Desktop. The buy123-vendor server should appear as running under Settings → Developer.
Claude Code CLI
A .mcp.json is included at the project root. Running claude from this directory will pick it up automatically.
Authentication
The server uses on-demand login. When a query requires authentication and no valid token is cached, the MCP client will be prompted to complete the login flow interactively. A desktop environment (windowed display) is required for the login step.
Development
Install Dev Dependencies
./.venv/bin/pip install -e '.[dev]'Run Tests
Tests run offline and do not require a real API connection:
./.venv/bin/python -m pytest tests/Integration tests that require a live API connection are opt-in and must be triggered manually after configuring valid credentials in .env.
Environment Variables
See .env.example for all configurable fields. The authentication token is managed automatically by the login flow and does not need to be set manually.
License
See LICENSE.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asgard-ai-platform/mcp-buy123-vendor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server