About Slashdocs
Slashdocs is an MCP server published by razorpay in the Communication category: give your agents the power to publish reviewable HTML documents. Self-hosted server + CLI + remote MCP; agents push, humans review with comments and versions. Conduid read 52 tools from its source: create_comment, create_document, create_folder, create_point_comment, create_service_account_transfer, delete_comment and 46 more. No package is published for it, so it installs from a source checkout.
The repository has 430 stars and 61 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.5.0 (16 Nov 2026): slashdocs v0.5.0 Docker image docker pull razorpay/slashdocs:0.5.0 Helm chart: slashdocs-0.5.0.tgz is attached below. It follows v0.4.1 (28 Oct 2026), and the 5 most recent releases go back to v0.2.1 (13 Oct 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include code-review, documents, html, react and self-hosted.
Install
git clone https://github.com/razorpay/slashdocsTools (52)
create_commentCreate a review comment anchored to exact text in a document version.| Parameter | Type | Description |
|---|---|---|
| body * | string | Comment text. |
| prefix | string | Text immediately before the quote. |
| quote * | string | Exact selected text. |
| suffix | string | Text immediately after the quote. |
create_documentCreate a slashdocs document from complete self-contained HTML. Returns its document and initial version IDs. The server applies its configured default sharing at create; when a default grant was applied, the result carries default_grant (grant_id, principal, role) plus a warning describing who can access the document and how to revoke the grant. With folder_id, the document is in that folder from the start, and permission_warning tells when the folder is shared.| Parameter | Type | Description |
|---|---|---|
| folder_id | string | Optional folder ID (fld_…) for the document. Requires editor on the folder. The default is the workspace root. |
| html * | string | Complete self-contained HTML, up to 50 MiB. |
| title * | string | Human-readable document title. |
create_folderCreate a folder at the workspace root or below a parent folder.| Parameter | Type | Description |
|---|---|---|
| parent_folder_id | string | Optional parent folder ID. |
| title * | string | Folder title. |
create_point_commentCreate a review comment pinned to a spot on an element, such as a chart, diagram or image, in a document version.| Parameter | Type | Description |
|---|---|---|
| body * | string | Comment text. |
| label | string | A short name for the element in comment lists, such as "Revenue chart". |
| quote | string | The start of the element's text, which finds the element again when its target changes. |
| target * | string | The element's data-slashdocs-target value, or else its id. |
| x * | number | Horizontal position as a fraction of the element's box, 0 (left) to 1 (right). A value below 0 or above 1 is a spot beside the box. |
| y * | number | Vertical position as a fraction of the element's box, 0 (top) to 1 (bottom). A value below 0 or above 1 is a spot above or below the box. |
create_service_account_transferRequest transfer of a service account to another slashdocs user.| Parameter | Type | Description |
|---|---|---|
| to_user_email * | string | Recipient's slashdocs user email. |
delete_commentPermanently delete a document comment.delete_documentPermanently delete a document and its versions.delete_folderPermanently delete a folder and its subfolders. Documents inside them move to the workspace root, and subfolders that other users own move to the root of their owner.edit_document| Parameter | Type | Description |
|---|---|---|
| change_summary | string | Short summary of the changes, one change per line. Defaults to one line per edit. |
| edits * | array | Replacements to make, in order. |
get_authoring_guidelinesReturn the slashdocs single-file HTML authoring and publishing guidelines. Call without arguments for the section index, then fetch the sections relevant to your task; read at least the core section before creating or updating a document.| Parameter | Type | Description |
|---|---|---|
| section | string | Guidelines section path from the index, e.g. "core", "rendering theme", or "all" for every section. Omit for the index. |
get_documentGet document metadata, including owner, folder and current_version_id.get_document_htmlFetch raw document HTML. Omit version_id to fetch the current version. A second text gives the version_id and the seq of the HTML, which update_document needs.get_document_versionGet metadata for a specific document version.get_folderGet folder metadata and its visible ancestor breadcrumbs.get_server_configReturn this slashdocs server's deployment mode, organisation label, and public configuration.list_commentsList document comment threads, optionally filtered by status or version.| Parameter | Type | Description |
|---|---|---|
| status | string | Optional thread status filter. Omit it or use all to list every thread. |
| version_id | string | Optional version filter. |
list_document_accessList effective access to a document and the grants that provide it.list_document_access_requestsList requests for access to a document, the newest first. Without the editor role, it lists only your own request. Share the document with a requester to grant access and remove the request.list_document_approvalsList who was asked to approve a document and what each has decided on a version (the current one by default), with the derived status and each approver's open and total comment threads.| Parameter | Type | Description |
|---|---|---|
| version_id | string | Optional version to read the decisions of; defaults to the current version. |
list_document_approversList the people and bots asked to approve a document, with each approval-request ID (apr_…) that remove_document_approver takes. For what they decided, use list_document_approvals.list_document_versionsList all versions of a document.list_documentsList documents visible to the caller, or search their titles and text. Documents with the words in the title come first, then the latest. The result is one page: has_more is true when more documents follow, and offset gets the next page.| Parameter | Type | Description |
|---|---|---|
| limit | number | Optional page size: 25 by default, 100 at most. |
| offset | number | Optional number of documents to skip. |
| query | string | Optional Slack-style search of titles and text: words, "phrases", -word, title:, from:, in:, label:, before:, after:, on:, and during:. title:word or title:"a phrase" matches the title only. |
list_folder_accessList effective access to a folder and the grants that provide it.list_folder_documentsList documents directly contained in a folder.list_foldersBrowse the workspace root or a folder's contents by ID or path.| Parameter | Type | Description |
|---|---|---|
| folder_id | string | Folder whose contents should be listed. |
| path | string | Folder path, for example /Team/Reports. |
list_service_account_keysList key metadata for a service account. Secret tokens are never returned after creation.list_service_account_transfersList incoming service-account ownership transfers.list_service_accountsList service accounts owned by the authenticated user.move_documentMove a document into a folder, or move it to the workspace root. Pass exactly one of folder_id or to_root=true.| Parameter | Type | Description |
|---|---|---|
| folder_id | string | Destination folder ID (fld_…). |
| to_root | boolean | Move the document to the workspace root. |
move_document_to_folderMove a document into a folder.move_document_to_rootMove a document out of its current folder to the workspace root.move_folderMove a folder under a new parent, or to the workspace root by omitting parent_folder_id.| Parameter | Type | Description |
|---|---|---|
| parent_folder_id | string | New parent folder ID; omit for root. |
remove_document_approverTake an approval request back. Owner only. This also revokes every decision that approver made on the document.| Parameter | Type | Description |
|---|---|---|
| approver_id * | string | Approval request ID (apr_…), from list_document_approvers or request_document_approval. |
rename_documentRename a document without changing its HTML or access grants.| Parameter | Type | Description |
|---|---|---|
| title * | string | New document title. |
rename_folderRename a folder without changing its contents or grants.| Parameter | Type | Description |
|---|---|---|
| title * | string | New folder title. |
reply_commentReply to an existing document comment thread.| Parameter | Type | Description |
|---|---|---|
| body * | string | Reply text. |
request_document_accessAsk the current document owner to grant you access. Repeated requests are coalesced.request_document_approvalAsk a person or bot to approve a document. Owner only. The approver needs at least viewer access (use share_document first). When chat notifications (Slack or Google Chat) are configured, the approver gets a message.| Parameter | Type | Description |
|---|---|---|
| address * | string | User email or bot address. |
revoke_document_grantRevoke an existing document grant.| Parameter | Type | Description |
|---|---|---|
| grant_id * | string | Grant ID. |
revoke_folder_grantRevoke an existing folder grant.| Parameter | Type | Description |
|---|---|---|
| grant_id * | string | Grant ID. |
revoke_service_account_keyPermanently revoke a service-account bearer key.| Parameter | Type | Description |
|---|---|---|
| key_id * | string | Key ID (sak_…). |
search_foldersSearch visible folders by title.| Parameter | Type | Description |
|---|---|---|
| query * | string | Folder title search text. |
server_movedThis slashdocs MCP server moved toset_document_labelsReplace all labels of a document. An empty list removes them. Requires editor on the document. Returns the labels.| Parameter | Type | Description |
|---|---|---|
| labels * | array | Up to 20 labels: lowercase letters, numbers, dots, underscores, or hyphens. |
share_documentGrant document access to an email/bot address or to everyone. Pass exactly one of address or everyone=true.| Parameter | Type | Description |
|---|---|---|
| address | string | User email or bot address. |
| everyone | boolean | Grant access to everyone who can reach the server. |
| role | string | Role to grant. |
share_folderGrant folder access to an email/bot address or to everyone. Pass exactly one of address or everyone=true.| Parameter | Type | Description |
|---|---|---|
| address | string | User email or bot address. |
| everyone | boolean | Grant access to everyone who can reach the server. |
| role | string | Role to grant. |
update_commentUpdate a comment's body and/or status.| Parameter | Type | Description |
|---|---|---|
| body | string | Replacement comment text. |
| status | string | Replacement status. |
update_documentPublish complete HTML as a new document version. A result with rebased set means that other people edited the document after your base, and the saved version has their edits and yours: fetch its HTML before you change the document again. A version_conflict error means that other people changed the same text, and their text stays: fetch the HTML again and make your change again. To change existing text, prefer edit_document: it sends only the changed strings.| Parameter | Type | Description |
|---|---|---|
| base_seq * | number | The seq that get_document_html gave with the HTML on which these edits are based. With it, the server keeps the text that people typed after it. |
| base_version_id * | string | Version on which these edits are based. |
| change_summary | string | Short summary of the changes, one change per line. |
| html * | string | Complete replacement HTML, up to 50 MiB. |
update_document_grantChange an existing document grant's role.| Parameter | Type | Description |
|---|---|---|
| grant_id * | string | Grant ID. |
| role * | string |
update_folder_grantChange an existing folder grant's role.| Parameter | Type | Description |
|---|---|---|
| grant_id * | string | Grant ID. |
| role * | string |
update_service_accountRename, enable, or disable a service account.| Parameter | Type | Description |
|---|---|---|
| disabled | boolean | Set true to disable or false to enable. |
| name | string | New label, or full address ending in .bot. |
whoamiReturn the authenticated slashdocs principal used by this MCP connection.Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and frontend/package-lock.json.
- ✓No dynamic code executionScanned 331 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- Streamable HTTPapi/internal/server/mcp.go:85
- Starts other programs
- 6 callscli/internal/cli/cli.go:340, cli/internal/cli/cmd_local.go:253, cli/internal/cli/cmd_local.go:311
- Outbound network calls
- 18 callsapi/internal/googlegroups/directory.go:277, api/internal/notifications/googlechat.go:32, api/internal/notifications/googlechat.go:41
- Writes or deletes files
- 21 callscli/internal/cli/cmd_docs.go:556, cli/internal/cli/cmd_docs.go:787, cli/internal/cli/cmd_local.go:303
- Lockfile
- go.sum and frontend/package-lock.json
Pattern matches on the source text of 331 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README