MCP App Store
by KeenEthics
CKEditor Docs: Write & Review icon

CKEditor Docs: Write & Review MCP Server for ChatGPT

By Tiugo Technologies

Overview

CKEditor Docs gives you a full document editor inside ChatGPT. Ask AI to draft, edit or comment on a document, and every change appears as a tracked suggestion you can accept or reject. Ready for real-time collaboration with your colleagues and AI inside one document. What you can do: - Draft new documents from a prompt or an outline - Suggest changes from your AI prompts - Ask AI to comment on the document - Document sharing with real-time collaboration - edit and comment in the same document with your colleagues and AI across many ChatGPT convos - Accept or reject AI changes individually or in bulk - Compare earlier versions with revision history - Use AI Quick Actions for repeatable AI-powered text transformations - Format with headings, lists, tables, links and images - Use the plugin's web app to: - Run built-in content AI reviews that return inline suggestions for you to accept or reject - Export to Word and PDF - Import from Word Ask ChatGPT to draft a section, restructure a report, tighten the wording or fix formatting. Its edits arrive in the document as tracked suggestions, not as text to copy and paste. Each suggestion shows exactly what will change, and you accept or reject it one by one or all at once. The document keeps its formatting throughout: headings, lists, tables, and links. ChatGPT works with the document's structure, so its changes keep existing formatting intact. The preview in ChatGPT shows the document as it will look. Who it's for: anyone who writes or reviews long, structured documents, such as reports, proposals, policies, specifications and contracts, and wants AI help while keeping control over every change. Open any document in the CKEditor Docs web app to keep working on it in the full editor view.

How to connect

  1. ChatGPT: Open the CKEditor Docs: Write & Review listing in the ChatGPT app directory and choose Connect. ChatGPT listing CKEditor Docs: Write & Review exposes 36 tools here.

Tools

apply

ChatGPT
Writes the working copy into the document. The session stays open for more edits. Call it only where readDocument or searchDocument shows appliedBy: agent. Where it shows appliedBy: backend, this call fails, and the backend decides when your work reaches the document. Call it when your edits read the way you want, and the person is to see them now. Under applyOn: request, only this call puts your work into the document. Under applyOn: everyWrite, every write is in the document already, and this call says that it had nothing to write. Returns the number of operations in the patch. In suggest mode it also says how many suggestions the patch made. A long working copy goes in portions, from the top. If they take too long, this call fails with apply-unfinished, and its message says what the working copy still holds.

createDocument

ChatGPT
Creates a document with a first draft and opens it in the editor. Call it only when the user asks for a new document. Write content only from what the user gave you, such as their notes or links. If that is little, keep it short. For a photo or an illustration, call uploadImage with a real image file first. Write the <figure> that it returns. Write an SVG data: image only for a chart or a diagram. The answer gives the id, title and link of the new document. A second call makes another document, also with the same arguments. To change a document that is already open, edit it instead. If you hold no session on it, call openSession first.

decideSuggestions

ChatGPT
Accepts and rejects suggestions in the document. Call it only when the person asks you to accept or reject. A yes to your offer to accept or reject counts as a request. Name the suggestions in accept and reject by the ids that readSuggestions gives. A replacement is one suggestion, and any of its ids decides all of it. To decide all open suggestions that accept and reject do not name, set all to accept or reject. With all, keep names the suggestions that stay open. A decision reaches the document at once. After it, the suggestion is gone, and the comments of its thread are gone for anyone who opens the document later. To undo a decision, switch to suggest mode and suggest the reverse change. You may decide the suggestions of any author. Accepting needs a session that allows direct mode. In a session that allows only suggest mode, you can still reject your own suggestions. It fails where appliedBy: backend shows, because the backend writes your work. It fails while you hold writes that are not applied. The answer gives each decision with its text before and after and its section. It names each suggestion that was decided already, and counts the suggestions that stay open.

editComments

