Kozou Adopts OAuth Resource-Server Model for Remote MCP Without Issuing Tokens
Kozou, an open-source tool that exposes PostgreSQL context to AI agents via MCP and REST, added remote MCP support with OAuth authentication in version 1.13.0, released on July 13, 2026. Rather than building its own authorization server, Kozou was designed as an OAuth resource server that validates tokens issued by third-party providers and enforces access accordingly. The approach maps incoming JWT claims to PostgreSQL roles using SET LOCAL ROLE, then relies on Postgres row-level security to handle data enforcement. This resource-server posture was not adopted to comply with the MCP authorization spec; it had already been implemented on the REST surface in v0.2.0 on June 1, 2026, and simply extended to the MCP transport. By holding no credentials or user accounts, Kozou avoids the security risks associated with managing an identity store.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in