Apple MCP

io.github.Servosity由 GitHub 帳號 Servosity 發布v0.1.1更新於 Nov 5, 2026

Every Apple Business API call, plus offline fleet answers: unassigned devices, AppleCare expiry and

概覽

AI 產生的概覽

非官方的本機 MCP 伺服器與 CLI,讓助理查詢與管理 Apple Business Manager 的裝置、AppleCare 保固、啟用鎖定與 MDM 伺服器。

可以做什麼
  • 將 Apple Business 資料同步到本機 SQLite 鏡像並離線檢索
  • 列出、查詢裝置並產生報表,包括未指派與處於啟用鎖定狀態的裝置
  • 依訂單分組報告期限內即將到期或完全缺少的 AppleCare 保固
  • 依客戶組織彙整裝置群並標出長期未回報的 MDM 伺服器
  • 建立與更新藍圖、設定與 MDM 伺服器,並匯入記錄
  • 將裝置指派或取消指派到 MDM 伺服器,並檢視稽核事件摘要
適用情境
適合管理多個 Apple Business Manager 組織的託管服務商或 IT 管理員,希望助理回答未指派裝置、AppleCare 續約、啟用鎖定歸屬等裝置群問題,並在審閱後調整 MDM 指派。
執行需求
以本機程序(stdio)在桌面端執行,可透過 .mcpb 套件或 shell/PowerShell 安裝腳本安裝;多代理安裝指令需要 Node.js。每個客戶組織需要一個 Apple Business API 帳戶:APPLE_BUSINESS_CLIENT_ID、APPLE_BUSINESS_KEY_ID 與 APPLE_BUSINESS_PRIVATE_KEY。使用 HTTP 傳輸時另需 APPLE_BUSINESS_MCP_HTTP_TOKEN,同步時需要連線至 Apple API 的網路。
安裝前請注意
會處理 Apple Business 憑證,包括私鑰(APPLE_BUSINESS_PRIVATE_KEY)與選用的 bearer 權杖(APPLE_BUSINESS_ACCESS_TOKEN),應盡量縮小 API 帳戶權限。寫入類工具可建立、更新或刪除藍圖、設定與 MDM 伺服器,裝置指派變更會決定客戶裝置註冊到哪個 MDM 伺服器;寫入會先回傳預覽,僅在 confirm: true 時執行,設定 APPLE_BUSINESS_MCP_READ_ONLY=1 可限制為唯讀。除非設定 APPLE_BUSINESS_NO_LOCAL_DATA=1,API 回應會快取在本機。非官方且處於測試階段。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Apple MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Apple Business + AI - for ChatGPT, Claude, GitHub Copilot, Microsoft 365 Copilot, Gemini, and any agent that speaks MCP

Unofficial. Community-built Claude Code Skill and MCP server for the Apple Business API. Not affiliated with, endorsed by, or sponsored by Apple Inc.

[Apple Business demo - animated preview]

▶ Watch the 30-second demo - demo data is simulated; every command shown exists in the real CLI.

Every Apple Business API call, plus offline fleet answers: unassigned devices, AppleCare expiry and Activation Lock. Works with the AI you already use - ChatGPT (Plus/Pro+), Claude Desktop, Codex, Claude Code, Claude Cowork, and GitHub Copilot - plus Microsoft 365 Copilot / Copilot Studio and Google Gemini via the remote path. Free, open source, runs on your laptop. Built for MSP owners. No code required.

Works with your agent

The six agents MSP owners actually use (self-serve, works today):

Your AI agentHow to install the Apple Business skill
Claude DesktopRun installer, then Settings > Extensions to register apple-business-mcp (no JSON editing).
ChatGPT (paid plans)Run installer, host apple-business-mcp over HTTPS with APPLE_BUSINESS_MCP_HTTP_TOKEN set, then register it as a Developer Mode connector if your connector settings can send the bearer token.
Codex CLIPaste the install prompt below.
Claude CodePaste the install prompt below.
Claude CoworkPaste the install prompt below.
GitHub Copilot (VS Code)Run installer, add apple-business-mcp to mcp.json under the servers key, then pick Agent mode.