ChatGPT
Adds comments to the document: replies in comment threads and in the threads of suggestions, and new threads on text or whole blocks. It also resolves and reopens threads. A reply with the id of a suggestion as threadId goes into the thread of that suggestion. One call can add all the comments of one request. The comments go into the document at once. It fails while you hold writes that are not applied. A new thread quotes the text it comments on in text, as oldString of editDocument quotes it. The text must occur once in the working copy, in one block. To comment on whole blocks, such as a table, table rows or paragraphs, give their data-ids in from and to instead. A reply names a comment thread by an id from readComments, or a suggestion by an id from readSuggestions. One call adds the new threads first, then the replies, then it resolves and reopens. So a reply such as "Done" goes in before its thread is resolved. The tool does each part that it can and skips the others. The answer gives the id of each new thread and says why it skipped a part. If it changes nothing, it answers with an error. A call that adds no new thread keeps the block ids, unless a person changed the document. To remove a comment of yours, call removeComments. To change one, remove it and add it again. If you send the same call again, it adds its replies and its threads on text a second time. It skips its threads on from, because a new thread gives the blocks new ids.

editDocument

ChatGPT
Changes the working copy by string replacement. Each edit quotes the text to find in oldString and gives the new text in newString. oldString must match the working copy, tags included. Curly and straight quotes, no-break spaces and entities count as the same. Unchanged text keeps the characters of the working copy. An oldString with no tags also matches where inline tags split its words, and the tags stay. It does not match inside tags. To change an attribute, start oldString with "<" and the tag name, such as <p style="…". A data-id must match exactly. oldString must occur once, unless you set replaceAll. To rename a term or to change it everywhere, send one edit with replaceAll: true. searchDocument finds each occurrence first. To move, remove, write again or add whole blocks, the block tools take their data-id. One call is one write. The edits of a write run in order. If you send the same call again while an oldString still matches, it can make that edit again, such as when newString contains oldString. This tool applies the edits that match. The answer says how many occurrences each replaceAll changed. It names each edit that it skipped and why, and the removed words that the working copy still has. If no edit matches, it rejects the write. The editor then checks the write. It rejects a write that loses markup and says what is lost and why. The editor pairs each block with the document by its data-id. A block with no data-id, or with a new or copied one, goes in as a new block. A comment or suggestion marker is a pair of tags around text. The tool rejects a write that leaves a marker without text or drops a tag of it, unless removedMarkers names that comment marker. removedMarkers takes only comment markers. The tool also rejects a change to the text of a suggestion. In suggest mode, it accepts a change to a suggestion under your own name, or its removal. The answer says whether the write reached the document.

getDocument

ChatGPT
Gives the editor card the current title of a document of the user and the editor build and the editor settings that the document opens with. The editor card calls this tool itself. It refuses an id that names no document of the user. The answer gives you nothing to read or edit. To read or edit a document, call openSession.

getDocumentToken

ChatGPT
Gives the editor card a new Cloud Services token for a document the user owns or was given, so the editor stays connected. The editor card calls this tool itself. It refuses an id that names no document the user owns or was given. The answer gives you nothing to read or edit. To read or edit a document, call openSession.

getDocuments

ChatGPT
Returns the documents that the user owns or that other users shared with them. Each has its id, title, creation time, the role of the user (owner or writer) and the email of its owner. An untitled document has an empty title. Call it to find the document that the user names or describes, such as "the recent contract draft". Then call openDocument with its id. It holds titles only, not the text inside the documents. Call showDocuments only when the user asks to see their documents, or must pick one of several that match.

getEditorGuidance

ChatGPT
Runs one read-only bash command over a small filesystem that describes the editor of this session. Call it before you write markup that the document does not have yet, and for the full guide. For such markup, run cat README.md first: it lists the features this editor has, with an example of the markup or the values this editor allows, and the features it does not have. cat skills/<name>/SKILL.md gives the details of one feature. cat GUIDE.md gives the full guide to this session: the working copy, the settings, the HTML and the check. Only commands that read and search these files are available, such as ls, find, cat, head, tail, grep, wc and jq. echo and printf work too. No command can read the document. To read it, call readDocument. Nothing here changes the document.

