# Connect an agent to Docmunk

> Source: https://help.docmunk.com/agents/connect-claude-or-chatgpt-to-docmunk
> Updated: November 13, 2026

An agent that you connect can work in Docmunk for you: bring a help center in, change many articles at once, and draft new ones. You stay in the tool you already use.

> [!NOTE]
> A connected agent works as you. It has your role in the organization you choose, and no more. It cannot publish until you turn on May publish for it, and you can remove it at any time.

You do all of this on **Agents**, in the account menu.

## Connect Claude or ChatGPT

1. On Agents, under Connect an agent, choose **Claude** or **ChatGPT**, then select **Copy** beside the connector address.
2. Add the address to your chat app as a custom connector. In Claude, go to Customize › Connectors › Add custom connector. In ChatGPT, go to Plugins › Add › Add custom MCP server.
3. Your chat app sends you to Docmunk. On the Connect screen, check the name beside As. If you belong to more than one organization, choose one in **Organization**. Select **Allow**, or select **Cancel** to give it no access.

## Connect Claude Code

Choose **Claude Code**. Copy the line under In a terminal and run it in your repository. Then run `/mcp` in Claude Code and sign in to Docmunk.

## Connect with a token

Use a token for an agent that cannot open a browser to sign in, such as one that runs on a server. Choose **A token**, enter a **Token name** that says where the agent runs, and select **Make a token**.

> [!WARNING]
> Docmunk shows the token once. Copy it then, and keep it secret: an agent with the token works as you.

## Let an agent publish

A new agent cannot publish. It can save edits and set articles to publish, and then you publish them on Changes. To let it publish by itself, turn on **May publish** beside its name.

Turn it on only for an agent whose work you trust, because a publish reaches your readers at once. The agent cannot turn it on itself. If an agent says “This connection may not publish”, May publish is off for it.

## See what an agent did

Each connected agent shows when it was last used, or “Not used yet”. Every save that an agent makes carries your name, so an article's history shows the save as yours.

## Remove an agent

Select **Remove** beside its name. The agent can no longer reach Docmunk, and what it saved stays. Remove an agent when you stop using its tool, or when its token may be known to someone else.
