Rapidoc CLI
MCP server by rapi-doc Verified · npm:@rapidoc
Runs the rapidoc command to build developer portals and to preview, validate, lint, bundle, mock and export OpenAPI specs as PDFs or MCP servers. It is for teams that publish API documentation from OpenAPI specs.
Install Rapidoc CLI
Built from the published package, never by AI.
claude mcp add rapidoc-cli -- npx -y @rapidoc/cliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"rapidoc-cli": {
"args": [
"-y",
"@rapidoc/cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"rapidoc-cli": {
"args": [
"-y",
"@rapidoc/cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"rapidoc-cli": {
"args": [
"-y",
"@rapidoc/cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add rapidoc-cli -- npx -y @rapidoc/cli{
"mcpServers": {
"rapidoc-cli": {
"args": [
"-y",
"@rapidoc/cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add rapidoc-cli npx -y @rapidoc/cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the rapidoc-cli block.
About
RapiDoc CLI is the rapidoc command from the RapiDoc family of open-source tools for OpenAPI and Arazzo. The source describes it as a way to preview, validate, lint and bundle specs, write PDFs, run the mock server, turn specs into MCP servers, and build developer portals. Portal commands include rapidoc dev, rapidoc build, rapidoc serve and rapidoc migrate.
The CLI is installed from the @rapidoc/cli npm package and runs through npx. A portal is built from a rapidoc.config.yaml file that points to OpenAPI specs in a specs folder and Markdown guides in a docs folder. The output is a static site, and rapidoc serve adds an /mcp endpoint and optional OpenID Connect sign-in. The source says the project is for teams that publish API documentation and want their docs readable by AI agents.
Written from the project's README and checked against it.
Tools it gives your assistant
rapidoc devPreviews the developer portal locally at http://localhost:4321.rapidoc buildBuilds the developer portal as a static site in the dist folder.rapidoc serveServes the portal with an /mcp endpoint and optional sign-in and access rules.rapidoc migrateConverts a Redocly or Zudoku config using --from redocly or --from zudoku.mockRuns a mock server from an OpenAPI spec, with request validation and optional --stateful mode.Spec toolsPreviews, validates, lints and bundles specs, writes PDFs, and turns specs into MCP servers.
What you need
- Node.js with npm or npx
Try asking
- Build a developer portal from my OpenAPI specs in the specs folder.
- Start a mock server for ./openapi.yaml with state kept between requests.
- Migrate my Redocly config to a RapiDoc portal config.
Good to know
- Sign-in and access rules require an OpenID Connect provider.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Rapidoc CLI
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Rapidoc CLI: common questions
What does the rapidoc CLI do?
The source says it previews, validates, lints and bundles OpenAPI specs, writes PDFs, runs a mock server, turns specs into MCP servers, and builds developer portals.
Can it convert an existing Redocly or Zudoku setup?
Yes. The source says npx rapidoc migrate --from redocly or --from zudoku converts the config.
Does the portal support sign-in?
The source says rapidoc serve can use an OpenID Connect provider to keep pages, specs and search results for signed-in readers, groups or emails.
How do I install Rapidoc CLI?
In Claude Code run claude mcp add rapidoc-cli -- npx -y @rapidoc/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Rapidoc CLI the official server?
Rapidoc CLI is published by npm:@rapidoc from its verified domain in the official MCP Registry.
Is Rapidoc CLI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Rapidoc CLI safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Rapidoc CLI?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Rapidoc CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