For ChatGPT, run apple-business-mcp --transport http with APPLE_BUSINESS_MCP_HTTP_TOKEN set, on an HTTPS host; every request sends that token. See mcp-install.md.

Also for the Microsoft and Google stacks

Big install base, but an honest heads-up: these are the remote / enterprise path, not the local binary you just installed.

AgentWhat it takes
Microsoft 365 Copilot / Copilot StudioNot self-serve. Host apple-business-mcp over HTTPS with APPLE_BUSINESS_MCP_HTTP_TOKEN set, then wire it into Copilot Studio (Tools > Add a tool > Model Context Protocol > Server URL) or a declarative agent, if it can send the bearer token. Needs a Copilot Studio license + tenant admin. See mcp-install.md.
Google GeminiGemini CLI is local - same as Claude Code. The Gemini app is remote - same HTTPS path as ChatGPT. See mcp-install.md.

Skill-native agents (also covered): Hermes and OpenClaw read this skill's SKILL.md directly and speak MCP - see their install sections below. Also works with Cursor, Windsurf, Cline, Continue.dev, and Zed via MCP. Full per-tool wire-up: docs/which-agent.md.

Run more than one agent? Install across all 51+ supported agents in one command: npx skills add Servosity/msp-skills@latest (requires Node.js, then run the per-skill installer for the CLI/MCP binaries). See docs/which-agent.md.

Install in 60 seconds

Fastest for Claude Desktop - one-click .mcpb

Download Apple Business MCP (.mcpb) - then open Claude Desktop > Settings > Extensions and select the file. One click, no JSON, no shell. (Browse every Apple Business release on the releases page.)

Prefer the Claude Code plugin? Add the marketplace once, then install - works immediately, no directory listing required:

/plugin marketplace add Servosity/msp-skills/plugin install apple-business@msp-skills

Path A - paste one prompt into your AI agent (recommended)

Copy this into Claude Code, Codex CLI, or Claude Cowork:

Install the Apple Business Skill and MCP server from Servosity/msp-skills in this agent workspace. If this workspace uses a POSIX shell (macOS, Linux, WSL, or Bash), run bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.sh). If it uses Windows PowerShell, run iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.ps1 | iex. Then authenticate per the README and run apple-business-cli --help to explore.

The same prompt works in any agent that can run shell.

Path B - run the installer yourself

Windows (PowerShell):

powershell
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.ps1 | iex

macOS / Linux:

bash
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.sh)

The installer drops both apple-business-cli (the CLI) and apple-business-mcp (the MCP server) into your user bin path. Claude Code, Codex, and Cowork discover the Skill via SKILL.md in this directory.

Verify:

bash
apple-business-cli --version

Upgrade to the latest version

The installer always fetches the current release - re-run it to upgrade:

macOS / Linux:

bash
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.sh)

Windows (PowerShell):

powershell
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/apple-business/install.ps1 | iex

Claude Desktop .mcpb users: download the latest .mcpb (top of this section) and re-select it in Settings > Extensions. Claude Code plugin users: /plugin update apple-business@msp-skills.

Add to Claude Desktop, GitHub Copilot, Gemini CLI, Microsoft 365 Copilot, or another MCP client

After the installer runs, see mcp-install.md and docs/which-agent.md for the per-agent wire-up - one section per agent, including the GitHub Copilot servers key and the remote Microsoft 365 Copilot / Copilot Studio path. Claude Desktop's Settings > Extensions panel is the simplest path; the MCP config block (for users who prefer editing JSON) is documented in mcp-install.md.

Install for Hermes

From the Hermes CLI:

bash
hermes skills install servosity/msp-skills/skills/apple-business --force

Inside a Hermes chat session:

/skills install servosity/msp-skills/skills/apple-business --force

Hermes speaks MCP natively, so it can also use the apple-business-mcp server directly - same install path, same env vars.

Install for OpenClaw

Tell your OpenClaw agent (copy this):

Install the apple-business skill from https://github.com/servosity/msp-skills/tree/main/skills/apple-business. The skill defines how its required CLI (apple-business-cli) can be installed via the openclaw: frontmatter block.

