Run a Japan proxy-buying business from your AI: inventory, orders, buyers, shipping fee split.
Bring Your Own Agent for harukibox. The official open-source CLI + MCP server + integration recipes for connecting any AI agent to your harukibox account.
You choose the AI. You train the AI. Your AI, your call.
很多 SaaS 賣給你它家的 AI chatbot — 綁死、貴、且通常不好用。我們選擇做相反的事:把 harukibox 的訂單、買家、運費分攤、AI 趨勢分析全部 expose 成標準 OAuth + REST + MCP,讓你接你信任的任何 agent。
不會程式?沒關係 —— 我們提供 30 秒 ChatGPT 一鍵接入 與 5 分鐘 iOS Shortcut import。
你 ──→ ChatGPT (custom GPT) ──→ harukibox API
直接到 chatgpt.com 建一個 GPT Action,貼 OpenAPI URL 完成 OAuth setup:
https://harukibox.com/api/agent/openapi.json
你 ──→ Claude Desktop ──→ MCP server ──→ harukibox API
npm install -g @harukibox/cli
harukibox login
# 完成後 token 在 ~/.config/harukibox/config.json
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"harukibox": {
"command": "npx",
"args": ["-y", "@harukibox/mcp"],
"env": { "HARUKIBOX_TOKEN": "hrk_live_..." }
}
}
}
你 ──→ 你寫的 agent ──→ OAuth 2.1 + REST API ──→ harukibox
完整 docs → 範例 Python agent → n8n workflow →
Both MCP surfaces implement the 2026-07-28 revision — the one that made MCP
stateless — and stay dual-era, so clients still on the initialize
handshake keep working while they migrate.
| Surface | Transport | Endpoint |
|---|---|---|
@harukibox/mcp | stdio | npx -y @harukibox/mcp |
| Remote MCP | Streamable HTTP | https://harukibox.com/api/agent/mcp |
What changed with 2026-07-28:
_meta. No sessions, no Mcp-Session-Id.server/discover replaces initialize for capability discovery.MCP-Protocol-Version, Mcp-Method, Mcp-Name) mirror
the body and are validated against it — mismatches get -32020.tools/list returns ttlMs + cacheScope, in a
deterministic order, so clients can cache and prompt caches keep hitting.GET / DELETE are gone (405): the standalone SSE stream and session
teardown were removed from the transport.Check any deployment against the spec:
harukibox mcp check
Protocol details + error codes →
Read (scope: me / *:read / search)
Write (scope: *:write)
詳細 schema 看 openapi.json。
organization_id membership (IDOR 防護)Full audit log: docs/security-audit.md
| File | What |
|---|---|
examples/chatgpt-gpt-action.md | ChatGPT Custom GPT setup with OAuth |
examples/claude-desktop-config.json | Ready-to-paste Claude Desktop MCP config |
examples/ios-shortcut.md | Apple Shortcuts: Siri 「問 harukibox 我今天訂單」 |
examples/n8n-workflow.json | Threads/IG private message → harukibox quote |
examples/python-agent-demo.py | 50-line Python OAuth + agent example |
examples/apple-app-intents-swift.md | iOS 18+ App Intents + Apple Intelligence integration |
PRs welcome. Particularly looking for:
For questions → Issues | Discussions
For harukibox SaaS itself → harukibox.com | support@harukibox.com
MIT — see LICENSE.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @harukibox/mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"com-harukibox-harukibox": {
"command": "npx",
"args": [
"-y",
"@harukibox/mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceharukibox works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.