bom-procurement
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
bom-procurement 器件采购库
小企业本地采购库 + OneAgent(MCP)双形态工具。
双击即用的独立软件:管理物料、历史采购价、别名、单位换算——不需要 OneAgent 也完整可用。
同一进程的 MCP 服务:OneAgent 两个 Skill(资料录入 / BOM 比对)经 http://127.0.0.1:8000/mcp 读写同一个 SQLite 库,人工在界面改的,Agent 立即可见。
三条红线
价格只能来自库内记录——库里没有就留空、进「未匹配清单」,Agent 绝不估算或编造
每条价格可追溯——带来源(文件#sheet#行号)与日期
同型号多价并存——不覆盖历史;人工确认的型号对应写回别名表
Related MCP server: MCP-ADAPTER
快速开始
Windows
从 Releases 下载 bom-procurement.exe,双击运行(SmartScreen 提示时选「更多信息→仍要运行」)。浏览器自动打开操作界面。
macOS(未签名,自用)
从 Releases 下载 bom-procurement(无后缀)后,因未做 Apple 签名,首次运行会被 Gatekeeper 拦截。放行命令:
cd ~/Downloads
chmod +x bom-procurement
xattr -d com.apple.quarantine bom-procurement
./bom-procurement若系统设置里找不到「仍要打开」入口(macOS 15+ 常见),务必用上面的命令方式。 完整说明(四种方式 + 常见报错处理):docs/install-macos.md
也可源码安装(不触发任何拦截,推荐):git clone 后 bash install.sh,详见 macOS 安装说明。
源码运行 / Skill 安装
git clone https://github.com/xufei8738-max/bom-procurement.git
cd bom-procurement
bash install.sh # Windows: install.bat(自动建 venv、装依赖、建库、注册开机自启)或从 Release 下载 bom-procurement.zip 解压安装。注意:Release 里的 .skill 文件
本质是 zip(扩展名不同所以双击解不开),改名为 .zip 或用 unzip bom-procurement.skill 即可。
安装完成后,安装器会打印 MCP 配置参数。
📖 完整操作步骤见 docs/oneagent-setup.md——含 OneAgent MCP 配置逐项填写说明、Skill 三种安装方式、失败排查表。
支持的资料格式(Skill 1 录入)
格式 | 路径 |
Excel .xlsx/.xls、CSV、Word .docx | 直读表格 |
PDF(电子版,有文本层) | pymupdf 表格抽取 |
PDF(扫描件)、图片 png/jpg/bmp/tif/webp | OCR(macOS 用系统 Vision;Windows/Linux 用 RapidOCR) |
录入一律先预览、人工确认、再入库;OCR 结果强制提醒复核。
OneAgent MCP 对接
在 OneAgent 的 设置 → MCP 服务器管理 中添加一个 http 服务器:
配置项 | 填写内容 |
传输方式 |
|
URL |
|
Header | 键 |
口令来源:启动时的终端输出,或 ~/procurement-data/接口口令.txt。
连接成功的标志:工具列表出现 19 个工具(search_items、compare_bom 等)。
⚠️ 必须先把采购系统跑起来,否则连接会被拒绝。 逐项截图级说明与排错表:docs/oneagent-setup.md
数据与备份
数据库:
~/procurement-data/procurement.db(单文件,升级永不触碰)备份:双击
backup.bat/backup.sh,或直接复制整个数据目录换机:拷贝
procurement-data到新机器 → 重跑install.sh(数据随目录走)
开发
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python -m pytest server/tests # 61 个测试
./start.shCI(GitHub Actions):push 跑三平台测试;打 tag 自动编译 Windows/macOS 单文件可执行 + skill 包并发 Release。
MIT License. 仅供采购成本核算,不含对外报价功能。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AIProcurement.club offers 42 MCP tools: 27 procurement specialists, 6 fixed workflows, 2 saved-report recovery tools and 7 read-only evidence tools. Five file tools provide local PDF/DOCX/PNG/JPEG extraction, English OCR, page quotes, keyword search and exact order-document checks in private temporary RAM on AIP; no corpus or Gateway memory is added. File tools require agent:read; the two existing tenant-scoped PO/invoice readers require p2p:read. For AIP-only file handling, connect directly to https://mcp.aiprocurement.club/mcp with Authorization: Bearer YOUR_SCOPED_AIP_KEY; do not submit documents or keys to directory test profiles. Paid agents are separate: external-inference consent and prepaid AIP access (from $10/job) apply. Use one stable idempotency key per paid job for saved-result replay. Setup: https://aiprocurement.club/agent-services/for-agents.
US government data as clean JSON for AI agents: SAM.gov contract opportunities, USAspending awards, Grants.gov grants, House STOCK Act trades, and SEC EDGAR filings (Form 4 insider trades, 8-K events, 13F holdings, 13D/G stakes, XBRL fundamentals, 10-K/10-Q sections). 19 read-only tools. Data is as fresh as each source publishes; congressional trades lag up to 45 days and report dollar ranges (House only). Free tier, no card.
Agent-native supply network for components, fabrication, industrial RFQs, offers, and fulfillment.
Construction takeoff and estimating for AI agents. Measure a drawing PDF, export a priced estimate.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query and operate on ERP data through a unified tool interface, working across CSV exports, SFTP drop folders, SQLite/ODBC, and optional enterprise APIs. It supports purchase orders, vendors, and inventory lookups while keeping agent-facing tools consistent regardless of backend.MIT
- AlicenseBqualityCmaintenanceGives AI agents a searchable catalog of over 15,000 documented tools, commands and functions across fourteen engineering and design applications, plus headless automation adapters that run the installed software in batch/script mode and return structured JSON. Also provides a timezone-aware time tool and an optional live documentation search, with local-only networking and an internet-tools kill switch by default.31MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and finance teams to extract structured fields from messy invoices and audit them before payment, applying seven evidence-backed risk rules that catch total/tax mismatches, duplicate invoices, missing fields, future dates, and round amounts, then returning a 0–100 score with a payment link. Exposes four MCP tools over stdio and Streamable HTTP (spec 2025-11-25) plus a web UI, backed by an optional AWS Bedrock or OpenAI-compatible extraction brain that degrades gracefully to a zero-dependency offline engine.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants such as Claude, Cursor, and Windsurf to query and operate a cloud ERP through natural language, exposing 87 tools spanning purchasing, sales, inventory, manufacturing, costing, assets, auditing, and financial reporting. Supports read-only queries plus create, submit, audit, and reverse-audit operations with metadata exploration, SQL Server schema probing, and optional HTTP/SSE remote deployment.-