@modelcontextprotocol/sdk
    Preparing search index...

    Interface Root

    Represents a root directory or file that the server can operate on.

    interface Root {
        _meta?: { [key: string]: unknown };
        name?: string;
        uri: string;
    }
    Index

    Properties

    Properties

    _meta?: { [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    name?: string

    An optional name for the root. This can be used to provide a human-readable identifier for the root, which may be useful for display purposes or for referencing the root in other parts of the application.

    uri: string

    The URI identifying the root. This must start with file:// for now. This restriction may be relaxed in future versions of the protocol to allow other URI schemes.

    uri