OpenAPI Sync MCP
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
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhlee0409/openapi-sync-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server