Skip to content

MCP overview

An agent reads, drafts and commits. A person publishes.

Staleless exposes your documentation over the Model Context Protocol, so an agent can work on it with tools instead of by scraping a website.

https://mcp.staleless.com/mcp

Streamable HTTP, authenticated by a bearer token you mint in the app. The token names one project, so there is no header to get wrong.

{
"mcpServers": {
"staleless": {
"url": "https://mcp.staleless.com/mcp",
"headers": {
"Authorization": "Bearer ${STALELESS_PROJECT_TOKEN}"
}
}
}
}

Danger

Put the token in an environment variable, never the literal string in a file you commit. A token pasted into a tracked configuration file reaches your repository the next time somebody commits.

ScopeWhat it permits
docs:readRead the tree, pages, history, diffs, and run the linter.
docs:writeStage a create, update, move or delete. Never touches git.
docs:commitWrite history on a branch, and open a pull request.

Mint the narrowest token that does the job. An agent that only answers questions needs docs:read and nothing more.

Publish. Merging is not offered to a machine at all. docs_push returns a pull request link for a person to read.

This is not a limitation to work around. An agent writing to the live site routes around the editorial model, and the editorial model is the product.

docs:write tools stage. A staged change is recorded so it can be reviewed and then committed. Nothing enters git history until docs_commit, and nothing reaches a reader until a person merges.

So an agent can be wrong three times and leave no trace.

docs_branch → docs_read → docs_write (repeatedly)
→ docs_lint → docs_diff → a HUMAN reads it
→ docs_commit → docs_push → a HUMAN merges

See The agent workflow for what each step is for, and Tools for every tool.

A project can also expose a read-only MCP server for its published documentation, so anybody’s agent can read your docs. A private project’s MCP requires a token. An admin can turn either off.