# Changelog (laravel-rust-mcp-oauth)

> What changed in each release of laravel-rust-mcp-oauth: additions, changes and fixes.

- Package: laravel-rust-mcp-oauth (Laravel for Rust, alpha), crates: `laravel-rust-mcp-oauth`
- Maintenance: active; Latest release: 0.1.0 (2026-12-05); Framework: laravel-rust 0.2.x; MSRV: Rust 1.99 or later; Licence: MIT
- Links: [Repository](https://github.com/bowerbird-si/laravel-rust-mcp-oauth), [crates.io](https://crates.io/crates/laravel-rust-mcp-oauth/0.1.0), [docs.rs](https://docs.rs/laravel-rust-mcp-oauth/0.1.0), [Changelog](https://oss.bowerbird.si/mcp-oauth/docs/changelog/), [Contributing](https://github.com/bowerbird-si/laravel-rust-mcp-oauth/blob/8b1d066397c9f1a1cf02d444a910a1c65585c159/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/laravel-rust-mcp-oauth/blob/8b1d066397c9f1a1cf02d444a910a1c65585c159/SECURITY.md)
- Based on: [Laravel MCP](https://github.com/laravel/mcp): The public flow of Mcp::oauthRoutes(): discovery, client registration, an approval screen in your app and bearer tokens for the MCP server.; [Laravel Passport](https://github.com/laravel/passport): The authorization server Laravel MCP builds on. This crate needs no Passport, supports Client ID Metadata Documents and uses opaque, hashed tokens instead of JWTs.; [MCP authorization specification](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization): The sign-in flow MCP clients expect, with Client ID Metadata Documents preferred over dynamic registration.
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/mcp-oauth/docs/changelog/
- Source: https://github.com/bowerbird-si/laravel-rust-mcp-oauth/blob/8b1d066397c9f1a1cf02d444a910a1c65585c159/CHANGELOG.md

All notable changes to this package. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow the package standards'
versioning rules: while the version is `0.x`, a minor release may break, a patch never does.

## [Unreleased]

## [0.1.0] - 2026-12-05

First release. Requires `laravel-rust` 0.2 and Rust 1.99. The `postgres` feature is on by default; MySQL and SQLite applications use `default-features = false` with `mysql` or `sqlite` (laravel/rust-framework#419).

### Added

- An OAuth 2.1 authorization server for MCP servers in Laravel for Rust, so assistants such as Claude, ChatGPT, Cursor and VS Code can connect with a sign-in and an approval click:
  - discovery documents for protected resources (RFC 9728) and the authorization server (RFC 8414);
  - client registration with Client ID Metadata Documents and dynamic registration (RFC 7591), public clients only;
  - authorization with PKCE S256, resource indicators (RFC 8707) and the `iss` parameter (RFC 9207);
  - an approval page on the application's own sign-in that names apps by evidence and warns about unreviewed apps, look-alike names and local programs, as overridable MiniJinja views;
  - opaque tokens stored as SHA-256 digests, refresh rotation with a two-minute retry window, and replay detection that revokes the connection;
  - revocation (RFC 7009) of a whole connection.
- `McpAuthenticate`, middleware that protects an MCP route: guest methods such as `server/discover`, the 401, 403 and 503 answers clients discover the server from, scope checks before the route runs, and an `Origin` check. `McpGrant` and `McpUser` extractors and the `McpTokens` request guard.
- A fetcher for client metadata documents that only reaches public HTTPS addresses, with no redirects, a 5-second timeout and a 10 KB cap.
- Storage on PostgreSQL, MySQL and SQLite with a configurable table prefix, so an application can share the tables with another implementation of the same schema.
- `McpOAuth` for a connected-apps page (`connections`, `revoke`, `revoke_all`), the `GrantCreated`, `GrantRevoked` and `RefreshTokenReplayed` events, the `mcp-oauth:prune` and `mcp-oauth:clients` commands and a daily prune.
- `McpOAuth::testing()` helpers that issue real tokens in application tests.
- A user guide, a threat model, end-to-end tests with the official Rust MCP SDK's OAuth client, conformance vectors and fuzz targets for every parser of untrusted input.
