Openapi Sync MCP server
io.github.akintomiwa-fisayo/openapi-sync-mcp·v6.4.2·1 starsType-safe MCP server for OpenAPI Sync to inspect, validate, and synchronize OpenAPI specs.
1 stars39 downloads/wk
Reviews
Write oneNobody has reviewed Openapi Sync yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Openapi Sync tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-02 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 15 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Openapi Sync compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 39
- more than 30% of 12,191 servers with a package
Install Openapi Sync in Claude Code, Cursor or VS Code
Runs npx -y openapi-sync-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add openapi-sync-mcp -- npx -y openapi-sync-mcp
What the publisher says
From the Openapi Sync repository's README, as published. We do not edit it. Read it on GitHub
OpenAPI Sync
OpenAPI Sync is a powerful developer tool that automates the synchronization of your API documentation with your codebase using OpenAPI (formerly Swagger) specifications. It generates TypeScript types, fully-typed API clients (Fetch, Next.js Fetch, Axios, React Query, SWR, RTK Query), endpoint definitions, runtime validation schemas (Zod, Yup, Joi), and comprehensive documentation from your OpenAPI schema—ensuring type safety from API specification through client implementation to runtime validation.
📘 Full documentation available at openapi-sync.com
Core Features
- ⚡ Zero-Config Presets - 10 pre-configured framework presets (React Query, SWR, Axios, Fetch, RTK Query, Next.js, Python) for instant setup
- 🔄 Real-time API Synchronization - Automatically syncs OpenAPI specs from remote URLs with configurable intervals
- 📝 Automatic Type Generation - Generates TypeScript interfaces for all endpoints with full nested support
- 🔐 Runtime Validation - Generate Zod, Yup, or Joi schemas from OpenAPI specs with all constraints preserved
- 🎯 Interactive Setup Wizard - Streamlined configuration with auto-enabled tag-based folder splitting
- 🛡️ Enterprise Ready - Error handling, validation, state persistence, and custom code preservation
- 📦 Folder Splitting - Organize code by tags or custom logic with aggregator files for easy imports
- 📚 Rich Documentation - JSDoc comments with cURL examples and inline usage guides
- 🤖 Agent-Ready Endpoints - Browse endpoints with pagination and path filtering, inspect deep endpoint details, and read generated types without reloading the spec
- 🩺 Diagnostic Doctor - Diagnostic health checks for config validity, spec accessibility, peer dependencies, cache, and folder write permissions
- 🧹 Stale File Purge - Manifest-based stale code detection and cleanup with dry-run support to prevent orphaned code
- 🔄 Custom Code Injection - Preserve your custom code between regenerations with protected sections
View all features →
Installation
npm install openapi-sync
# or
npm install -g openapi-sync
# or use directly
npx openapi-sync⚠️ macOS Big Sur Users: If you encounter an esbuild error (Symbol not found: _SecTrustCopyCertificateChain), install esbuild@0.17.19 first. See Troubleshooting for details.
🤖 Using with AI Agents
All CLI commands and programmatic APIs are agent-safe — no interactive prompts, fully non-blocking. Use --json for machine-readable output and --silent to suppress logs.
Full agent reference: llms.txt — a structured discovery file for LLMs, Copilots, and MCP tools.
Agent Quick-Start (no prompts)
# 1. Create config (all settings as flags — no stdin required)
npx openapi-sync init --no-interactive \
--api-name petstore \
--api-url https://petstore3.swagger.io/api/v3/openapi.json \
--output-folder ./src/api \
--client-type react-query \
--validation-library zod \
--config-format typescript \
--json
# Or for protected specs, configure auth directly on init:
npx openapi-sync init --no-interactive \
--api-name backend \
--api-url https://api.example.com/openapi.json \
--auth-type bearer \
--auth-token '${env.SPEC_TOKEN}' \
--preset react-query-zod \
--json
# 2. Validate config + specs before writing any files
npx openapi-sync validate --json
# 3. Sync — generate types, endpoints, and schemas
npx openapi-sync --jsonShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Openapi Sync: common questions
- Is Openapi Sync MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Openapi Sync safety report
- How do I install Openapi Sync?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Openapi Sync need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Openapi Sync maintained?
- The last commit was 48 days ago (2026-09-17). The latest release is v6.4.2.
- What can I use instead of Openapi Sync?
- Servers from other publishers that do the same job: Pascal 3D Editor MCP server and Semiotic MCP server.
- How does Openapi Sync compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 39 (more than 30% of 12,191 servers with a package). Full comparison.
Alternatives to Openapi Sync
Same job from other publishers: the closest match first, then the best rated.
Pascal 3D EditorCreate, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.not reviewedWidely usedA- SemioticVerified React chart generation: select, validate, repair, render, and inspect charts through MCP.not reviewedWidely usedB