Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 08:21
b1483cf

Changed (breaking)

  • MCPServer.urls / .async_urls now return a namespaced
    (patterns, app_name, namespace) triple
    — the shape path() mounts directly,
    the admin.site.urls idiom, aligning with django-ag-ui's AGUIServer.urls
    (the MOUNT cross-package symmetry). Mount without include():

    # before
    urlpatterns = [path("mcp/", include(server.urls))]
    # after
    urlpatterns = [path("mcp/", server.urls)]

    The endpoint URL names are now namespaced and unqualified within the
    namespace: mcp-endpointmcp:endpoint, mcp-protected-resource-metadata
    mcp:protected-resource-metadata (default namespace "mcp"; override with the
    new MCPServer(url_namespace="…")). Update any reverse() / {% url %} calls
    and switch the *server.urls splat form to path("mcp/", server.urls).