@mastra/mcp-registry-registry 0.0.0-share-agent-metadata-with-cloud-20250718123411 → 0.0.0-stream-vnext-usage-20250908171242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +933 -0
  2. package/dist/{chunk-YU6LNU6R.js → chunk-7D5IPHZI.js} +2 -7
  3. package/dist/chunk-7D5IPHZI.js.map +1 -0
  4. package/dist/index.d.ts +2 -1
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +3 -1
  7. package/dist/index.js.map +1 -0
  8. package/dist/registry/fetch-servers.d.ts +20 -0
  9. package/dist/registry/fetch-servers.d.ts.map +1 -0
  10. package/dist/registry/index.d.ts +3 -0
  11. package/dist/registry/index.d.ts.map +1 -0
  12. package/dist/registry/list-registries.d.ts +28 -0
  13. package/dist/registry/list-registries.d.ts.map +1 -0
  14. package/dist/registry/processors/apify.d.ts +7 -0
  15. package/dist/registry/processors/apify.d.ts.map +1 -0
  16. package/dist/registry/processors/apitracker.d.ts +7 -0
  17. package/dist/registry/processors/apitracker.d.ts.map +1 -0
  18. package/dist/registry/processors/default.d.ts +7 -0
  19. package/dist/registry/processors/default.d.ts.map +1 -0
  20. package/dist/registry/processors/docker.d.ts +7 -0
  21. package/dist/registry/processors/docker.d.ts.map +1 -0
  22. package/dist/registry/processors/fleur.d.ts +7 -0
  23. package/dist/registry/processors/fleur.d.ts.map +1 -0
  24. package/dist/registry/processors/mcprun.d.ts +3 -0
  25. package/dist/registry/processors/mcprun.d.ts.map +1 -0
  26. package/dist/registry/processors/pulse.d.ts +7 -0
  27. package/dist/registry/processors/pulse.d.ts.map +1 -0
  28. package/dist/registry/processors/utils.d.ts +3 -0
  29. package/dist/registry/processors/utils.d.ts.map +1 -0
  30. package/dist/registry/registry.d.ts +3 -0
  31. package/dist/registry/registry.d.ts.map +1 -0
  32. package/dist/registry/types.d.ts +35 -0
  33. package/dist/registry/types.d.ts.map +1 -0
  34. package/dist/server.d.ts +27 -0
  35. package/dist/server.d.ts.map +1 -0
  36. package/dist/stdio.d.ts +2 -0
  37. package/dist/stdio.d.ts.map +1 -0
  38. package/dist/stdio.js +3 -1
  39. package/dist/stdio.js.map +1 -0
  40. package/dist/tools/list.d.ts +36 -0
  41. package/dist/tools/list.d.ts.map +1 -0
  42. package/dist/tools/servers.d.ts +33 -0
  43. package/dist/tools/servers.d.ts.map +1 -0
  44. package/dist/utils.d.ts +2 -0
  45. package/dist/utils.d.ts.map +1 -0
  46. package/package.json +24 -13
  47. package/dist/_tsup-dts-rollup.d.ts +0 -249
