• v1.2.0 df018fc43b

    Ghost released this 2025-09-29 22:43:27 +00:00 | 412 commits to main since this release

    Motivation and Context

    Currently the dns and http based auth flows share code well in the
    publisher tool. However there is a lot of duplication in the auth
    endpoint. This on it's own is not a problem but it does make
    enhancements to the proof record (the v=MCPv1; ... string) harder to
    keep in sync.

    This PR adds a common.go file to share logic between the two.

    This supports work I am prototyping for
    https://github.com/modelcontextprotocol/registry/issues/482.

    How Has This Been Tested?

    Added new test cases for the permissions. Ran them before and after the
    refactoring to ensure no behavior change.
    Ran existing UTs.
    Ran the integration tests.
    Manually exercised the flows locally.

    Breaking Changes

    None.

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)
    • New feature (non-breaking change which adds functionality)
    • Breaking change (fix or feature that would cause existing
      functionality to change)
    • Documentation update

    Checklist

    • I have read the MCP
      Documentation
    • My code follows the repository's style guidelines
    • New and existing tests pass locally
    • I have added appropriate error handling
    • I have added or updated documentation as needed

    Additional context

    Downloads