oas2mcp

OpenAPI to agent-refined MCP
Convert OpenAPI and Swagger specifications into AI-refined FastMCP and LangGraph server surfaces.
Quickstart

Install the package, point it at an OpenAPI spec, and generate output quickly.

Quickstart
API Reference

Browse the full generated API reference for the package.

oas2mcp
Design Notes

Understand the conversion pipeline, models, and adapters.

Architecture
Examples

See example specs, generated artifacts, and usage patterns.

Examples

Note

oas2mcp is built for typed, inspectable OpenAPI-to-MCP workflows with deterministic parsing, focused AI agent refinement, FastMCP bootstrap artifacts, and LangGraph deployment wrappers.

Highlights

Typed models

Clear Python types and structured models across the pipeline.

Source links

Every documented symbol links back to repository source where possible.

Rich API docs

Auto-generated reference docs powered by AutoAPI.

Agent system

Catalog summarizer, operation enhancer, and shared surface planner stages.

Deployable outputs

FastMCP bootstrap config, LangGraph entrypoints, and LangSmith tracing hooks.

Indices and tables