
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9afa5329-4992-5db0-be59-bc025ea3283e")}catch(e){}}();
import { LATEST_PROTOCOL_VERSION } from '@modelcontextprotocol/sdk/types.js';
import { APIFY_DOCS_MCP_URL, APIFY_FAVICON_URL, SERVER_NAME, SERVER_TITLE, SERVER_VERSION } from './const.js';
import { readJsonFile } from './utils/generic.js';
const serverJson = readJsonFile(import.meta.url, '../server.json');
/** Returns the MCP server card object per SEP-1649. */
export function getServerCard() {
    return {
        $schema: 'https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json',
        version: '1.0',
        protocolVersion: LATEST_PROTOCOL_VERSION,
        serverInfo: {
            name: SERVER_NAME,
            title: SERVER_TITLE,
            version: SERVER_VERSION,
        },
        description: serverJson.description,
        iconUrl: APIFY_FAVICON_URL,
        documentationUrl: APIFY_DOCS_MCP_URL,
        transport: {
            type: 'streamable-http',
            endpoint: '/',
        },
        capabilities: {
            tools: { listChanged: true },
        },
        authentication: {
            required: true,
            schemes: ['bearer', 'oauth2'],
        },
        tools: 'dynamic',
    };
}
//# sourceMappingURL=server_card.js.map
//# debugId=9afa5329-4992-5db0-be59-bc025ea3283e
