You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build, remove documentation files in publish
* documentation, migrate to ai-helpers, remove files
* options.defaults, move from docPath to docPaths local dir listing
* server.getResources, loop for docPaths, error callout
* e2e, annotation from local reference to fixture
The `start()` function accepts an optional `PfMcpOptions` object for programmatic configuration. Use these options to customize behavior, transport, and logging for embedded instances.
|`toolModules`|`ToolModule \| ToolModule[]`| Array of tool modules or paths to external tool plugins to be loaded. |`[]`|
94
+
|`isHttp`|`boolean`| Enable HTTP transport mode. |`false`|
95
+
|`http.port`|`number`| Port for HTTP transport. |`8080`|
96
+
|`http.host`|`string`| Host to bind to. |`127.0.0.1`|
97
+
|`http.allowedOrigins`|`string[]`| List of allowed CORS origins. |`[]`|
98
+
|`http.allowedHosts`|`string[]`| List of allowed host headers. |`[]`|
99
+
|`pluginIsolation`|`'none' \| 'strict'`| Isolation preset for external tools-as-plugins. |`'strict'`|
100
+
|`logging.level`|`'debug' \| 'info' \| 'warn' \| 'error'`| Set the logging level. |`'info'`|
101
+
|`logging.stderr`|`boolean`| Enable terminal logging to stderr. |`false`|
102
+
|`logging.protocol`|`boolean`| Forward logs to MCP clients. |`false`|
103
+
|`mode`|`'cli' \| 'programmatic' \| 'test'`| Specifies the operation mode. |`'programmatic'`|
104
+
|`modeOptions.test.baseUrl`|`string`| Base URL for fixture/mock servers in `test` mode. |`undefined`|
105
+
|`docsPaths`|`string[]`| Whitelist of local documentation directories resolved by `documentation:` slug. When empty (default), the slug is dormant. |`[]`|
The documentation catalog `src/docs.json` pins remote resources to specific commit SHAs (or explicit refs) for stability and reproducibility. This avoids unexpected upstream changes from breaking results. The `searchPatternFlyDocs` tool handles these lookups transparently for the user.
0 commit comments