# Using Monton

Each section says what a feature is for, how you use it in the web app, and what to ask your agent. Your agent does most of what you can do, through the tools in [the MCP reference](https://monton.dev/docs/mcp). We say where something works only in the app. The examples use the Workshop plan from [the quickstart](https://monton.dev/docs#quickstart).

## Edit a doc {#editing}

Docs are markdown, with headings, lists, tables, links, code and diagrams. You, your teammates and your agents can edit the same doc at once, and everyone sees the others' changes as they type.

**In the app.** We open a doc in Read mode, which shows it formatted. To change it, choose **Edit** in the doc's header. In Edit mode we show the markdown only where your cursor is, so the rest of the doc stays formatted while you type. Beside the header you see who else has the doc open, and in the doc you see each agent's cursor with its name. We save as you type, so there's no Save button, and we add a version to History 30 seconds after edits stop and whenever an agent writes. To start a doc, choose **New doc** at the top of the sidebar's list of docs. Commenters and viewers see **Read only** instead of Edit and Read.

**With your agent.** To change part of a doc, your agent calls [`edit_doc`](https://monton.dev/docs/mcp#edit_doc) with the exact text to replace. To rewrite a doc, it reads it with [`read_doc`](https://monton.dev/docs/mcp#read_doc) and sends the new text to [`write_doc`](https://monton.dev/docs/mcp#write_doc). It starts a new doc with [`create_doc`](https://monton.dev/docs/mcp#create_doc). If you have the doc open, you see its changes arrive.

> In the Workshop plan in Monton, cut the exercises to 15 minutes and leave the rest as it is

## Comments and threads {#comments}

Comment on a passage to ask for a change, ask a question or record a decision. Others reply in the thread, and someone resolves it when it's done.

**In the app.** Select some text and choose **Comment**. Type `@` and a name to mention a person or an agent, then choose **Comment** again to send it. Open a thread to **Reply**, and choose **Resolve** when it's done; choose **Show resolved** to see resolved threads, and **Reopen** to open one again. When someone edits the passage, we keep the comment on it. When someone deletes or rewrites it, we mark the thread **Outdated** rather than guess where it belongs; read [what to do with an outdated comment](https://monton.dev/docs/troubleshooting#outdated-comments). On a wide screen, we show comments beside the doc, and you can minimize a thread to one line. On a narrower one, choose the comment count in the header, such as **2 comments**, or **Comments** when there are none. Commenters, editors and owners can comment; viewers read the comments.

In your **Inbox**, in the sidebar, we list mentions of you, replies in threads you're in, and new threads on docs you changed last. Open an item to go to its thread, and choose **Mark done** for what you've handled.

**With your agent.** Your agent reads a doc's threads with [`list_comments`](https://monton.dev/docs/mcp#list_comments), starts one with [`comment`](https://monton.dev/docs/mcp#comment), answers with [`reply`](https://monton.dev/docs/mcp#reply) and closes one with [`resolve_comment`](https://monton.dev/docs/mcp#resolve_comment). Agents have an inbox of their own: they list the comments meant for them with [`get_inbox`](https://monton.dev/docs/mcp#get_inbox), and clear an item with [`mark_done`](https://monton.dev/docs/mcp#mark_done).

> Read the comments on the Workshop plan in Monton, make the changes they ask for, and reply in each thread to say what you did

## History, diffs and restoring {#history}

We keep every version of every doc, with who made it: a person, or an agent and the person it works for.

**In the app.** Choose **History** in the doc's header and choose a version to read it. Choose **Changes in this version** to see what changed in that version, or **Compare with current** to see everything that changed since. Choose **Restore this version** to bring the doc back to that text for everyone who has it open; we keep the current text in History, so you can come back to it. Editors and owners can restore. Choose **Save version** to save every doc in the workspace under a name you can find in History later, such as "Ready for review". On the workspace's home, choose a doc under **Latest changes** to open it at its change.

![History for the Workshop plan, showing the lines Claude changed, with Restore this version at the top and the list of versions beside it](https://monton.dev/assets/docs/history-7f747ddf.png)

**With your agent.** Your agent lists a doc's versions with [`get_history`](https://monton.dev/docs/mcp#get_history), compares two with [`get_diff`](https://monton.dev/docs/mcp#get_diff), and reads an old one with [`read_doc`](https://monton.dev/docs/mcp#read_doc) and its `at` input. To restore one, it reads the old text that way and writes it back with [`write_doc`](https://monton.dev/docs/mcp#write_doc). Saving a named version works only in the app.

> Tell me what changed in the Workshop plan in Monton this week, and who changed it

## Sharing {#sharing}

Members belong to a whole workspace. You can also share one folder or doc with someone else, a guest, or let anyone read a doc through a public link.

**Members and roles.** Choose **Members** in the sidebar. An owner adds someone by email with a role: an owner edits, comments and manages members; an editor creates and edits docs, and comments; a commenter reads and comments; a viewer reads docs and their comments. Owners change a member's role or remove them in the same list.

**Share a folder or a doc.** Choose **Share** in the doc's header, or **Share…** in a folder's or a doc's menu in the sidebar. Enter the person's email, choose **Editor**, **Commenter** or **Viewer**, and choose **Share**. They see that folder or doc, with its whole history and its comments, and nothing else in the workspace. Under **Who has access** you see everyone who has it, and you can change a role or stop sharing. Owners share with people. A guest finds what people shared with them under **Everything shared with you**, in the workspace menu at the top of the sidebar.

**Invites.** When you add or share with someone who doesn't use Monton yet, we email them an invite link and show it to you too. The person who signs in with that email can use the link once, within 7 days. Until they accept, they wait under **Invites waiting**, where you can make a new link or revoke the invite.

**Public links.** In a doc's Share dialog, turn on **Anyone with the link can read**. Anyone with the link reads the doc without signing in, but not its comments or its history, and we ask search engines not to list it. If you turn it off, nobody can open the link any more; turn it on again and we make a new link. Owners and editors can make a public link for a markdown doc, but not for a folder or an HTML page.

![The Share dialog for the Workshop plan, shared with Mia as a commenter, with the public link off](https://monton.dev/assets/docs/share-f7038ad7.png)

**With your agent.** If your agent inherits your access, you can ask it to add a member with [`add_member`](https://monton.dev/docs/mcp#add_member) or share a folder or doc with [`share`](https://monton.dev/docs/mcp#share). Changing a role, removing someone and public links work only in the app.

> Share the plans folder in my Monton workspace with mia@example.com as a commenter

## Import {#import}

Bring in docs you already have: a folder of notes, a Notion or Obsidian export, a repo's docs.

**In the app.** Choose **Import** on the workspace's home or a folder's page, or **Import docs…** in the **More file actions** menu at the top of the sidebar's list of docs. You can also drop files on the page. Choose a folder, or a .zip or .tar.gz file, choose where to put the docs under **Import into folder**, check the **Preview**, and import. We bring in .md, .markdown, .mdx, .txt and .html files with their folders, leave out other files, and never replace a doc that's already there. You can import up to 2,000 files at a time, 1 MiB each and 25 MiB in all. Editors and owners can import.

**With your agent.** Your agent gets a link to the import page from [`start_import`](https://monton.dev/docs/mcp#start_import) and passes it to you; with [`get_import`](https://monton.dev/docs/mcp#get_import), it sees what came in. For a few docs, it can write them itself with [`create_docs`](https://monton.dev/docs/mcp#create_docs). A coding agent can also run [`monton import`](https://monton.dev/docs/cli#import).

> I want to bring my notes folder into Monton. Give me the link to import it.

## Download as a zip {#download-zip}

Take a copy of your docs out of Monton, with their folders.

**In the app.** To download a whole workspace, open the workspace menu at the top of the sidebar and choose **Download as zip**. For one folder, choose **Download as zip** in the folder's menu in the sidebar. In the zip, we put the docs you can see, as they are now, in their folders, without their comments. You can download 20 zips an hour.

**With your agent.** A coding agent keeps a copy of a workspace as files with [`monton clone`](https://monton.dev/docs/cli#clone), and brings it up to date with [`monton pull`](https://monton.dev/docs/cli#pull). An agent that reaches Monton only through MCP reads docs one at a time with [`read_doc`](https://monton.dev/docs/mcp#read_doc).

> Clone my Monton workspace into a folder called docs here

## Search {#search}

Find a doc by its name or by any words in it.

**In the app.** Choose **Search** in the header, or press ⌘K (Ctrl+K on Windows and Linux) anywhere in a workspace, even while you edit. Type several words to find docs with all of them, put words in quotes to find a phrase, write -word to leave out docs that have it, and write OR between two words to find either. Choose **All workspaces** to search every workspace you're in, and **Include archived** to search archived docs too.

**With your agent.** Your agent searches the current text of your docs with [`search`](https://monton.dev/docs/mcp#search), in one workspace or all of yours.

> Search my Monton workspaces for what we decided about pricing, and tell me which docs say it

## Stars {#stars}

Star the docs you come back to, so they're one click away.

**In the app.** Open the **…** menu in the doc's header, Doc actions, and choose **Star**; a doc's menu in the sidebar has it too. We show your starred docs under **Starred** at the top of the sidebar. Choose **Unstar** to take a doc off the list. Your stars are yours alone, up to 200 in a workspace.

**With your agent.** Your agent stars a doc for you with [`star_doc`](https://monton.dev/docs/mcp#star_doc), and lists your starred docs with [`get_tree`](https://monton.dev/docs/mcp#get_tree) and its `starred` input, so you can point it at them.

> Read my starred docs in Monton and tell me which ones changed this week

## Make a copy {#make-a-copy}

Start a new doc from an existing one, such as last month's report.

**In the app.** In the doc's **…** menu, choose **Make a copy**. We create the copy in the same folder, named like `workshop-plan (copy).md`, and open it. It has the doc's current text and a history of its own, but not its comments, stars, shares or public link.

**With your agent.** Your agent copies a doc with [`copy_doc`](https://monton.dev/docs/mcp#copy_doc).

> Make a copy of the Workshop plan in Monton and change it for a 60-minute workshop

## Archive {#archive}

Archive docs you want to keep for reference but out of the way.

**In the app.** In the doc's **…** menu, choose **Archive**. In the sidebar, choose **Archive** in a doc's menu to archive that doc, or in a folder's menu to archive every doc in it. Right after, you can choose **Undo**. An archived doc is read-only, comments included, until someone unarchives it. Find your archived docs on the **Archived** page, in the workspace menu at the top of the sidebar, and choose **Unarchive** to bring one back. We leave archived docs out of search unless you choose **Include archived**. Editors and owners can archive.

**With your agent.** Your agent archives docs with [`archive_doc`](https://monton.dev/docs/mcp#archive_doc) and brings them back with [`unarchive_doc`](https://monton.dev/docs/mcp#unarchive_doc). We leave archived docs out of [`get_tree`](https://monton.dev/docs/mcp#get_tree) and [`search`](https://monton.dev/docs/mcp#search).

> Archive the meeting notes from last year in my Monton workspace

## Delete and Recently deleted {#delete}

Delete a doc you don't need. You can bring it back.

**In the app.** In the doc's **…** menu, or its menu in the sidebar, choose **Delete…** and confirm. We remove the doc for everyone, including anyone who has it open. When you delete a folder, you delete everything in it. We keep the history of what you delete: open **Recently deleted** in the workspace menu at the top of the sidebar, and choose **Restore** for a doc, or **Restore all** for everything someone deleted at once. We bring the doc back with the text it had, its history and its comments. Editors and owners can delete and restore.

**With your agent.** Your agent deletes a doc with [`delete_doc`](https://monton.dev/docs/mcp#delete_doc) and brings one back with [`restore_doc`](https://monton.dev/docs/mcp#restore_doc). If another doc took its name meanwhile, we restore it beside that doc with " (restored)" in its name.

> Bring back the hiring plan I deleted from Monton yesterday

## HTML pages {#html-pages}

A doc whose name ends in `.html` is an HTML page: we show it as a web page, with its layout, charts and scripts, rather than as text. An agent makes one by writing a `.html` doc with [`create_doc`](https://monton.dev/docs/mcp#create_doc), and changes it as it changes any other doc. We keep every version, as for every doc, and people comment on it as on any other. In the app, choose **Source** to see and edit its HTML, and **Page** to see the page again.

We run a page's scripts in a sandbox and block its network requests, except for libraries from cdnjs.cloudflare.com, cdn.jsdelivr.net, unpkg.com, cdn.tailwindcss.com and code.jquery.com, and fonts from Google Fonts. We show images only from those sites and from `data:` URLs, which hold the image itself.

To try one, ask your agent:

> Make an HTML page in Monton that shows this week's plan as a timeline

## Email notifications {#email-notifications}

We email you when someone mentions you, replies in your threads, adds you to a workspace or shares something with you. We wait about 10 minutes, then send one email with what you haven't seen in Monton yet. We show new threads on docs you changed only in your inbox, and you see everything there.

**In the app.** To stop these emails, open your account menu at the bottom of the sidebar, choose **Email notifications**, and turn off **Email me about mentions, replies and shares**. At the end of each email, choose **Turn off these emails** to do the same, or unsubscribe to stop all email from Monton, invites included.

**With your agent.** We don't email agents. Your agent sees what's meant for it with [`get_inbox`](https://monton.dev/docs/mcp#get_inbox), and we ask it to check at the start of each session.

> Check your Monton inbox and tell me what people asked you to do

## Keyboard shortcuts {#keyboard-shortcuts}

On Windows and Linux, use the Ctrl shortcut after each Mac one.

- `⌘K` or `Ctrl+K`: search, from anywhere in a workspace.
- `⌘\` or `Ctrl+\`: hide or show the sidebar, on a wide screen.
- `⌘⌥M` or `Ctrl+Alt+M`: comment on the text you selected, in Read mode too.
- `⌘Enter` or `Ctrl+Enter`: send a comment or a reply.
- `⌘Z` or `Ctrl+Z`: undo your last edit. We undo only your own edits, never someone else's.
- `⌘⇧Z` or `Ctrl+Y`: redo.
- `⌘F` or `Ctrl+F`: find text in the doc, with your cursor in it.
- `⌘+click` or `Ctrl+click`: open a link while you edit. In Read mode, click to open it.
- While editing a Markdown list, use `Tab` to nest an item under the previous item, or `Shift+Tab` to move it up a level. You need a previous sibling to move an item in and a parent item to move it out. We keep the text as it is if the move would change a code block’s contents or boundaries. In quoted lists or on an inner item that starts on the same line as its parent, use Tab as you would in ordinary text.
- To leave the editor from a list, press `Escape`, then Tab or Shift+Tab within two seconds.
- `Tab` and `Shift+Tab`: move to the next or the previous cell of a table.
- `F2`: rename the doc or folder you selected in the sidebar.

## Monton on a phone {#phone}

You can use Monton in your phone's browser, with the same docs, comments and inbox.

**In the app.** On a narrow screen, open the sidebar with the menu button at the top left. We open a doc in Read mode; to change it, open the **Reading** menu and choose **Editing**. Choose the comment count in the header, or **Comments** when there are none, to read and answer threads. When you select text on a touch screen, we show the **Comment** button at the bottom of the screen. To share, use **Share…** in the doc's **…** menu. We show History on the whole screen; choose **Versions** to go back to the list.

![The Workshop plan on a phone, in Read mode, with the Reading menu, the comment count and History in the header](https://monton.dev/assets/docs/phone-36582d43.png)

**With your agent.** In Claude's phone app, Claude reaches Monton through the same connection as on your computer; see [Connect your agent](https://monton.dev/docs/connect#claude). Ask it about a doc's open comments, and it reads them with [`list_comments`](https://monton.dev/docs/mcp#list_comments).

> Summarize the open comments on the Workshop plan in Monton, and tell me which ones need me
