Changed
-
[drf-mcp]→djangorestframework-mcp-server>=0.17,<0.22, taking in both
0.20.0 and 0.21.0. Two consumer-reported blockers, neither of which touches
this bridge:- 0.21.0 —
DjangoOAuthToolkitBackendrejected every bearer token once a
resource URL was configured. Audience enforcement read aresourcefield
that DOT'sAccessTokendoes not have, so it could never succeed;
enforcement is now the separateENFORCE_AUDIENCE, default off. - 0.20.0 — dynamically registered clients could not be issued an ID token
(Application.algorithmwas never set), so the token endpoint 500'd whenever
the advertisedopenidscope was requested.
Both are confined to drf-mcp's OAuth surface. This bridge consumes
MCPServer
and the tool registry in-process, so no adaptation was needed — verified with
the lock updated to 0.21.0 and the suite green.0.20.0 also added
UndescribedToolWarningfor a tool registered with no
description. Two bridge fixtures do that on purpose, to cover the
no-description path, so the warning is filtered inpyproject.tomlrather
than papered over by giving fixtures descriptions they are meant to lack. - 0.21.0 —