Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.25 KB

File metadata and controls

25 lines (20 loc) · 1.25 KB

Code Examples

PatternFly MCP code examples for tooling plugins and development use cases.

Adding new example guidance

Examples should follow the basic guidelines:

  1. This index is updated with an example link
  2. Filenames are lowerCamelCased
  3. Keep examples short; this is an introduction to the project
  4. Examples are either JS or TS with ESM import/exports
  5. Tool plugins import createMcpTool from @patternfly/patternfly-mcp/tools; use the root entry for start() and server types
  6. Comments/annotations are used to explain key concepts
  7. Examples are linted from the project's linting configs with
    • npm run test:lint
    • npm run test:types
    • npm run test:spell-docs
  8. Examples are tested and can be run without errors