getStarted

ChatGPT
Gives a short introduction and example requests that the user can try. Call it when the user asks what you can do with these document tools or how to start with them. It changes no document.

insertBlocks

ChatGPT
Inserts new blocks into the working copy, before or after a block named by its data-id. You do not quote any text around the place. Use it to add paragraphs, a section, list items, table rows, or a part of a new text. To add a table column, give a cell next to it in target and set column: true. target is the block that the new blocks go before or after, after by default. To put the same HTML at several places, list the blocks in targets instead of target. Give a new block no data-id. One call is one write. If you send the same call again while its target data-id is still in the working copy, it inserts the blocks a second time.

listDocumentMembers

ChatGPT
Returns who has access to a document: the owner first, then each member, then each pending invitation. Each entry has a user id, email, role and status. An entry with status: invited has no user id yet, because the person gets access when they first sign in. Call it when the user asks who has access to a document. Only the owner of the document can call it.

moveBlocks

ChatGPT
Moves whole blocks of the working copy to another place, named by their data-id. You do not type the blocks again, so they keep every character, tag, id and marker. Use it instead of editDocument to move paragraphs, sections, list items, table rows or table columns. Give the first block in from. Give the last block in to, or set section: true to take a heading or a landmark with everything under it. from and to must be in the same element, such as two rows of one table. target is the block that the moved blocks go before or after. To swap two blocks or two sections, set where: "swap". To sort or reverse blocks, list them in order instead of from, to and target. To bring blocks from different places together at target, list them in blocks instead of from and to. To move or reorder columns, list the cells of one row in order. Their columns then move in every row of the table. The blocks must hold both tags of each comment and suggestion in them. One call is one write. The answer says what moved.

openDocument

ChatGPT
Opens a document in the editor and answers with its id, title and link. Call it with an id from getDocuments or from the user. A document that is open needs no second call. It refuses an id that names no document the user owns or was given. To read or edit the document, call openSession with its documentId, unless you hold a session on it already. Everyone who has the document open sees your edits as you make them. To make a new document, call createDocument instead.

openSession

ChatGPT
Opens a session on one document. The answer holds the value that every other tool of that session takes as session. Call it once for each document you work on, before you read or edit it. Use that session for each later request about the same document, until a call says that the session ended. Each agent, and each subagent, opens its own session, unless another agent gives it one. You can hold sessions on several documents at the same time. Each tool call names the session it is for. A session ends one hour after it opens. A call to a session that ended says so. Then open a new session and continue. You can open the documents that the person who signed in owns, and the documents that other users shared with them. A data-id is valid only in the session that showed it. To split one document between agents, give each agent a part by its heading or by the first words of its first block.

readComments

ChatGPT
Reads the comment threads of the document, the open threads first and then the resolved threads. It has two modes. People add and resolve comments while you work, so an earlier answer can be out of date. Metadata mode, with onlyMetadata: true: lists the threads without their comments. For each thread, it gives its id, the commented HTML and the name of its marker. A thread on whole blocks, such as a table, shows the start of the text of each block. Call this mode each time the person asks about the comments or asks you to work on them. Read mode, without onlyMetadata: gives the threads in threadIds with their comments. Each comment has the name of its author and its HTML. Your own comments show your name and (you). Call this mode only when you know which threads to read, and take their ids from metadata mode. Here threadIds is required, and a call without it fails. One answer holds at most 10,000 characters of threads. The answer names the threads that do not fit. Call readComments again with their ids. The answer also names each id that it did not find in the document. Both modes: the tool reads the document as it is now, not the working copy. So the answer has the threads that a person added after your last read, and it does not show your held writes. The threads of suggestions are not in it: readSuggestions lists them. To answer a thread, to open a new one, or to resolve one, call editComments. A reply names its thread by the id that this tool gives. To remove your own comments, call removeComments.

