Connect your AI agent to DocSync with MCP

DocSync connects to your existing AI agent through the Model Context Protocol (MCP). Once connected, the agent can save drafts to your DocSync workspace, and you can review or present the results in your browser.

Open Agents in your DocSync workspace and copy its MCP server URL. Substitute that address for the example below. For browser-hosted agents, use a DocSync deployment with a public HTTPS address. A local CLI can also connect to a local DocSync server.

Connect DocSync

Example MCP server URLhttps://your-docsync-host/mcp

Command-line clients

Codex CLI
codex mcp add docsync --url https://your-docsync-host/mcp
Approve access in your browser. If DocSync is still signed out, run codex mcp login docsync. In Codex, use /mcp to check the connection.
Codex CLI setup guide
Claude Code CLI
claude mcp add --transport http docsync https://your-docsync-host/mcp
Open Claude Code, run /mcp, then choose docsync → Authenticate. The command adds DocSync to the current project.
Claude Code CLI setup guide
Gemini CLI
gemini mcp add --transport http docsync https://your-docsync-host/mcp
Start Gemini CLI, run /mcp auth docsync, and approve the connection in your browser.
Gemini CLI setup guide
Antigravity CLI
agy mcp add --type http docsync https://your-docsync-host/mcp
Open Antigravity and run /mcp to check DocSync. If it needs authentication, follow the browser sign-in prompts. You can also authenticate it from Antigravity App → Customizations → Installed → MCP Servers.
Antigravity CLI setup guide

Web and desktop clients

ChatGPT web & Projects
  1. From ChatGPT’s Plugins settings, click Browse directory to open ChatGPT Plugins. Click + → Add custom MCP server.
  2. Enter these connection settings.
    Name
    DocSync
    Connection URL
    https://your-docsync-host/mcp
    Authentication
    OAuth
    Client registration
    Dynamic client registration, if prompted
  3. Review the connection, click Create as a plugin, and install it. Sign in to DocSync and approve access when prompted.
  4. In a new chat, type @DocSync, select the plugin, and ask List my DocSync documents. In a project chat, use the same picker when the plugin is available there.

If Add custom MCP server is missing, check whether your plan or workspace allows Create plugins with MCPs. The Plugins directory setup works without Developer Mode.

ChatGPT web & Projects setup guide
Claude web & Claude Code on the web
  1. Open Claude → Customize → Connectors → + Add → Add custom connector.
  2. Name it DocSync and paste the MCP server URL. Choose Sign in now and Register automatically if those options are shown.
  3. Connect and approve access in DocSync. In a Claude chat, enable it from + → Connectors. For Claude Code on the web, authorize the connector in Claude first.
On Team and Enterprise, an admin may need to add DocSync in Organization settings first.
Claude web & Claude Code on the web setup guide
Gemini web
  1. In Gemini on the web, choose Customize → Connectors, or open Gemini Connectors directly. Click + Custom next to Search.
  2. In Connect to an MCP server, paste https://your-docsync-host/mcp into MCP Server URL. Keep Additional settings at their defaults and click Next.
  3. Follow Gemini’s prompts to sign in to DocSync and approve access. In a new chat, type @DocSync, select the connector, and ask List my DocSync documents.

If + Custom is missing, check Google’s eligibility requirements for custom connectors, including your account and Gemini History settings.

Gemini web setup guide
Antigravity App & IDE
  1. In the App, open Customizations → Installed → MCP Servers → Copy Config File Path. In the IDE, open … → MCP Servers → Manage MCP Servers → View raw config.
  2. Add the docsync entry to the existing mcpServers object.
{
  "mcpServers": {
    "docsync": {
      "serverUrl": "https://your-docsync-host/mcp"
    }
  }
}
Reload the server list, select Authenticate next to DocSync, and follow the browser prompts.
Antigravity App & IDE setup guide
Codex on the web & ChatGPT desktop
For browser-based work with DocSync, install the remote plugin using the ChatGPT web steps above.
For local Codex in the ChatGPT desktop app, open Settings → MCP servers → Add server, choose Streamable HTTP, and paste the MCP server URL. Save, restart, and select Authenticate next to DocSync.
Codex on the web & ChatGPT desktop setup guide

Check the connection

Ask your agent to run DocSync’s get_connection tool. A successful result shows the workspace origin and whether the agent can publish. If the agent needs sign-in, start a fresh authentication flow from its MCP menu or reconnect the app in its settings.

Allow publishing is checked when you connect. You can uncheck it before authorizing or change the permission under Authorized MCP clients in Agents. Anyone with a published link can view that saved version.