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
https://your-docsync-host/mcpCommand-line clients
Codex CLI
codex mcp add docsync --url https://your-docsync-host/mcpcodex mcp login docsync. In Codex, use /mcp to check the connection.Claude Code CLI
claude mcp add --transport http docsync https://your-docsync-host/mcp/mcp, then choose docsync → Authenticate. The command adds DocSync to the current project.Gemini CLI
gemini mcp add --transport http docsync https://your-docsync-host/mcp/mcp auth docsync, and approve the connection in your browser.Antigravity CLI
agy mcp add --type http docsync https://your-docsync-host/mcp/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.Web and desktop clients
ChatGPT web & Projects
- From ChatGPT’s Plugins settings, click Browse directory to open ChatGPT Plugins. Click + → Add custom MCP server.
- Enter these connection settings.
- Name
- DocSync
- Connection URL
https://your-docsync-host/mcp- Authentication
- OAuth
- Client registration
- Dynamic client registration, if prompted
- Review the connection, click Create as a plugin, and install it. Sign in to DocSync and approve access when prompted.
- 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 guideClaude web & Claude Code on the web
- Open Claude → Customize → Connectors → + Add → Add custom connector.
- Name it DocSync and paste the MCP server URL. Choose Sign in now and Register automatically if those options are shown.
- 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.
Gemini web
- In Gemini on the web, choose Customize → Connectors, or open Gemini Connectors directly. Click + Custom next to Search.
- In Connect to an MCP server, paste
https://your-docsync-host/mcpinto MCP Server URL. Keep Additional settings at their defaults and click Next. - 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 guideAntigravity App & IDE
- In the App, open Customizations → Installed → MCP Servers → Copy Config File Path. In the IDE, open … → MCP Servers → Manage MCP Servers → View raw config.
- Add the
docsyncentry to the existingmcpServersobject.
{
"mcpServers": {
"docsync": {
"serverUrl": "https://your-docsync-host/mcp"
}
}
}Codex on the web & ChatGPT desktop
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.