keynote-harvest-mcp

v0.1.1
io.github.hulin42/keynote-harvest-mcp Checked 2 days ago Published 3 months ago

Harvest Keynote and PDF slide decks into previews, text, image assets, and a manifest for agents.

Values you need

VariableWhat it is
KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTSrequired Path-delimited directories the server may read decks from (e.g. your Keynote documents and Downloads). Required to harvest local files.
KEYNOTE_HARVEST_ROOToptional Directory where harvests are written. Defaults to .harvests under the working directory.
KEYNOTE_HARVEST_WORKING_DIRECTORYoptional Directory relative paths resolve from. Defaults to the host's current directory.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add keynote-harvest-mcp -e 'KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS=<KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS>' -- npx -y keynote-harvest-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "keynote-harvest-mcp": {
      "args": [
        "-y",
        "keynote-harvest-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS": "<KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "keynote-harvest-mcp": {
      "args": [
        "-y",
        "keynote-harvest-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS": "<KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS",
      "id": "keynote-harvest-allowed-input-roots",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "keynote-harvest-mcp": {
      "args": [
        "-y",
        "keynote-harvest-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS": "${input:keynote-harvest-allowed-input-roots}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.keynote-harvest-mcp]
command = "npx"
args = ["-y", "keynote-harvest-mcp@0.1.1"]
env = { "KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS" = "<KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS>" }

For AI agents

  1. Ask the user for: KEYNOTE_HARVEST_ALLOWED_INPUT_ROOTS. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_keynote_apps, export_keynote_to_pdf, harvest_keynote_pdf, get_harvest_manifest, list_harvest_outputs.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json