OpenAPI Schema MCP Server
OpenAPI Schema Model Context Protocol Server.
What is an MCP Server?
MCP Info
Image Building Info
Available Tools (10)
| Tools provided by this Server |
Short Description |
get-component |
Gets detailed definition for a specific component |
get-endpoint |
Gets detailed information about a specific API endpoint |
get-examples |
Gets examples for a specific component or endpoint |
get-path-parameters |
Gets the parameters for a specific path |
get-request-body |
Gets the request body schema for a specific endpoint |
get-response-schema |
Gets the response schema for a specific endpoint, method, and status code |
list-components |
Lists all schema components (schemas, parameters, responses, etc.) |
list-endpoints |
Lists all API paths and their HTTP methods with summaries, organized by path |
list-security-schemes |
Lists all available security schemes |
search-schema |
Searches across paths, operations, and schemas |
Tools Details
Gets detailed definition for a specific component
| Parameters |
Type |
Description |
name |
string |
Component name |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
type |
string |
Component type (e.g., schemas, parameters, responses) |
Gets detailed information about a specific API endpoint
| Parameters |
Type |
Description |
method |
string |
|
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
path |
string |
|
Gets examples for a specific component or endpoint
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
type |
string |
Type of example to retrieve |
componentName |
string optional |
Component name (required for component examples) |
componentType |
string optional |
Component type (required for component examples) |
method |
string optional |
HTTP method (required for request/response examples) |
path |
string optional |
API path (required for request/response examples) |
statusCode |
string optional |
Status code (for response examples) |
Gets the parameters for a specific path
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
path |
string |
|
method |
string optional |
|
Tool: get-request-body
Gets the request body schema for a specific endpoint
| Parameters |
Type |
Description |
method |
string |
|
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
path |
string |
|
Gets the response schema for a specific endpoint, method, and status code
| Parameters |
Type |
Description |
method |
string |
|
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
path |
string |
|
statusCode |
string optional |
|
Lists all schema components (schemas, parameters, responses, etc.)
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
Lists all API paths and their HTTP methods with summaries, organized by path
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
Lists all available security schemes
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
Searches across paths, operations, and schemas
| Parameters |
Type |
Description |
openapiSchemaPath |
string |
Path to the OpenAPI schema file |
pattern |
string |
Search 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?