Modern Docs MCP for Claude Code, Codex, and Cursor

Connect Claude Code, Codex, Cursor, or Claude Desktop to Modern Docs over MCP. Choose your client and follow the setup steps.

MCP endpoint

https://moderndocs.app/mcp

Sign in through your browser when prompted. No API key needed. Your agent can only access documents you have permission to use.

Install the Modern Docs skill

Install the skill before creating or editing documents with your agent. Choose your client below or use the CLI, then connect the MCP to give your agent document access. Clients without skill support are marked in their tab.

Configuration
npx skills add productiwity/modern-docs-agent --skill modern-docs
  1. 1.Run the command and choose the agent clients where you want to install the skill.
  2. 2.Restart the client so it loads the new skill.
  3. 3.Ask the agent to use the Modern Docs skill before creating or editing a document.

Codex and ChatGPT

Connect through the desktop app, IDE extension, ChatGPT web, or Codex CLI.

Official guide

Before connecting Codex and ChatGPT, install the Modern Docs skill. Follow the skill tab for your client.

Set up Codex in the ChatGPT desktop app without using a terminal.

  1. 1.Open Settings, then MCP servers, and select Add server.
  2. 2.Name it modern-docs, choose Streamable HTTP, and enter https://moderndocs.app/mcp.
  3. 3.Save, select Restart, then select Authenticate beside Modern Docs and finish sign-in.
  4. 4.Start a chat and ask Modern Docs to list your documents.
Official setup guide

Claude and Claude Code

Use a remote connector in Claude desktop or web, or keep the Claude Code CLI setup.

Official guide

Before connecting Claude and Claude Code, install the Modern Docs skill. Follow the skill tab for your client.

Claude desktop and claude.ai use account-level remote connectors. Team and Enterprise owners may need to add the connector before members can connect.

  1. 1.Open Customize → Connectors in Claude desktop or at claude.ai.
  2. 2.Select + → Add custom connector. Name it Modern Docs and enter https://moderndocs.app/mcp as the remote MCP server URL.
  3. 3.Leave optional OAuth client credentials empty and select Add. Select Connect and finish Modern Docs sign-in.
  4. 4.Start a chat, enable Modern Docs in the connector controls, and ask it to list your documents.
Official setup guide

Cursor

Connect in the desktop editor or set up a separate connection for Cloud Agents on the web.

Official guide

Before connecting Cursor, install the Modern Docs skill. Follow the skill tab for your client.

Custom servers still need a small config entry. You can edit it in Cursor without a terminal.

Configuration
{
  "mcpServers": {
    "modern-docs": {
      "url": "https://moderndocs.app/mcp"
    }
  }
}
  1. 1.Use File → Open File to open ~/.cursor/mcp.json. If it does not exist, create mcp.json in the .cursor folder inside your home folder.
  2. 2.Merge the configuration above with existing servers, save, and restart Cursor.
  3. 3.Open Customize → MCPs, enable Modern Docs, and complete its OAuth sign-in prompt.
  4. 4.Open Agent and ask Modern Docs to list your documents.
Official setup guide

VS Code and GitHub Copilot

Adds the server to the current workspace. Use the user MCP configuration instead if you want it in every project.

Official guide

Before connecting VS Code and GitHub Copilot, install the Modern Docs skill. Follow the skill tab for your client.

VS Code provides a guided setup form. These settings apply to Copilot in VS Code, not a separate GitHub.com chat.

  1. 1.Open the Command Palette with Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows/Linux. Select MCP: Add Server.
  2. 2.Choose HTTP and enter https://moderndocs.app/mcp. Name the server modern-docs.
  3. 3.Choose Global for all projects or Workspace for this project. Review and trust the server, then complete OAuth.
  4. 4.In Copilot Chat, select Agent and enable Modern Docs in the tools picker. Ask it to list your documents.
Official setup guide

Google Antigravity IDE and CLI

Adds Modern Docs to Antigravity IDE or Antigravity CLI using their shared MCP configuration format.

Official guide

Before connecting Google Antigravity IDE and CLI, install the Modern Docs skill. Follow the skill tab for your client.

Use the IDE menus to open the config. Custom servers still need a JSON entry; no terminal is needed. These steps are for the installed IDE, not a web app.

Configuration
{
  "mcpServers": {
    "modern-docs": {
      "serverUrl": "https://moderndocs.app/mcp"
    }
  }
}
  1. 1.Open the three-dot menu at the top of the agent panel and select MCP Servers.
  2. 2.Select Manage MCP Servers, then View raw config. Merge the configuration above with existing entries and save.
  3. 3.Open Settings → Customizations and select Authenticate beside Modern Docs. Complete OAuth and follow the prompts to return the authorization code if asked.
  4. 4.Refresh the server, then ask the agent to list your Modern Docs documents.
Official setup guide

Other MCP clients

Use these steps when your client supports remote Streamable HTTP servers and browser-based OAuth.

  1. 1.Create a remote MCP server named Modern Docs and choose Streamable HTTP as its transport.
  2. 2.Set its server URL to https://moderndocs.app/mcp. Do not add an API key or bearer token.
  3. 3.Start the connection, complete OAuth in your browser, and approve documents:read and documents:write.
  4. 4.Run the documents_list tool. If it returns your available documents, setup is complete.