Skip to content

About

An MCP server that exposes OpenLint linting and rulesets to any AI client. An API Commons tool.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

API Commons OpenLint MCP server

A Model Context Protocol server from API Commons that exposes the OpenLint linter engine to any AI client — so an agent can lint your API artifacts and work with rulesets conversationally. It runs the @openlint/* engine (the same one behind the openlint CLI) over stdio.

Tools

Tool What it does
lint_artifact Lint an artifact (content, optional format, optional ruleset) → findings (code, message, severity, path) + counts
list_rulesets The built-in rulesets (spectral:oas, :asyncapi, :arazzo) and their rules
list_formats The artifact formats the OpenLint engine can lint
validate_ruleset Structurally validate a ruleset (alias, object, or YAML/JSON string)

Use it

npm install
npm start          # speaks MCP over stdio

Claude Desktop / any MCP client

Add to your client's MCP server config (e.g. Claude Desktop claude_desktop_config.json), pointing at a local checkout:

{
  "mcpServers": {
    "common-openlint-mcp": {
      "command": "node",
      "args": ["/path/to/common-openlint-mcp/src/server.mjs"]
    }
  }
}

Then ask: "Lint this OpenAPI with OpenLint and tell me what to fix."

Related


A project of API Evangelist, maintained openly under API Commons. Apache-2.0.

About

An MCP server that exposes OpenLint linting and rulesets to any AI client. An API Commons tool.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages