OpenAPI Schema

OpenAPI Schema

OpenAPI Schema Model Context Protocol Server.

6.2K

10 Tools

Packaged by
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

OpenAPI Schema MCP Server

OpenAPI Schema Model Context Protocol Server.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/openapi-schema
Authorhannesj
Repositoryhttps://github.com/hannesj/mcp-openapi-schema
Dockerfilehttps://github.com/slimslenderslacks/mcp-openapi-schema/blob/master/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/openapi-schema --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence

Available Tools (10)

Tools provided by this ServerShort Description
get-componentGets detailed definition for a specific component
get-endpointGets detailed information about a specific API endpoint
get-examplesGets examples for a specific component or endpoint
get-path-parametersGets the parameters for a specific path
get-request-bodyGets the request body schema for a specific endpoint
get-response-schemaGets the response schema for a specific endpoint, method, and status code
list-componentsLists all schema components (schemas, parameters, responses, etc.)
list-endpointsLists all API paths and their HTTP methods with summaries, organized by path
list-security-schemesLists all available security schemes
search-schemaSearches across paths, operations, and schemas

Tools Details

Tool: get-component

Gets detailed definition for a specific component

ParametersTypeDescription
namestringComponent name
openapiSchemaPathstringPath to the OpenAPI schema file
typestringComponent type (e.g., schemas, parameters, responses)

Tool: get-endpoint

Gets detailed information about a specific API endpoint

ParametersTypeDescription
methodstring
openapiSchemaPathstringPath to the OpenAPI schema file
pathstring

Tool: get-examples

Gets examples for a specific component or endpoint

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file
typestringType of example to retrieve
componentNamestringoptionalComponent name (required for component examples)
componentTypestringoptionalComponent type (required for component examples)
methodstringoptionalHTTP method (required for request/response examples)
pathstringoptionalAPI path (required for request/response examples)
statusCodestringoptionalStatus code (for response examples)

Tool: get-path-parameters

Gets the parameters for a specific path

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file
pathstring
methodstringoptional

Tool: get-request-body

Gets the request body schema for a specific endpoint

ParametersTypeDescription
methodstring
openapiSchemaPathstringPath to the OpenAPI schema file
pathstring

Tool: get-response-schema

Gets the response schema for a specific endpoint, method, and status code

ParametersTypeDescription
methodstring
openapiSchemaPathstringPath to the OpenAPI schema file
pathstring
statusCodestringoptional

Tool: list-components

Lists all schema components (schemas, parameters, responses, etc.)

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file

Tool: list-endpoints

Lists all API paths and their HTTP methods with summaries, organized by path

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file

Tool: list-security-schemes

Lists all available security schemes

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file

Tool: search-schema

Searches across paths, operations, and schemas

ParametersTypeDescription
openapiSchemaPathstringPath to the OpenAPI schema file
patternstringSearch pattern (case-insensitive)

Use this MCP Server

{
  "mcpServers": {
    "openapi-schema": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/local-directory:/local-directory",
        "mcp/openapi-schema"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers