mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
Defines what a services.mcp block may declare and enforces it: classification, transport, auth, implementation and the provenance fields that make an upstream claim checkable. The lint refuses an unknown key anywhere in the block and refuses a provider whose allowed consumers cannot speak its transport or its auth scheme. Discovery resolves each provider's credential and endpoint per consumer and per deployment, rejecting a server with a named reason. Transport, auth and endpoint faults are fatal; a missing credential is not, because it also occurs when the provider is simply not provisioned yet in the same play. The filters render the Authorization header from the declared scheme, build Open WebUI's tool-server connections with their group grants, and derive the members of those groups from the RBAC assignments. Role scoping gains application-scoped roles, so an mcp role only counts when it is granted on a specific application. roles_with_service gains a scope and a direction filter, and drops the canonical domain requirement for direction-filtered entries: an MCP URL is built from the service key and the internal port, so a provider without a public vhost stays valid.
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.