OpenClaw isn't generally available yet; the frontmatter wiring is pre-shipped and will activate the moment OpenClaw launches.

Authenticate

Set the credentials the CLI needs (from your Apple Business portal):

bash
APPLE_BUSINESS_CLIENT_ID=<value> APPLE_BUSINESS_KEY_ID=<value> APPLE_BUSINESS_PRIVATE_KEY=<value> apple-business-cli doctor

doctor checks config, paths, and API reachability, and reports whether credentials are loaded - it does not validate them. Run a read command to confirm the credential actually works end-to-end.

What this skill does

Question your MSP keeps askingCommand
Which devices are not assigned to any MDM server, and is a missing default server the reason?apple-business-cli devices unassigned --added-within 30d --agent
Which devices lose AppleCare in the next 90 days, grouped by purchase order?apple-business-cli applecare expiring --within 90d --group-by order --agent
Which devices have no active AppleCare coverage at all?apple-business-cli applecare expiring --uncovered --agent
Which devices are Activation Locked to a user, and who is the owner when known?apple-business-cli devices locked --type user --agent
Per client org: how many devices, how many unassigned, expiring, uncovered and user-locked, and how many stale MDM servers?apple-business-cli fleet summary --within 90d --agent
Which MDM servers stopped checking in with Apple but still own devices?apple-business-cli mdm-servers health --issues-only --agent
Everything about one device: org record, MDM server, AppleCare and Activation Lockapple-business-cli devices lookup C02XL0ABJGH5 --agent
Who changed what in the organization this week?apple-business-cli audit-events digest --since 7d --agent

The fleet reports read the local store: run apple-business-cli sync and apple-business-cli devices enrich first (an unsynced store answers empty).

Full command reference: guide.md. For the AI-agent operating contract (--agent, --dry-run, when to confirm before mutating), see AGENTS.md.

What makes this different

Most Apple Business integrations and MCP servers proxy each question into a live API call. That's fine for one record. It dies at scale, when you're asking which devices across 40 client organizations lose AppleCare this quarter: AppleCare and Activation Lock are per-device endpoints.

This skill syncs Apple Business into a local SQLite mirror with full-text search. Aggregate questions become one local SQL join: instant, offline, and the AI sees the answer, not the raw data. Compound commands like fleet summary, applecare expiring --group-by order and devices unassigned join devices, MDM servers, AppleCare coverage and Activation Lock across every customer org's store - work a stateless API wrapper can't do.

The pain this closes

A device never assigned to the right MDM server in Apple Business Manager does not enroll, and the technician finds out at the client's desk (Jamf Community, July 2024). AppleCare coverage and Activation Lock are per-device lookups, and every client is its own organization, so nothing rolls them up.

  • apple-business-cli devices unassigned --all-orgs - unassigned devices across every client, with the missing default server flagged.
  • apple-business-cli applecare expiring --within 90d --group-by order --all-orgs - coverage ending inside the window, grouped by order for the renewal quote.
  • apple-business-cli devices locked --type user --all-orgs - devices still Activation Locked to a user.
  • apple-business-cli fleet summary - one row of counts per client org.

See pain-point.md for the longer narrative.

Frequently asked questions

Does this work with ChatGPT?

Yes, on Plus, Pro, Team, Business, Enterprise, and Education plans (Free tier does not yet expose Developer Mode). ChatGPT connects to remote MCP servers over HTTPS, not local stdio binaries. The Apple Business MCP server runs locally over stdio by default. Its HTTP mode (apple-business-mcp --transport http) serves http://127.0.0.1:7777/mcp, refuses to start until APPLE_BUSINESS_MCP_HTTP_TOKEN is set, requires Authorization: Bearer <token> on every request, and needs --tls-cert/--tls-key for any other address. See mcp-install.md. Step-by-step in mcp-install.md.

Does this work with Codex, Cursor, Windsurf, Cline, Copilot, or Gemini?

Yes - all of them speak MCP. Cross-tool install commands are in the matrix above and the deep-dive in docs/which-agent.md.