readDocument

ChatGPT
Returns the working copy of this session as CKEditor HTML. Above it, the first read or search lists the settings that decide what your edits do. A later read gives only the version of the working copy. The next read or search after setMode or setApplyOn lists the settings again. So does a read or search that takes a new copy of the document. Read as HTML, a working copy of more than 30,000 characters comes as an outline. The outline lists its headings, its blocks in groups and each large table that is a block of its own, with their data-id. Then read a part with from and to, or a heading with everything under it with from and section: true. In a part, a large table shows its first rows as HTML, until each column has a cell of its own. Each other row is one line. A large table has more than 5,000 characters and at least two rows. A part that is too long ends early, and the answer says how to read on. To find a text, call searchDocument: its answer shows the HTML that an edit can quote. Read the working copy again after old-string-not-found. Each read first asks whether someone changed the document, and says so above the HTML. Every block carries a data-id attribute. Each long data: image URI shows as a stand-in, such as [image 5f3a9c1e: png, 18 KB], that every write turns back into the image. Every comment thread has a pair of <comment-start> and <comment-end> tags. Read with view: "text" only to change the words of many blocks, such as a translation or a change of tone. For one edit, a move or a caption, read the HTML.

readRevisions

ChatGPT
Lists the saved revisions of the document, newest first. For each revision, it gives its time in UTC, its id, its name and whose changes it holds. A revision is a copy of the whole document that people see in the revision history of the editor. Call it when the person asks about the revisions of the document, and before restoreRevision, for the id. It reads the document, not your working copy. It also says if the document has changes that no revision holds yet. It fails in a session on an uploaded document or a snapshot, and when the editor has no revision history.

readSuggestions

ChatGPT
Lists the open suggestions of the document in the order of the document, one for each suggestion as the editor shows it. A replacement is one suggestion. Each suggestion has a number, its id, its author, its kind, the text before and after, its section and block, and the comments of its thread. The answer starts with the counts by author and by kind. Your own suggestions show your name and (you). Call it when a request names suggestions by section, kind, author or number, or asks what changed. Call it also before you reply in the thread of a suggestion. To accept or reject all open suggestions, call decideSuggestions with all at once. all needs no list first. To list one part, give from, to and section as readDocument takes them. One answer holds at most 10,000 characters of suggestions. Then it says which after lists the next ones. A text before or after of more than 300 characters shows its start and its end, and names its block. Read that block for the whole text, and never quote a cut text in oldString. To accept or reject suggestions, call decideSuggestions with their ids. To reply in the thread of a suggestion, call editComments with its id as threadId.

removeBlocks

ChatGPT
Removes whole blocks from the working copy, named by their data-id. You do not quote the blocks. Use it instead of editDocument to remove paragraphs, sections, tables, list items, table rows or table columns. Give the first block in from. Give the last block in to, or set section: true to take a heading or a landmark with everything under it. from and to must be in the same element, such as two rows of one table. To remove blocks that are not next to each other, list them in blocks instead of from and to. A removed block that holds a comment needs its marker in removedMarkers, and a block that holds the suggestion of another person cannot be removed. One call is one write.

removeComments

ChatGPT
Removes your own comments from the document. Call it only when the person asks you to remove or change your comments. To change a comment, remove it, then add the new text with editComments. Without threadIds, it removes all your comments. It never removes a comment of a person. A comment thread with only your comments goes whole. In a thread that a person started, and in the thread of a suggestion, it removes only your comments. If a person replied to your first comment, that comment stays, because the replies would vanish with it. Only your later comments go. The answer names each such thread. editComments can resolve it. The removal reaches the document at once, and no tool can bring a removed comment back. It fails while you hold writes that are not applied.

renameDocument

