@mastra/mcp-registry-registry 0.0.2 → 0.0.3-alpha.2
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.
|
@@ -125,6 +125,12 @@ export declare function processApiTrackerServers(data: unknown): ServerEntry[];
|
|
|
125
125
|
*/
|
|
126
126
|
export declare function processDefaultServers(data: unknown): ServerEntry[];
|
|
127
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
|
+
|
|
128
134
|
/**
|
|
129
135
|
* Post-processor for Fleur registry
|
|
130
136
|
* Handles the specific format of Fleur's app data
|
|
@@ -55,6 +55,35 @@ function processApiTrackerServers(data) {
|
|
|
55
55
|
return servers;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
// src/registry/processors/docker.ts
|
|
59
|
+
function processDockerServers(data) {
|
|
60
|
+
if (!data || typeof data !== "object") {
|
|
61
|
+
return [];
|
|
62
|
+
}
|
|
63
|
+
const servers = [];
|
|
64
|
+
const results = data?.results || [];
|
|
65
|
+
if (!Array.isArray(results)) {
|
|
66
|
+
return [];
|
|
67
|
+
}
|
|
68
|
+
for (const item of results) {
|
|
69
|
+
if (typeof item === "object" && item !== null) {
|
|
70
|
+
const server = createServerEntry(item);
|
|
71
|
+
if (item.name) {
|
|
72
|
+
server.id = item.name;
|
|
73
|
+
server.name = item.name;
|
|
74
|
+
}
|
|
75
|
+
if (Array.isArray(item.images) && item.images[0]?.description) {
|
|
76
|
+
server.description = item.images[0].description;
|
|
77
|
+
}
|
|
78
|
+
if (item.last_updated) {
|
|
79
|
+
server.updatedAt = item.last_updated;
|
|
80
|
+
}
|
|
81
|
+
servers.push(server);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return servers;
|
|
85
|
+
}
|
|
86
|
+
|
|
58
87
|
// src/registry/processors/fleur.ts
|
|
59
88
|
function processFleurServers(data) {
|
|
60
89
|
if (!data || typeof data !== "object") {
|
|
@@ -125,6 +154,16 @@ var registryData = {
|
|
|
125
154
|
tags: ["verified"],
|
|
126
155
|
postProcessServers: processApiTrackerServers
|
|
127
156
|
},
|
|
157
|
+
{
|
|
158
|
+
id: "docker-mcp-catalog",
|
|
159
|
+
name: "Docker MCP Catalog",
|
|
160
|
+
description: "A collection of secure, high quality MCP servers as docker images",
|
|
161
|
+
url: "https://hub.docker.com/catalogs/mcp",
|
|
162
|
+
servers_url: "https://hub.docker.com/v2/repositories/mcp/",
|
|
163
|
+
tags: ["verified"],
|
|
164
|
+
count: 102,
|
|
165
|
+
postProcessServers: processDockerServers
|
|
166
|
+
},
|
|
128
167
|
{
|
|
129
168
|
id: "apify",
|
|
130
169
|
name: "Apify",
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { registryData } from './chunk-
|
|
1
|
+
export { registryData } from './chunk-JJGHVNUE.js';
|
package/dist/stdio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { registryData } from './chunk-
|
|
2
|
+
import { registryData } from './chunk-JJGHVNUE.js';
|
|
3
3
|
import fs from 'node:fs/promises';
|
|
4
4
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
5
5
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-registry-registry",
|
|
3
|
-
"version": "0.0.2",
|
|
3
|
+
"version": "0.0.3-alpha.2",
|
|
4
4
|
"description": "MCP server for registry registry services.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"uuid": "^11.1.0",
|
|
28
28
|
"zod": "^3.22.4",
|
|
29
29
|
"zod-to-json-schema": "^3.22.4",
|
|
30
|
-
"@mastra/core": "^0.9.
|
|
30
|
+
"@mastra/core": "^0.9.1-alpha.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^1.13.8",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"tsx": "^4.19.3",
|
|
41
41
|
"typescript": "^5.3.3",
|
|
42
42
|
"vitest": "^3.0.9",
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
43
|
+
"@mastra/mcp": "^0.4.1-alpha.2",
|
|
44
|
+
"@internal/lint": "0.0.2"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsup src/index.ts src/stdio.ts --format esm --experimental-dts --treeshake=smallest --splitting",
|