Do I need to know how to code?

No. The recommended install is to paste one sentence into Claude Code or Codex - your agent reads SKILL.md and does the install. The fallback is a one-line installer per OS (bash or PowerShell). Neither path requires writing code. You'll enter your Apple Business credentials once.

Is my Apple Business data safe?

Your data stays on your machine. The CLI and MCP server are local binaries. The SQLite mirror sits in a directory under your user account. The AI agent only sees what the CLI returns - typically a query result, not raw bulk data. Credentials are read from your environment or your agent's config; never bundled into this repo or transmitted anywhere by MSP Skills.

What do I need from each client's Apple Business Manager?

An API account. An Administrator opens Settings > API in Apple Business, adds an API account and downloads its private key (.pem, offered once). The account's Client ID and Key ID plus that key are the three values the skill needs. API accounts belong to one organization, so each client gets its own.

Will this hit Apple's API rate limits?

It paces itself when Apple Business answers 429. Sync once, then the fleet reports read the local store and make no API calls; devices enrich is the only per-device fan-out, bounded by --concurrency, and --skip-fresh lets a rerun resume.

Does it replace my MDM (Jamf, Intune, Kandji, Mosyle)?

No. Apple Business Manager decides which MDM server a device enrolls with; this skill reads and changes that assignment and reports on the devices. Your MDM still manages them after enrollment.

What do I need from each client's Apple Business Manager?

An API account. An Administrator opens Settings > API in Apple Business, adds an API account and downloads its private key (.pem, offered once). The account's Client ID and Key ID plus that key are the three values the skill needs. API accounts belong to one organization, so each client gets its own.

Will this hit Apple's API rate limits?

It paces itself when Apple answers 429. Sync once, then the fleet reports read the local store and make no API calls; devices enrich is the only per-device fan-out, bounded by --concurrency, and --skip-fresh lets a rerun resume.

Does it replace my MDM (Jamf, Intune, Kandji, Mosyle)?

No. Apple Business Manager decides which MDM server a device enrolls with; this skill reads and changes that assignment and reports on the devices. Your MDM still manages them after enrollment.

What does it cost?

Free. Apache-2.0 licensed. You pay only for whichever AI agent you use (Claude, ChatGPT, Codex, etc.), and that's billed by your AI provider, not by us.

Safety model

TierExamplesRecommended agent policy
Readdevices list, devices lookup, devices unassigned, devices locked, applecare expiring, fleet summary, mdm-servers health, audit-events digest, sync, devices enrichAllow
Write (routine)blueprints create, blueprints update, blueprints add-apps, configurations create, configurations update, mdm-servers create, mdm-servers update, importPreview with --dry-run, then a reviewed write
Device assignmentdevices assign, devices unassign, device-activities create (decide which MDM server a customer device enrolls with, and can set an MDM migration deadline)Human-in-the-loop only
Destructiveblueprints delete, blueprints remove-devices, configurations delete, mdm-servers delete, local-data purgeHuman-in-the-loop only, explicit confirmation
Credentialauth login, auth set-token, auth logoutHuman-in-the-loop only

Over MCP, every write tool returns a preview and runs only when called with confirm: true. On the command line, --dry-run previews any write.

The strongest control is the scope you grant the Apple Business credentials - the CLI can only do what the credentials are permitted to do. Full details, including how to lock it down, are in governance.md.

Status

Beta. Validated offline against the Apple Business API surface and being validated with MSPs running it live against their own production tenant in our weekly Build Sessions. RSVP at compoundingteams.com/build-sessions.


Standards. Conforms to the open Agent Skills spec (Anthropic, Dec 2025; 40+ agents). MCP-compatible - works with any MCP-capable agent including Hermes. OpenClaw-ready (frontmatter pre-wired, awaiting OpenClaw launch).

Maintained by Servosity. Apache-2.0 licensed. Built with CLI Printing Press. Last updated: 2026-10-29.

來源:skills/apple-business/README.md,提交 6b7797e

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

2
  1. v0.1.1最新Nov 5, 2026
  2. v0.1.0Nov 5, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。