ChatGPT
Changes the title of a document of the user. Call it when the user asks for a new title. The user sees the new title in the web app and on the editor card. The answer gives the id and the new title. It refuses an id that names no document of the user. To change the content of a document, call openSession and edit it instead.

replaceBlocks

ChatGPT
Replaces whole blocks of the working copy with new HTML that you type in full. To change some words in a block, editDocument fits better and keeps the rest as it is. Name the old blocks by their data-id: you do not quote them. Use it to write one or more paragraphs again, or to turn blocks into a list or a table. In an empty document, replace its empty paragraph with the new text. Give the first block in from. Give the last block in to, or set section: true to take a heading or a landmark with everything under it. from and to must be in the same element. A replaced block that holds a comment needs its marker in removedMarkers, unless the new HTML keeps both of its tags. One call is one write.

restoreRevision

ChatGPT
Replaces the content of the document with the content of a saved revision, as the Restore button of the revision history does. Call it only when the person asks. Name the revision by the id that readRevisions gives. First the editor keeps the document as it is now in a revision. To undo the restore, restore the revision that the answer names. If you send the same call again, it restores the revision again and saves one more revision. The restore reaches the document at once, as one direct change, also in suggest mode. People who type at that moment can lose what they type. After it, read the working copy again before you write. It fails while you hold writes that are not applied, and in a session that allows only suggest mode. It also fails where appliedBy: backend shows, in a session on an uploaded document or a snapshot, and when the editor has no revision history.

rewriteBlocks

ChatGPT
Gives many blocks new words in one write, such as for a translation or a change of tone. Send each block by its data-id with its whole new text, in the form of its line from readDocument with view: "text". The placeholders of the line become their tags again, so links and formatting stay. It writes only blocks that a text view of this working copy showed. It rejects a block whose text does not fit its line, says why, and writes the other blocks. The check runs once on the whole write and can reject it. One call is one write. For any other change, use editDocument.

saveFeedback

ChatGPT
Saves a rating, or a rating with a comment, that the person gives in a widget. The widget calls this tool itself. Each call adds a new entry with the visitId of the call. The answer gives you nothing to read or edit.

saveRevision

ChatGPT
Saves the document as it is now as a new revision with a name. People see it in the revision history of the editor, and restoreRevision can bring it back. Call it only when the person asks. The revision also holds the changes that people made after your last read. It does not hold your writes that are not applied, so it fails while you hold such writes. Call apply first. If the document has no changes after the newest revision, it saves nothing and names that revision. It fails where appliedBy: backend shows, in a session on an uploaded document or a snapshot, and when the editor has no revision history.

searchDocument

ChatGPT
Finds every occurrence of a text in the working copy, as a reader sees it. Tags do not count, so a text that inline tags split is one occurrence. Curly and straight quotes, no-break spaces and entities count as the same. A text never runs from one block into the next. Call it before an edit that must reach every occurrence of a text, and to find a text without reading the whole document. With from, to and section, it searches only the part that readDocument reads with the same values. The first line of the answer names that part. With regex, one call finds every text of a kind, such as every date. The answer gives the total first, and then one line for each group of occurrences close together in one block, with their number. The line gives the data-id and the kind of its block, and where the occurrence is, such as in a heading, list, table, link, code, comment or suggestion. It names the elements around the block by their data-id, such as in figure t1 > tr r4 for a cell, so a block tool can take the row or the table. Then under names up to two headings or landmarks that hold it. A landmark is a short bold, centred or capitals line that starts a section. block 812 of 2,314 gives its place in the document. Last comes the exact HTML of the working copy around it, in whole words. If that HTML is the whole content of its block, the line shows the block with its tags. You can quote that HTML in oldString of editDocument. If the answer shows only some of the occurrences, one line for each block then gives the number of its occurrences that are not shown. Each long data: image URI shows as a stand-in, such as [image 5f3a9c1e: png, 18 KB], that every write turns back into the image. Above its answer, the first read or search lists the settings that decide what your edits do. The next read or search after setMode or setApplyOn lists the settings again. So does a read or search that takes a new copy of the document.

