RI

reichenbach/iwork_mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

41 stars 9 forks 品質 70 トレンド 32

Apple iWork の自動化のための MCP サーバー — 113 ツールの数値、ページ、およびキーノート。 テンプレートの発見、クリエイタースタジオAIツール、化合物バッチ操作。 取付ける1ライン.

概要

Apple iWork の自動化のための MCP サーバー — 117 ツールの数値、ページ、およびキーノート。 取付ける1ライン。 Claudeデスクトップ、Claudeコード、Codex、およびMCPクライアントで動作します。 スプレッドシートの構築、文書の書き出し、プレゼンテーションの作成をするためにClaudeに依頼してください。これにより、AppleのJavaScript for Automation(JXA)スクリプティングブリッジを通じて、Mac上で実際のiWorkアプリを制御できます。 — ビルトインテンプレート(バゲット、インボイス、スケジュールなど)をブラウズするか、スクラッチ、読み取り/書き込みセルと範囲から作成するか、セットフォーミュラ(SUMIFSのようなクロスシート参照を含む)、ソート行、マージセル、フォーマットセル(フォント、色、背景、アライメント、パーセントや通貨などの番号フォーマット)、シートとテーブルの管理、列幅と行の高さを設定し、一括作成シートを1つの呼び出しでデータとフォーマットし、PDF/Excel/Vにエクスポートします。 — ビルトインテンプレート(履歴、レポート、レター、フライヤー、ニュースレターなど)を閲覧.

概要(AI 翻訳)

MacOS上の数値、ページ、およびキーノートを自動化するためのエージェントニュートラルMCPサーバー。 ローカル stdio や認証済みの Streamable HTTP 上で 117 のツールを公開します。

機能

  • 番号:スプレッドシートを作成し、セルと範囲を読み取り、書き、式、フォーマットテーブルを使用して、チャートを追加し、PDF、スプレッドシート、またはCSV形式にエクスポートします。
  • ページ:文書の作成とフォーマット、段落の編集、画像やテーブルのインサート、PDF、ドキュメント、EPUB、またはテキストフォーマットへのエクスポート。
  • 基調講演:プレゼンテーションの作成と編集、スライドアイテムのレイアウト、プレゼンターノートとトランジションの追加、PDF、プレゼンテーション、HTML、またはイメージフォーマットへのエクスポート。

要件: macOS 13 以降、現在の iWork アプリケーション、Node.js 18 以降。 macOS は、最初に利用するオートメーション許可を求める。

##ローカルstdioセットアップ

stdioはデフォルトの輸送です。 各クライアントは、独自のサーバープロセスを開始します。

##グロックボット

コマンド[npxと引数[-y]]]、[iwork-mcp]]というMCPコマンドサーバを追加します。

カーソル

含まれたプラグインのリストを使用して、またはクライアントのMCP設定に追加します。

クラウデ

クロード デスクトップのため:

クロード コードのため:

コードx

リモート HTTP セットアップ

**自分のMac上で実行します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

iwork-mcp

An agent-neutral MCP server for automating Numbers, Pages, and Keynote on macOS. It exposes 125 tools over local stdio or authenticated Streamable HTTP.

Capabilities

  • Numbers: create spreadsheets, read and write cells and ranges, use formulas, format tables, add charts, and export to PDF, spreadsheet, or CSV formats.
  • Pages: create and format documents, edit paragraphs, insert images and tables, and export to PDF, document, EPUB, or text formats.
  • Keynote: create and edit presentations, add and edit text boxes and charts, lay out slide items, add presenter notes and transitions, preview single slides, and export to PDF, presentation, HTML, or image formats.

Requirements: macOS 13 or newer, current iWork applications, and Node.js 18 or newer. macOS asks for Automation permission on first use.

Local stdio setup

stdio is the default transport. Each client starts its own server process.

Grok Bot

Add an MCP command server named iwork with command npx and arguments -y, iwork-mcp.

Cursor

Use the included plugin listing, or add this to the client’s MCP configuration:

{
  "mcpServers": {
    "iwork": {
      "command": "npx",
      "args": ["-y", "iwork-mcp"]
    }
  }
}

Claude

For Claude Desktop:

npx iwork-mcp install

For Claude Code:

claude mcp add iwork -- npx -y iwork-mcp

Codex

codex mcp add iwork -- npx -y iwork-mcp

Remote HTTP setup

Runs on your own Mac. iWork (Pages, Numbers, Keynote) is macOS-only, so this server must run on the Mac that has iWork installed. The Cloudflare Tunnel only exposes that Mac’s server to remote clients; it cannot run in the cloud.

First configure an owner passphrase and start the server. It binds only to loopback by default:

iwork-mcp --setup-passphrase
IWORK_MCP_PUBLIC_URL=https://YOUR-TUNNEL-HOST iwork-mcp --http --port 8787

The endpoint is https://YOUR-TUNNEL-HOST/mcp. It uses OAuth 2.1 dynamic client registration, authorization code with required PKCE S256, rotating refresh tokens, and short-lived opaque access tokens. Every MCP request requires a bearer token.

Optionally set IWORK_MCP_REDIRECT_HOST_ALLOWLIST to a comma-separated list of permitted OAuth callback hosts, host:port pairs, or origins.

For a free named Cloudflare Tunnel and the optional launch-at-login template, follow Remote connector setup.

Grok Bot, Cursor, Claude, and Codex

For any client that accepts a remote MCP URL, add:

{
  "mcpServers": {
    "iwork": {
      "url": "https://YOUR-TUNNEL-HOST/mcp"
    }
  }
}

The client discovers the OAuth metadata, registers itself, opens the local consent page, and obtains tokens. If a client uses a different configuration shape, enter the same URL in its remote connector UI.

Example requests

GitHub で README 全文を見る

インストール

npx -y iwork-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "iwork": { "command": "npx", "args": ["-y", "iwork-mcp"] } } }