@@ -1,249 +0,0 @@
1
- import { Server } from '@modelcontextprotocol/sdk/server/index.js';
2
- import { z } from 'zod';
3
-
4
- export declare function createServerEntry(data: Record<string, unknown>): ServerEntry;
5
-
6
- /**
7
- * Fetches servers from a registry's servers_url endpoint
8
- */
9
- declare function fetchServersFromRegistry(registryId: string): Promise<ServerEntry[]>;
10
- export { fetchServersFromRegistry }
11
- export { fetchServersFromRegistry as fetchServersFromRegistry_alias_1 }
12
-
13
- /**
14
- * Filters registry entries based on provided criteria
15
- */
16
- declare function filterRegistries(registries: RegistryEntry[], filters: {
17
- id?: string;
18
- tag?: string;
19
- name?: string;
20
- }): RegistryEntry[];
21
- export { filterRegistries }
22
- export { filterRegistries as filterRegistries_alias_1 }
23
-
24
- /**
25
- * Filters server entries based on provided criteria
26
- */
27
- declare function filterServers(servers: ServerEntry[], filters: {
28
- tag?: string;
29
- search?: string;
30
- }): ServerEntry[];
31
- export { filterServers }
32
- export { filterServers as filterServers_alias_1 }
33
-
34
- /**
35
- * Formats registry entries for API response
36
- */
37
- declare function formatRegistryResponse(registries: RegistryEntry[], detailed?: boolean): any;
38
- export { formatRegistryResponse }
39
- export { formatRegistryResponse as formatRegistryResponse_alias_1 }
40
-
41
- export declare function fromPackageRoot(relativePath: string): string;
42
-
43
- /**
44
- * Main function to get registry listings with optional filtering
45
- */
46
- declare function getRegistryListings(filters?: {
47
- id?: string;
48
- tag?: string;
49
- name?: string;
50
- }, options?: {
51
- detailed?: boolean;
52
- }): Promise<any>;
53
- export { getRegistryListings }
54
- export { getRegistryListings as getRegistryListings_alias_1 }
55
-
56
- /**
57
- * Main function to get servers from a registry with optional filtering
58
- */
59
- declare function getServersFromRegistry(registryId: string, filters?: {
60
- tag?: string;
61
- search?: string;
62
- }): Promise<any>;
63
- export { getServersFromRegistry }
64
- export { getServersFromRegistry as getServersFromRegistry_alias_1 }
65
-
66
- export declare const listInputSchema: z.ZodObject<{
67
- id: z.ZodOptional<z.ZodString>;
68
- tag: z.ZodOptional<z.ZodString>;
69
- name: z.ZodOptional<z.ZodString>;
70
- detailed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
71
- }, "strip", z.ZodTypeAny, {
72
- detailed: boolean;
73
- id?: string | undefined;
74
- name?: string | undefined;
75
- tag?: string | undefined;
76
- }, {
77
- id?: string | undefined;
78
- name?: string | undefined;
79
- tag?: string | undefined;
80
- detailed?: boolean | undefined;
81
- }>;
82
-
83
- export declare const listTool: {
84
- name: string;
85
- description: string;
86
- execute(input: ListToolInput): Promise<{
87
- content: {
88
- type: string;
89
- text: string;
90
- }[];
91
- isError?: undefined;
92
- } | {
93
- content: {
94
- type: string;
95
- text: string;
96
- }[];
97
- isError: boolean;
98
- }>;
99
- };
100
-
101
- export declare type ListToolInput = z.infer<typeof listInputSchema>;
102
-
103
- /**
104
- * Returns the registry data from the registry.ts file
105
- */
106
- declare function loadRegistryData(): Promise<RegistryFile>;
107
- export { loadRegistryData }
108
- export { loadRegistryData as loadRegistryData_alias_1 }
109
-
110
- /**
111
- * Post-processor for Apify registry
112
- * Handles the specific format of Apify's store data
113
- */
114
- export declare function processApifyServers(data: any): ServerEntry[];
115
-
116
- /**
117
- * Post-processor for APITracker registry
118
- * Handles the specific format of APITracker's server data
119
- */
120
- export declare function processApiTrackerServers(data: unknown): ServerEntry[];
121
-
122
- /**
123
- * Default processor for registry server data
124
- * Handles common formats that might be encountered
125
- */
126
- export declare function processDefaultServers(data: unknown): ServerEntry[];
127
-
128
- /**
129
- * Post-processor for Docker MCP Hub registry
130
- * Transforms Docker Hub API response into standardized ServerEntry format
131
- */
132
- export declare function processDockerServers(data: unknown): ServerEntry[];
133
-
134
- /**
135
- * Post-processor for Fleur registry
136
- * Handles the specific format of Fleur's app data
137
- */
138
- export declare function processFleurServers(data: unknown): ServerEntry[];
139
-
140
- export declare function processMcpRunServers(data: any): ServerEntry[];
141
-
142
- /**
143
- * Post-processor for Pulse MCP registry
144
- * Handles the specific format of Pulse MCP's server data
145
- */
146
- export declare function processPulseMcpServers(data: any): ServerEntry[];
147
-
148
- declare const registryData: RegistryFile;
149
- export { registryData }
150
- export { registryData as registryData_alias_1 }
151
-
152
- export declare interface RegistryEntry {
153
- id: string;
154
- name: string;
155
- description: string;
156
- url: string;
157
- servers_url?: string;
158
- tags?: string[];
159
- count?: number | string;
160
- postProcessServers?: (data: unknown) => ServerEntry[];
161
- }
162
-
163
- export declare interface RegistryFile {
164
- registries: RegistryEntry[];
165
- }
166
-
167
- export declare function runServer(): Promise<void>;
168
-
169
- export declare const server: Server<{
170
- method: string;
171
- params?: {
172
- [x: string]: unknown;
173
- _meta?: {
174
- [x: string]: unknown;
175
- progressToken?: string | number | undefined;
176
- } | undefined;
177
- } | undefined;
178
- }, {
179
- method: string;
180
- params?: {
181
- [x: string]: unknown;
182
- _meta?: {
183
- [x: string]: unknown;
184
- } | undefined;
185
- } | undefined;
186
- }, {
187
- [x: string]: unknown;
188
- _meta?: {
189
- [x: string]: unknown;
190
- } | undefined;
191
- }>;
192
-
193
- export declare type ServerEntry = z.infer<typeof ServerEntrySchema>;
194
-
195
- export declare const ServerEntrySchema: z.ZodObject<{
196
- id: z.ZodString;
197
- name: z.ZodString;
198
- description: z.ZodString;
199
- createdAt: z.ZodString;
200
- updatedAt: z.ZodString;
201
- }, "strip", z.ZodTypeAny, {
202
- id: string;
203
- name: string;
204
- description: string;
205
- createdAt: string;
206
- updatedAt: string;
207
- }, {
208
- id: string;
209
- name: string;
210
- description: string;
211
- createdAt: string;
212
- updatedAt: string;
213
- }>;
214
-
215
- export declare const serversInputSchema: z.ZodObject<{
216
- registryId: z.ZodString;
217
- tag: z.ZodOptional<z.ZodString>;
218
- search: z.ZodOptional<z.ZodString>;
219
- }, "strip", z.ZodTypeAny, {
220
- registryId: string;
221
- tag?: string | undefined;
222
- search?: string | undefined;
223
- }, {
224
- registryId: string;
225
- tag?: string | undefined;
226
- search?: string | undefined;
227
- }>;
228
-
229
- export declare const serversTool: {
230
- name: string;
231
- description: string;
232
- execute(input: ServersToolInput): Promise<{
233
- content: {
234
- type: string;
235
- text: string;
236
- }[];
237
- isError?: undefined;
238
- } | {
239
- content: {
240
- type: string;
241
- text: string;
242
- }[];
243
- isError: boolean;
244
- }>;
245
- };
246
-
247
- export declare type ServersToolInput = z.infer<typeof serversInputSchema>;
248
-
249
- export { }