OpenAPI Sync MCP
Generates TypeScript client code using Axios for HTTP requests from OpenAPI specifications.
Generates Python data models with Pydantic validation from OpenAPI specifications.
Generates Python client code (using httpx or pydantic) from OpenAPI specifications.
Generates TypeScript React Query hooks for data fetching from OpenAPI specifications.
Generates Rust client code with Serde serialization and Reqwest HTTP client from OpenAPI specifications.
Generates TypeScript type definitions and client code (fetch, axios, react-query) from OpenAPI specifications.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenAPI Sync MCP
A high-performance MCP server for OpenAPI specifications. Parse, diff, track dependencies, and generate code - all from your AI assistant.
Built with Rust for speed and minimal resource usage.
Features
Dependency Graph - Know which endpoints break when you change a schema
Smart Diff - Detect breaking changes before they hit production
Paginated Parsing - Handle massive specs without overwhelming context
24h Cache - Fast repeated queries with HTTP cache support
Multi-target Codegen - TypeScript, Rust, Python from one spec
Related MCP server: OpenAPI Schema Explorer
Quick Start
npm install -g @jhlee0409/openapi-sync-mcpAdd to ~/.claude/settings.json:
{
"mcpServers": {
"oas": {
"command": "openapi-sync-mcp"
}
}
}Tools
Tool | Description |
| Parse and validate OpenAPI spec (with pagination) |
| Find affected endpoints when a schema changes |
| Compare two spec versions, detect breaking changes |
| Check cache status |
| Generate TypeScript/Rust/Python code |
Code Generation Targets
typescript-types · typescript-fetch · typescript-axios · typescript-react-query · rust-serde · rust-reqwest · python-pydantic · python-httpx
Installation
# npm (recommended)
npm install -g @jhlee0409/openapi-sync-mcp
# Cargo
cargo install openapi-sync-mcp
# Or download from GitHub ReleasesTroubleshooting
Server not responding?
chmod +x openapi-sync-mcp
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | openapi-sync-mcpCache issues?
Delete .openapi-sync.cache.json or use use_cache: false.
Development
cargo test # Run tests
cargo fmt --check # Check formatting
cargo clippy # LintLicense
MIT
Related
claude-plugins - Plugin commands (
/oas:*) for enhanced workflow
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
MCP server for AI access to Swagger by SmartBear.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA MCP server that exposes OpenAPI schema information to LLMs like Claude. This server allows an LLM to explore and understand large OpenAPI schemas through a set of specialized tools, without needing to load the whole schema into the context50MIT
- AlicenseNot gradedqualityBmaintenanceMCP server providing token-efficient access to OpenAPI/Swagger specs via MCP Resources for client-side exploration.582 npm76MIT
- AlicenseAqualityBmaintenanceMCP server that helps AI agents explore OpenAPI specs, search endpoints, and generate TypeScript types.755 npm10MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for loading and exploring OpenAPI/Swagger specifications, enabling AI assistants to dynamically browse API contracts by loading specs, searching endpoints, inspecting schemas, and retrieving operations.20 npm3MIT