Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintContextMcpEndpointResourceBeta

    A Context MCP endpoint resource. This feature is subject to breaking changes.

    interface BlueprintContextMcpEndpointResource {
        groqFilter?: string;
        instructions?: string;
        name: string;
        sources: ContextMcpEndpointSource[];
        title: string;
        type: "sanity.context.mcp";
    }

    Hierarchy (View Summary)

    Index

    Properties

    groqFilter?: string

    A GROQ filter for the documents that the dataset source serves. It requires a dataset source.

    instructions?: string

    Instructions for agents that connect to the endpoint, up to 10,000 characters.

    name: string

    The endpoint name in the URL that agents connect to: lowercase letters, digits and single hyphens, up to 64 characters. The names by-name and mcp followed by 8 letters or digits are reserved. With the default deletion policy (allow), a change deletes the endpoint and creates a new endpoint with a new URL.

    What the endpoint serves: any number of knowledge bases and at most one dataset.

    title: string

    The endpoint title, up to 100 characters.

    type: "sanity.context.mcp"

    The type of the resource. e.g. 'sanity.project.webhook'