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
{{ message }}
Repository navigation
--validate-config rejects examples/flapi.yaml: an MCP prompt file is validated as an endpoint #156
customer_data_analysis is not an endpoint. It is an MCP prompt defined in examples/sqls/customers/customers-mcp-prompt.yaml (name: customer_data_analysis, template: | — a prompt body, no template-source). The validator treats every YAML under the templates directory as an endpoint, so a prompt or resource file is reported as an endpoint with an empty template source.
The server itself starts fine on that config (the integration suite runs against it), so the two disagree about what a valid configuration is.
Why it matters
--validate-config is the command operators are told to run in CI before a deploy, and flAPI's own shipped example fails it — so it cannot be used as a gate on any config that defines a prompt or resource. examples/flapi-test.yaml fails the same way.
Found while writing a test for #153 that validates the shipped examples; that test had to exclude both.
Expected
--validate-config should validate prompt and resource files as what they are (or skip them), and pass on every shipped example.
Activity
Merge pull request #168 from DataZooDE/fix/gh-156-validate-config-pro…