@koduhai/mcp-kit
    Preparing search index...

    Interface VersioningOptions

    API versioning for MCP servers: pin the upstream API version, send it on every request, expose it to the agent via a get_version tool, and detect drift between the version your server speaks and the API's current version.

    interface VersioningOptions {
        current?: string;
        header: string;
        supported?: string[];
        version: string;
    }
    Index

    Properties

    current?: string

    The API's current/latest version, if known. Used to flag drift.

    header: string

    Header used to send the pinned version upstream, e.g. Api-Version or Koduh-Version.

    supported?: string[]

    Versions this server is known-compatible with. If set, version must be one of them.

    version: string

    The version this server pins and sends.