MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getPublicProfiles

Method getPublicProfiles

server/src/db/member-db.ts:349–360  ·  view source on GitHub ↗

* Get public profiles for directory

(options: {
    search?: string;
    offerings?: MemberOffering[];
    markets?: string[];
    limit?: number;
    offset?: number;
  } = {})

Source from the content-addressed store, hash-verified

347 * Get public profiles for directory
348 */
349 async getPublicProfiles(options: {
350 search?: string;
351 offerings?: MemberOffering[];
352 markets?: string[];
353 limit?: number;
354 offset?: number;
355 } = {}): Promise<MemberProfile[]> {
356 return this.listProfiles({
357 is_public: true,
358 ...options,
359 });
360 }
361
362 /**
363 * Check if slug is available

Callers 5

setupAuthRoutesMethod · 0.95
handleToolCallMethod · 0.80
handleResourceReadMethod · 0.80
createRegistryApiRouterFunction · 0.80

Calls 1

listProfilesMethod · 0.95

Tested by

no test coverage detected