1. Conduid
  2. Documentation
  3. Oastools
MCP server · Documentation

Oastools

OpenAPI Specification (OAS) tools for validating, parsing, fixing, converting, diffing, joining, and building specs; as well as generating client/servers/types from specs.

54Fair

Scored 20 hours ago · breakdown

About Oastools

Oastools is an MCP server published by erraggy in the Documentation category: openAPI Specification (OAS) tools for validating, parsing, fixing, converting, diffing, joining, and building specs; as well as generating client/servers/types from specs. Conduid read 17 tools from its source: convert, diff, fix, generate, join, overlay_apply and 11 more. No package is published for it, so it installs from a source checkout.

The repository has 7 stars and 5 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include api, cli, openapi, openapi-overlay, openapi-specification and openapi2.

Install

From source
git clone https://github.com/erraggy/oastools

Tools (17)

convertConvert an OpenAPI Specification document between versions (2.0, 3.0, 3.1). Returns conversion issues and the converted document.
diffCompare two versions of the same OpenAPI Specification document and report differences. Detects breaking changes, additions, removals, and modifications with severity levels. Use breaking_only=true to focus on breaking changes first. Both base and revision must be provided.
fixAutomatically fix common issues in an OpenAPI Specification document. Fix types: generic schema names, duplicate operationIds, missing path parameters, path parameters missing required: true, unused schemas/empty paths (prune), missing $ref targets (stub). Use dry_run=true to preview fixes before applying. Use output to write to a file instead of returning inline. Check error_count as well as fix_count: it reports problems no fix covers, so a zero fix_count alongside a non-zero error_count means the document still needs work rather than that it was already in good shape.
generateGenerate Go code from an OpenAPI Specification document. Set exactly one of: types (type definitions only), client (HTTP client), or server (server interfaces and handlers). Requires output_dir. Returns a manifest of generated files.
joinJoin multiple OpenAPI Specification documents into a single merged document. Requires at least 2 specs via the specs array. Collision strategies: accept-left, accept-right, fail (paths/schemas), rename (schemas only). Use semantic_dedup to merge equivalent schemas. Default collision strategies are configurable via OASTOOLS_JOIN_PATH_STRATEGY and OASTOOLS_JOIN_SCHEMA_STRATEGY env vars.
overlay_applyApply an Overlay document to an OpenAPI Specification. Overlays use JSONPath expressions to update or remove parts of the spec. Supports dry-run preview and file output.
overlay_validateValidate an Overlay document structure. Checks required fields, supported version, valid JSONPath syntax in action targets, and that actions have update or remove operations.
parseParse an OpenAPI Specification document. Returns a structural summary: title, version, OAS version, path/operation/schema counts, servers, and tags. Use full=true only for small specs; for large specs use walk_* tools to explore specific sections.
validateValidate an OpenAPI Specification document against its version schema. Returns errors and warnings with JSON path locations. For large specs, use no_warnings to focus on errors first. Use offset/limit to paginate through results. Strict mode and warning suppression defaults are configurable via OASTOOLS_VALIDATE_STRICT and OASTOOLS_VALIDATE_NO_WARNINGS env vars.
walk_headersWalk and query response headers and component headers in an OpenAPI Specification document. Filter by name, path, method, status code, or component location. Returns summaries (name, path, method, status, description) by default or full header objects with detail=true. Use group_by=name to find the most commonly used headers across the API.
walk_operationsWalk and query operations in an OpenAPI Specification document. Filter by method, path, tag, operationId, deprecated status, or extension. Returns summaries (method, path, operationId, tags) by default or full operation objects with detail=true. For large APIs, filter by tag first (most selective), then narrow with path or method. Path patterns support * (one segment) and ** (zero or more segments). Use group_by (tag or method) to get distribution counts instead of individual items. Default limit is configurable via OASTOOLS_WALK_LIMIT (default 100, 25 in detail mode).
walk_parametersWalk and query parameters in an OpenAPI Specification document. Filter by location (in), name, path pattern, method, or extension. Returns summaries (name, location, path, method) by default or full parameter objects with detail=true. Use group_by (location or name) to get distribution counts instead of individual items.
walk_pathsWalk and query path items in an OpenAPI Specification document. Filter by path pattern or extension. Returns summaries (path, method count) by default or full path item objects with detail=true. Path patterns support * (one segment) and ** (zero or more segments), e.g. /users/** matches all paths under /users. Use group_by=segment to group paths by their first URL segment.
walk_refsWalk and count $ref references in an OpenAPI Specification document. By default, returns unique ref targets ranked by reference count (most-referenced first). Use target to filter to a specific ref (supports * glob, e.g. *schemas/microsoft.graph.*). Use detail=true to see individual source locations instead of counts. Filter by node_type to narrow to schema, parameter, response, requestBody, header, or pathItem refs. Use group_by=node_type to get distribution counts by ref type.
walk_responsesWalk and query responses in an OpenAPI Specification document. Filter by status code, path pattern, method, or extension. Returns summaries (status code, path, method, description) by default or full response objects with detail=true. Use group_by (status_code or method) to get distribution counts instead of individual items.
walk_schemasWalk and query schemas in an OpenAPI Specification document. Filter by name, type, component/inline location, or extension. Returns summaries (name, type, JSON path, component status) by default or full schema objects with detail=true. Use component=true to see only named component schemas (skips inline schemas, reducing results 3-5x). Avoid detail=true without filters on large specs. Use group_by (type or location) to get distribution counts instead of individual items.
walk_securityWalk and query security schemes defined in components. Filter by name or type (apiKey, http, oauth2, openIdConnect). Returns summaries (name, type, location) by default or full security scheme objects with detail=true.

Security checks

  • ✓README presentThe repository's README runs to about 400 words.

5 checks have not been run yet.

README

The repository's README runs to about 400 words. The original in the repository is authoritative.

Read full README
Questions

About Oastools

How do I install Oastools?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Oastools safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Oastools still maintained?

Yes — the last commit was 23 hours ago. The repository has 7 stars and 5 forks.

What tools does Oastools provide?

Conduid read 17 tools from the source: convert, diff, fix, generate, join, overlay_apply, overlay_validate, parse and 9 more.