setApplyOn

ChatGPT
Sets when your writes reach the document. Call it only where readDocument or searchDocument shows appliedBy: agent. Where it shows appliedBy: backend, this call fails. Set request when the person asks for several changes that belong together, or asks to see the work before it goes in. Your writes then wait in the working copy until you call apply. Set everyWrite to put each write in as you make it. A person who watches the document expects that. Call apply before you set everyWrite: while you hold writes, this call fails. Nobody can see a held write. The session loses it if the session ends without apply.

setMode

ChatGPT
Sets how your edits appear in the document from now on. Call it only when the person asks for the other mode, for example to edit the text directly instead of suggesting changes. The next patch uses the new mode, so work that is not in the document yet goes in under the new mode. Suggest mode needs Track Changes. In an editor without it, a call that sets suggest fails. Whoever opened the session can hold it to suggest mode. Then this call fails, and the first read or search says so above its answer.

shareDocument

ChatGPT
Gives a person access to a document, so that they can open and edit it, and emails them a link to it. Call it only when the user asks to share a document with a person, and use the email of that person. Only the owner of the document can share it. An email with no CKEditor Docs account gets an invitation, and the person gets access when they first sign in with that email. It answers with the new member or invitation. It fails when the email is the owner's, or when the person has access or an invitation already. To see who has access, call listDocumentMembers.

showDocuments

ChatGPT
Shows the user a list of the documents they own or that other users shared with them, each with its id, title and creation time. Call it only when the user asks to see their documents, or must pick one of several that match. A chat that can show widgets shows the list, and the user opens a document with a click. To find a document to open, call getDocuments instead.

unshareDocument

ChatGPT
Takes away the access of one member to a document, or cancels the invitation of a person who has no account yet. Call it only when the user asks to stop sharing a document with a person. Only the owner of the document can call it. Give the email of the person, or the userId of a member from listDocumentMembers. When a member loses access, everyone who has the document open is disconnected. The owner and the other members connect again, and the removed member cannot. A call for a person with no access and no invitation changes nothing.

uploadImage

ChatGPT
Uploads images so that a document can show them. Returns a <figure> for each image, with the address of the image as its src. The lines come in the order of images and then urls. A failure names its image by this order, such as "Image 2". Call it before you write an image into a document. For a photo or an illustration, upload a real image file. Send files of the chat in images, such as a photo or an image that you generate with your image tool. Send addresses of image files on the web in urls. Each image goes into the document as it is. Send the photo or the illustration itself, not an image of a whole page. It takes up to 5 images in one call: PNG, JPEG, WebP or GIF, each up to 20 MB. A web address must give the image file itself, not a web page. An image that cannot be uploaded gets a line that says why, and the others are still uploaded. A second call uploads the images again. Write an SVG data: image in the HTML only for a chart or a diagram.

validateHtml

ChatGPT
Asks the editor what it keeps of the given HTML. Nothing changes. Do not call it before a write: every write runs this check, and rejects a write whose decision is not apply. The report gives one decision. apply: nothing is lost. review: an element, an attribute or a style is lost. revise: text or a structure is lost. Each finding names what is lost and why. A finding that says an element is stored under another name is not a loss: write that name next time. getEditorGuidance says which markup this editor accepts.

viewImages

ChatGPT
Shows you the images of a document. Give the src of each <img> as readDocument or searchDocument shows it. Call it when the user asks about an image. Call it also when your task needs what an image shows, such as an alt text. The answer gives a WebP copy of each image after a line with its number and src, in the order of urls. It takes up to 4 images in one call. It shows only images from CKBox, where CKEditor Docs keeps the images of documents. A data: image, such as an SVG chart, is not shown. An image that cannot be shown gets a line that says why, and the others are still shown.

Capabilities

InteractiveWrites

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/ckeditor-docs-write-review"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/ckeditor-docs-write-review)