Setup
Tools for working with Sideways from your terminal and AI assistants.
CLI
Sync documentation from your filesystem. Push, pull, and manage docs from the command line.
Install
Requires Node.js 18+
curl -fsSL https://sideways-dev.tail01583b.ts.net/install.sh | sh -s -- https://sideways-dev.tail01583b.ts.net Quick start
# Initialize a project
sideways init my-docs --api https://sideways-dev.tail01583b.ts.net # Pull all docs
sideways pull
# Edit locally, then push
sideways push
# Check what's changed
sideways status Commands
sideways init <space>Create .sideways.yml in current directorysideways pull [file]Pull documents from remotesideways push [file]Push local changes to remotesideways statusShow sync statussideways diff <file>Show diff between local and remotesideways export <slug> --format pdfExport document as PDFMCP (AI Integration)
Connect AI assistants to read, write, and comment on documentation via the Model Context Protocol.
Requires an API key — create one from Settings → API Keys.
Claude Desktop
Uses the Streamable HTTP transport. Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"sideways": {
"url": "https://sideways-dev.tail01583b.ts.net/api/mcp?key=YOUR_API_KEY"
}
}
} Claude Code
Uses stdio transport with the downloaded MCP server. Add to .mcp.json in your project:
{
"mcpServers": {
"sideways": {
"command": "node",
"args": [
"~/.local/bin/sideways-mcp.cjs"
],
"env": {
"SIDEWAYS_API_URL": "https://sideways-dev.tail01583b.ts.net",
"SIDEWAYS_API_KEY": "YOUR_API_KEY"
}
}
}
} Available tools
list_spacesList all accessible spacescreate_spaceCreate a new documentation spacelist_docsList documents in a spaceread_docRead markdown content with commentswrite_docCreate or update a documentedit_docSearch-and-replace edits without rewritingsearch_docsSearch documents by titlerename_docRename a document's title or slugmove_docMove a document to another space or sectionduplicate_docCreate a copy of a documentadd_commentAdd a comment, optionally anchored to textlist_commentsList comments on a documentresolve_commentResolve or reopen a commentdelete_docDelete a documentdoc_versionsList version historyAPI
All features are available via the REST API. Authenticate with a Bearer token (JWT or API key).
Base URL: https://sideways-dev.tail01583b.ts.net/api GET /api/spacesList spacesGET /api/documents?space=:slugList documentsGET /api/documents/:space/:slugGet document contentPUT /api/documents/:space/:slugCreate or update documentGET /api/documents/:space/:slug/pdfExport as PDFGET /api/comments/:space/:slugList commentsPOST /api/comments/:space/:slugAdd comment