The cloudflare command builds and deploys your documentation as a Cloudflare Worker, creating a remote MCP server accessible over HTTP. This is ideal for sharing documentation across teams or making it available without requiring local installation.
The publish command packages your docs and config into an installable npm module. The module embeds a thin wrapper that boots the MCP server from the bundled assets. This allows you to distribute your documentation as a versioned npm package that others can install and use.
The serve command starts a local MCP documentation server using STDIO. This is the simplest way to use mcp-docs-server for local development and testing.