Slashdocs

Developer tools

Give your agents the power to publish reviewable HTML documents. Self-hosted server + CLI + remote MCP; agents push, humans review with comments and versions.

Your AI app calls the Slashdocs MCP server, which does the developer tools work and sends the result back to the chat.

About Slashdocs

Slashdocs is a community MCP server from razorpay, filed in our directory under developer tools. Give your agents the power to publish reviewable HTML documents. Self-hosted server + CLI + remote MCP; agents push, humans review with comments and versions.

At a glance

Publisher
razorpay (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
430

How to set up Slashdocs

  1. Follow the install steps in the Slashdocs README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Slashdocs README for keys or settings; the registry lists none that Slashdocs requires.
  3. Add Slashdocs to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Slashdocs tools to confirm the connection.
  5. Run one read-only task with Slashdocs first, and keep your app asking before each tool call until the results look right.

Slashdocs compared with similar servers

  • Evil Winrm Py by adityatelange has fewer GitHub stars than Slashdocs (429 against 430); both are community servers, and both run locally.
  • CharDesk by Sayhi-bzb has more GitHub stars than Slashdocs (434 against 430); both are community servers, and both run locally.
  • 12306 (drfccv) by drfccv has fewer GitHub stars than Slashdocs (428 against 430); both are community servers, and both run locally.

Before you connect Slashdocs

  • Give Slashdocs its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Slashdocs tool call until you trust what it does with them.
  • Treat text that Slashdocs fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Slashdocs on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Slashdocs

How marketing and sales teams put Slashdocs to work, by company size. Pick the size closest to yours and start Slashdocs on one use case.

Small business

  • A small business with a developer can use Slashdocs to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Slashdocs to explain and fix a marketing site issue without context switching between tools.
  • Slashdocs runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Slashdocs to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Slashdocs to keep scripts and automations documented and versioned as they change.
  • Start Slashdocs on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Slashdocs with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Slashdocs so web and marketing engineering share one reviewed way of working with AI.
  • Slashdocs is a community server, so have security review the code and pin a version before Slashdocs touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Slashdocs README

From razorpay/slashdocs on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

slashdocs

The collaborative workspace for agentic organizations.

slashdocs is where agents and people work on the same documents. Agents publish rich, self-contained HTML: reports, specs, dashboards, diagrams, and decision docs. People open them in the browser, comment on the exact words, fix the text in place together, approve them, and share them. Agents read the comments and publish the next version. Every version is kept in the history.

Instead of pasting giant reports into chat, give the work a shared home where your team and its agents improve it together.

What you can build with it

  • Agent-generated architecture reviews
  • Incident reports and postmortems
  • Product specs and launch plans
  • Data analysis reports
  • Design proposals with Mermaid/SVG diagrams
  • QA findings and browser-test reports
  • Internal dashboards captured as portable HTML

Features

  • One self-contained HTML file per document
  • Browser review UI with sandboxed rendering
  • Comments on exact text or pinned to a spot in a chart or diagram, with replies, reactions, resolve/reopen, and unread marks
  • Live co-editing: editors change the document in place (words, paragraphs, lists, bold, italic and links), several at once, and readers see each change as it happens
  • Agent pushes merge with the text that people type; a push that changes the same text gets a conflict and leaves their text as it is
  • History of versions, with preview and restore. One sitting of typing is one version
  • Approvals: owners ask people or bots to approve, and a changed document asks them again
  • An inbox in the header for approval requests and threads that wait on you
  • slashdocs docs wait, which returns the review feedback to an agent when the reviewer stops writing
  • Search with title:, from:, in:, label: and date modifiers, folders with sharing, and labels
  • Slack or Google Chat notifications, personal mute controls, and comment/heading links
  • Slack link previews and a signed webhook for approval events
  • OpenID Connect for human users (Google, Okta, Entra ID, Keycloak, Dex, ...)
  • Native service accounts for headless/agent workflows
  • Remote MCP endpoint with browser OAuth, no local MCP process or CLI required
  • Go CLI with compact default output and JSON mode
  • Generated OpenAPI/Swagger docs
  • Self-hostable Go server with embedded React frontend
  • Dockerfile for container deployments

Why one HTML file?

A single HTML artifact is easy for agents to generate, easy to version, easy to archive, and easy to move through a CLI. Images can be embedded with base64 data URLs, and diagrams can be Mermaid, inline SVG, or rendered HTML/CSS.

<img src="data:image/png;base64,..." alt="embedded screenshot" />

No separate image hosting is required for v1.

Quickstart (docker compose)

The fastest way to try slashdocs is the bundled compose stack, which brings up the server with Postgres, versitygw (S3), and a Dex identity provider, no cloud accounts or OAuth setup needed:

git clone https://github.com/razorpay/slashdocs.git
cd slashdocs
docker compose up

This pulls the latest published image, so nothing is compiled on your machine. To run your local changes instead, use docker compose up --build. Building needs Docker with Compose v2 and the Buildx plugin, because the Dockerfile uses BuildKit features. Docker Desktop and Docker's official Engine packages include both. Distro packages may not: on Ubuntu or Debian, run sudo apt install docker-buildx. Check with docker buildx version.

Open http://localhost:8080 and sign in as admin@example.com with password password.

Dex is the development login only. Real deployments configure Google or any other OIDC provider, see Self-hosting.

make e2e boots the same stack and runs the full non-interactive smoke test (login, documents, comments, sharing, folders, sandboxed rendering, SSE). make e2e-browser runs the advisory Chromium browser suite. It reuses a healthy slashdocs + Dex stack already listening on ports 8080 and 5556; otherwise it boots the isolated slashdocs-e2e compose project and leaves it running for inspection. Browser E2E is deliberately separate from make ci.

Tear down the isolated E2E project, including data volumes, with:

scripts/e2e.sh down

If you started the normal quickstart project with docker compose up, stop that project with docker compose down -v instead.

Install from source

git clone https://github.com/razorpay/slashdocs.git
cd slashdocs
make build

Binaries are written to:

bin/slashdocs-server
bin/slashdocs

Run with Docker

Every tagged release publishes a multi-arch (amd64, arm64) image to Docker Hub at razorpay/slashdocs:

docker pull razorpay/slashdocs:latest

Copy .env.example to .env, fill it in, and run. Pin an exact version (razorpay/slashdocs:0.1.0) or digest in production rather than :latest:

docker run --rm -p 8080:8080 --env-file .env razorpay/slashdocs:latest

Each GitHub Release also carries standalone CLI archives and the packaged Helm chart. See docs/releasing.md for how releases are cut.

See Self-hosting for production setup and all environment variables. A Kubernetes Helm chart is available in charts/slashdocs.

Connect an MCP client

The application server exposes Streamable HTTP directly at:

https://your-slashdocs-host.example/mcp

The same URL serves MCP revisions 2024-11-05 through 2026-07-28: clients on 2026-07-28 connect statelessly with server/discover, and older clients with the initialize handshake.

Add that URL to a remote MCP client. Standards-based clients discover the server's OAuth metadata, open the normal slashdocs sign-in and consent flow, and receive a short-lived, audience-bound token using authorization code + PKCE. No slashdocs CLI or local MCP bridge is involved. Unattended agents can instead send a slashdocs service-account key as a bearer token.

The MCP surface covers document, version, comment, sharing, approval, and folder workflows, plus management of existing service accounts. Creating service accounts or bearer keys is intentionally not exposed over MCP; mint those credentials in the web application or CLI. Client-local operations such as installing or updating the CLI, switching local contexts, or opening a browser are also not MCP tools.

MCP mirrors the CLI's authoring conventions: get_authoring_guidelines serves the same sectioned guidelines as slashdocs guidelines (index first, then per-section detail). Default sharing of new documents is server-controlled: org deployments can set SLASHDOCS_DEFAULT_DOC_PERMISSION to viewer, commenter, or editor (default private), and both MCP and CLI creates report the applied default_grant so the share can be revoked.

CLI quickstart

slashdocs auth login localhost:8080
slashdocs auth whoami

slashdocs docs create report.html --title "Agent report"
slashdocs docs list
slashdocs docs pull doc_123 --out report.html
slashdocs docs push doc_123 report.html --summary "Update findings"
slashdocs docs edit doc_123 --old "TTL of 10 minutes" --new "TTL of 5 minutes"

slashdocs docs comments list doc_123
slashdocs docs comments create doc_123 --quote "important text" --body "Please clarify this."
slashdocs docs comments create doc_123 --target chart --x 0.5 --y 0.2 --body "Label this axis."
slashdocs docs comments resolve doc_123 cmt_123
slashdocs docs wait doc_123

Use --json for structured output:

slashdocs --json docs list

Development

make build
make swagger
make test

Useful targets:

make build          build server and CLI
make build-backend  build API server
make build-cli      build CLI
make build-frontend build embedded frontend assets
make swagger        regenerate OpenAPI docs
make test           run backend, CLI, and frontend tests
make lint           run Go, TypeScript, React, and formatting checks
make e2e            run the API and CLI compose smoke test
make e2e-browser    run the advisory Chromium browser suite

Build the server through make build-backend rather than a bare go build. The target regenerates the iframe bridge and links its source fingerprint so startup can reject missing, stale, or corrupt embedded assets.

Architecture

Everything ships as one Go binary, slashdocs-server. It serves the REST API, the embedded React frontend, and the embedded per-platform CLI binaries (/install.sh and downloads). You bring Postgres and an S3-compatible bucket. The same binary answers on two hostnames: the app hostname for the authenticated UI and API, and a separate render hostname where document HTML is served inside a sandboxed frame, the browser's same-origin policy keeps untrusted documents away from your session.

flowchart LR
    browser["Browser<br/>(React review UI)"]
    clients["slashdocs CLI / remote MCP agents"]

    subgraph server["slashdocs-server (single Go binary)"]
        api["REST API"]
        fe["Embedded frontend"]
        dl["Embedded CLI downloads<br/>+ install.sh"]
        render["Sandboxed document render"]
    end

    pg[("Postgres<br/>metadata, comments,<br/>grants, sessions, edit log")]
    s3[("S3-compatible blob store<br/>immutable HTML versions")]

    browser -- "app origin" --> api
    browser -- "app origin" --> fe
    browser -- "render origin" --> render
    clients -- "REST or /mcp" --> api
    clients -- "CLI install / update" --> dl
    api --> pg
    api --> s3
    render --> s3

Project layout

api/       Go API server and embedded frontend assets
cli/       Go CLI
frontend/  React + Vite frontend
docs/      Self-hosting, operator, and release docs

API docs

When the server is running:

/openapi.json
/api-docs
/commit.txt

Security model

Uploaded HTML should be treated as untrusted content. slashdocs renders documents in a sandboxed frame and requires app and render URLs on different hostnames. Scheme or port differences on the same hostname do not isolate cookies; the unsafe override is for local development only.

Telemetry

None. slashdocs collects no telemetry, analytics, or usage data, and phones home to no one. The only outbound calls the server makes are to your Postgres, your blob storage, your configured OpenID Connect provider during login, and the integrations that you turn on: Slack, Google Chat, GitHub, Google Groups, and the approval webhook.

License

MIT, see LICENSE.

Questions about Slashdocs

What is the Slashdocs MCP server?

Give your agents the power to publish reviewable HTML documents. Self-hosted server + CLI + remote MCP; agents push, humans review with comments and versions. Slashdocs is maintained by razorpay on GitHub at razorpay/slashdocs, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Slashdocs MCP server?

Slashdocs doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (razorpay/slashdocs). Like most servers, Slashdocs ends with a command or URL you paste into your AI app's MCP config.

Does Slashdocs need an API key?

The registry lists no required keys for Slashdocs. Check the Slashdocs README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Slashdocs an official MCP server?

No. Slashdocs is a community server maintained by razorpay. Community servers can be excellent; read the code and the open issues before you give Slashdocs access to company data.

What license is Slashdocs under?

Slashdocs is released under the MIT license, according to its GitHub repository. The license covers the code of Slashdocs; the service it connects to has its own terms.