OpenAPI Guard
MCP server
The MCP adapter is a local child process that talks over standard input and output. It is not a hosted service and does not upload your repository.
Configure a compatible client to launch a pinned version with the working directory set to the project being analyzed:
command: npx
arguments: --yes --package=@stackblender/openapi-guard@0.2.0 openapi-guard-mcp
working directory: /absolute/path/to/project
transport: stdio
The server exposes one read-only tool, check_openapi_contract, with optional
workspaceFolder, implementationPathPrefix, offset, and limit arguments.
workspaceFolder must be a relative descendant of the working directory. The maximum
page size is 100 issues.
Keep standard output reserved for protocol messages when integrating any stdio MCP process; logs belong on standard error. The first launch may contact npm to download the package; analysis itself makes no network request.