Find the pages.
pages_for_paths answers one question: which pages describe the files I just changed?
Endpaper is a docs platform built as a harness for coding agents. Your agent gets the tools to write your docs, your style to write them in, and checks it cannot skip. Your readers get a docs site on your domain that matches the code.
The docs check
Passed
Docs up to date
The page that describes the changed files is updated on the same branch.
Your agent, over MCP
On docs.yesmark.io
64 pages, written by coding agents over MCP.
Live with the feature
The page goes live with the feature, never before it.
Nobody told it what proper looks like, and nothing checked. Your customer finds out first.
Endpaper has no AI writer of its own. The agent you already use connects over MCP, the protocol it already uses to call tools, and works on your docs the way it works on your code.
pages_for_paths answers one question: which pages describe the files I just changed?
start_change opens a draft for the branch. write_page rewrites a page in it.
check_change runs every check and tells the agent what to fix.
Endpaper's MCP server has 37 tools. Any agent that speaks MCP can connect, such as Claude Code. It signs in as you, or uses a token.
Five things. Endpaper holds your agent to each of them.
Each page lists the files it describes. When a pull request changes one of them, a check on that pull request fails and names the page. It stays failed until your agent updates the page, or gives a reason why nothing needs to change. Name the folders that must have a page, and a new screen can't ship without one.
// app/records/agreements-signed-outside-yesmark
"sources": [
"src/app/app/companies/[id]/AttestedAgreementForm.tsx",
"src/app/app/companies/import-agreements/**",
"src/lib/actions/attested.ts",
"src/lib/services/attested.ts",
"src/lib/attested-workspace.ts",
"src/app/api/attested-doc/**",
"src/app/app/acceptances/[id]/AttestedDetails.tsx",
"src/app/app/settings/sending/**"
]Before the agent's edit
docsFailed
After it
docsPassed
Your site owns its style: who the page speaks to, how long a sentence may run, which sections a how-to has, which words are wrong. Your agent receives all of it before it writes a word. Start from one of four published style guides, or set your own.
On Yesmark's pull request
voiceWarning
Before anything publishes, Endpaper checks it: links that lead nowhere, images with no description, pages with no summary, words your glossary bans. An error stops it, and the agent is told what to fix.
The page publishes when the pull request merges and the deploy succeeds. Your docs never describe something your customers can't use yet.
You read the new page on a preview link, beside the code, with a diff of what changed. Your agent can't publish by itself, can't change the rules it is checked against, and can't erase anything. Any publish can be undone.
The limits, exactly. Each one holds whatever the agent does.
docs blocks it once branch protection requires the check, pinned to Endpaper's App, so no other workflow can post a passing docs.What comes out is a complete docs site: a page tree, search, and a theme built from your colours and fonts.

docs.yourcompany.com, pointed at Endpaper with a DNS record.llms.txt and a Markdown copy of every page, so your customers' AI tools read what your customers read.
Yesmark sends a company's terms to each client as a link and records who accepted. Coding agents wrote every page of docs.yesmark.io over Endpaper's MCP server: 59 on the app, from sending your terms to closing a workspace, and 5 on its AI assistant.
Yesmark's agent built a way to bring in existing agreements for many clients at once. In the same pull request it rewrote the three pages that describe it. Every check passed, with one warning: a sentence of 31 words, one over the site's limit.
Document bringing existing agreements for many clients at once
claude/sdarmandrail/p-386-ai-bring-your-existing-agreements-in-bulk
voice: A sentence of 31 words; the site's limit is 30.
Endpaper is in private beta, and teams are added one at a time.