Polery AI Connector (MCP)
How it works:
· Connect your Polery cloud workspace to Claude, Claude Code, or ChatGPT so your AI can search and read documents you choose, save new Polery documents in one sentence, and submit block-level edit proposals.
· Local files stay private: the remote connector only sees cloud-synced documents you explicitly check during authorization (0 selected by default).
· Review before anything changes: edits are never written directly over existing documents — every change arrives as a proposal in Polery where you can inspect diffs, check cross-block numbers, accept individual edits, or reject everything with zero bytes changed.
Connect your AI client
Claude Code (CLI)
Run one command and complete sign-in and document selection in your browser:
claude mcp add --transport http polery https://docs.polery.com/mcp
Claude (claude.ai, Desktop & Mobile)
- Open Customize → Connectors → Add custom connector.
- Enter the remote MCP server URL:
https://docs.polery.com/mcp. - Sign in to your Polery account and select the specific cloud documents you want to share (none are selected by default).
OpenAI Codex (Desktop App & CLI)
- Desktop App (Plugins → Connect to custom MCP): set Name to
polery, Type to Streamable HTTP, and URL tohttps://docs.polery.com/mcp. Leave Bearer token env var, Headers, and Env headers completely blank — saving triggers browser OAuth 2.1 sign-in where you click Continue to Polery and pick which cloud documents to share. - CLI: add the server and complete browser OAuth 2.1 login in one step:
codex mcp add polery --url https://docs.polery.com/mcp && codex mcp login polery
ChatGPT (Custom MCP server)
- Open Plugins → + → Add custom MCP server (availability of write tools depends on your ChatGPT plan).
- Enter
https://docs.polery.com/mcpand complete OAuth 2.1 sign-in.
Local Excel Fidelity MCP (STDIO · @polery/mcp)
Alongside the remote cloud connector (Streamable HTTP), you can also register Polery's local STDIO server (@polery/mcp) so Codex, Claude Code, or Cursor can inspect and batch-update local .xlsx workbooks on disk with zero network calls and byte-identical OOXML preservation:
- Strict path sandboxing:
--input-rootand--output-rootmust be existing literal absolute paths (repeatable;~and$ENVexpressions are rejected by design, and tool calls can never widen directory access). - Codex CLI registration example:
mkdir -m 700 -p /Users/<you>/.polery-mcp/exports /Users/<you>/.polery-mcp/tasks && codex mcp add polery-excel -- node /path/to/online-docs/node_modules/tsx/dist/cli.mjs /path/to/online-docs/packages/polery-mcp/bin/polery-mcp.mjs --input-root /Users/<you>/Desktop --input-root /Users/<you>/Documents --output-root /Users/<you>/.polery-mcp/exports --task-root /Users/<you>/.polery-mcp/tasks
- Local STDIO tools (6):
open_workbook,read_range,locate_records,prepare_changes,export_result(publishes non-destructiveresult.xlsx+changes.jsonwithout overwriting your source workbook), andget_task.
Remote cloud tools
The connector exposes six narrow, non-destructive tools. Readable body formats today are Polery online documents (.polery), Markdown, plain text, and HTML; Office (.docx, .xlsx, .pptx) and PDF files appear in lists by title and metadata, with body reading planned in a later release.
list_documentsread-only — Lists cloud documents you explicitly shared with the connector (title, kind, last update date, readability).search_documentsread-only — Case-insensitive search across shared document titles and readable bodies, returning snippets with[¶n]block addresses for online documents.read_documentread-only — Reads one shared document page by page with its exact version token (rev) and[¶n]block addresses.create_documentwrite · non-destructive — Saves Markdown from your conversation as a brand-new Polery cloud document and returns a direct link to open it in Polery.propose_editswrite · non-destructive — Submits block-level edits against a Polery online document'srevand[¶n]addresses without modifying the file; flags modified numbers that also appear in untouched blocks and returns a review link.get_proposalread-only — Checks whether a submitted proposal is still pending or has been accepted, partially accepted, or rejected in Polery.
Example prompts
- "Search my shared Polery documents for Q3 pricing assumptions and summarize the open questions."
- "Turn our discussion above into a structured kickoff brief and save it as a new Polery document."
- "Read my shared service agreement in Polery and propose edits to tighten the payment schedule in paragraph 4 — check whether any numbers elsewhere in the document are affected."
Permissions, privacy, and revocation
- Manage anytime: open the account menu in Polery and choose AI Connector & Edit Proposals to copy the MCP URL, review pending proposals, add or uncheck shared documents, or revoke connected AI clients immediately.
- Zero-content logs: Polery's connector endpoint logs only path, tool name, status/reason code, and timing — never document contents, prompts, tokens, or user identifiers.
- Full details are covered in our Privacy Policy and Terms of Service.
Support
Questions, connection trouble, or security reports: support@polery.com.