@toolsdk.ai/registry 1.0.100 → 1.0.102
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.
- package/README.md +3770 -3751
- package/dist/helper.d.ts +23 -0
- package/dist/helper.js +34 -14
- package/indexes/categories-list.json +3761 -3742
- package/indexes/packages-list.json +3773 -122
- package/package.json +17 -6
- package/packages/browser-automation/agentdeskai-browser-tools-mcp.json +10 -0
- package/packages/browser-automation/mcp-playwright.json +10 -0
- package/packages/browser-automation/playwright-mcp-server.json +10 -0
- package/packages/cloud-platforms/vercel-mcp-handler.json +10 -0
- package/packages/communication/discord-bot.json +18 -1
- package/packages/communication/discord-mcp-server.json +15 -0
- package/packages/communication/discord-mcp.json +19 -0
- package/packages/communication/slack-conversations.json +17 -4
- package/packages/data-platforms/google-analytics-mcp.json +13 -4
- package/packages/data-platforms/mcp-google-analytics.json +27 -0
- package/packages/databases/benborla29-mcp-server-mysql.json +43 -2
- package/packages/databases/mcp-postgres-server.json +1 -1
- package/packages/developer-tools/azure-mcp-win32-x64.json +23 -0
- package/packages/developer-tools/azure-mcp.json +23 -0
- package/packages/developer-tools/heilgar-shadcn-ui-mcp-server.json +1 -1
- package/packages/developer-tools/jpisnice-shadcn-ui-mcp-server.json +2 -2
- package/packages/developer-tools/mcp-framework.json +10 -0
- package/packages/developer-tools/mcp-proxy.json +10 -0
- package/packages/developer-tools/oneuptime-mcp-server.json +19 -0
- package/packages/developer-tools/orval-mcp.json +10 -0
- package/packages/marketing/google-analytics-mcp-server.json +16 -0
- package/packages/other-tools-and-integrations/fastmcp.json +10 -0
- package/packages/other-tools-and-integrations/mcp-remote.json +15 -0
- package/packages/other-tools-and-integrations/wenbopan-things-mcp.json +1 -1
- package/packages/search-data-extraction/apify-actors-mcp-server.json +15 -0
- package/packages/search-data-extraction/google-search-mcp-server.json +10 -0
- package/packages/search-data-extraction/google-search-mcp.json +10 -1
- package/packages/travel-transportation/py-train-12306.json +1 -1
- package/packages/uncategorized/mixpanel-analytics-toolsdk.json +15 -0
- package/packages/uncategorized/mixpanel-analytics.json +3 -2
package/dist/helper.d.ts
CHANGED
|
@@ -45,4 +45,27 @@ export declare function updatePackageJsonDependencies({ packageDeps, enableValid
|
|
|
45
45
|
export declare function getActualVersion(packageName: string, configuredVersion?: string): string;
|
|
46
46
|
export declare function withTimeout<T>(ms: number, promise: Promise<T>): Promise<T>;
|
|
47
47
|
export declare function isValidNpmPackage(packageName: string): Promise<boolean>;
|
|
48
|
+
interface PyProjectToml {
|
|
49
|
+
project?: {
|
|
50
|
+
dependencies?: string[];
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
[key: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Parses the pyproject.toml file and returns its content
|
|
57
|
+
* @returns Parsed pyproject.toml content
|
|
58
|
+
*/
|
|
59
|
+
export declare function parsePyprojectToml(): PyProjectToml;
|
|
60
|
+
/**
|
|
61
|
+
* Extracts package name from a dependency string
|
|
62
|
+
* @param dep - Dependency string (e.g., "package>=1.0.0")
|
|
63
|
+
* @returns Package name without version constraints
|
|
64
|
+
*/
|
|
65
|
+
export declare function extractPackageName(dep: string): string;
|
|
66
|
+
/**
|
|
67
|
+
* Gets Python dependencies from pyproject.toml
|
|
68
|
+
* @returns Array of Python dependency names
|
|
69
|
+
*/
|
|
48
70
|
export declare function getPythonDependencies(): string[];
|
|
71
|
+
export {};
|
package/dist/helper.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import assert from "node:assert";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import * as path from "node:path";
|
|
4
|
+
import toml from "@iarna/toml";
|
|
4
5
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
5
6
|
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
6
7
|
import axios from "axios";
|
|
7
8
|
import semver from "semver";
|
|
8
|
-
import toml from "toml";
|
|
9
9
|
import allPackagesList from "../indexes/packages-list.json";
|
|
10
10
|
import { MCPServerPackageConfigSchema, PackagesListSchema } from "./schema";
|
|
11
11
|
export const typedAllPackagesList = PackagesListSchema.parse(allPackagesList);
|
|
@@ -99,8 +99,8 @@ export function updatePackageJsonDependencies({ packageDeps, enableValidation =
|
|
|
99
99
|
"@hono/node-server": "1.15.0",
|
|
100
100
|
"@hono/swagger-ui": "^0.5.2",
|
|
101
101
|
"@hono/zod-openapi": "^0.16.4",
|
|
102
|
+
"@iarna/toml": "^2.2.5",
|
|
102
103
|
lodash: "^4.17.21",
|
|
103
|
-
toml: "^3.0.0",
|
|
104
104
|
zod: "^3.23.30",
|
|
105
105
|
axios: "^1.9.0",
|
|
106
106
|
hono: "4.8.3",
|
|
@@ -111,15 +111,15 @@ export function updatePackageJsonDependencies({ packageDeps, enableValidation =
|
|
|
111
111
|
newDeps[depName] = depVer || "latest";
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
const blacklistDeps = new Set([
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
]);
|
|
118
|
-
for (const dep of blacklistDeps) {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
114
|
+
// const blacklistDeps = new Set([
|
|
115
|
+
// "@mcp-server/google-search-mcp",
|
|
116
|
+
// "@executeautomation/playwright-mcp-server",
|
|
117
|
+
// ]);
|
|
118
|
+
// for (const dep of blacklistDeps) {
|
|
119
|
+
// if (newDeps[dep]) {
|
|
120
|
+
// delete newDeps[dep];
|
|
121
|
+
// }
|
|
122
|
+
// }
|
|
123
123
|
const packageJSON = JSON.parse(packageJSONStr);
|
|
124
124
|
packageJSON.dependencies = newDeps;
|
|
125
125
|
fs.writeFileSync(packageJsonFile, JSON.stringify(packageJSON, null, 2), "utf-8");
|
|
@@ -241,10 +241,30 @@ export async function isValidNpmPackage(packageName) {
|
|
|
241
241
|
return false;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Parses the pyproject.toml file and returns its content
|
|
246
|
+
* @returns Parsed pyproject.toml content
|
|
247
|
+
*/
|
|
248
|
+
export function parsePyprojectToml() {
|
|
249
|
+
const pyprojectPath = "./python-mcp/pyproject.toml";
|
|
250
|
+
const content = fs.readFileSync(pyprojectPath, "utf-8");
|
|
251
|
+
return toml.parse(content);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Extracts package name from a dependency string
|
|
255
|
+
* @param dep - Dependency string (e.g., "package>=1.0.0")
|
|
256
|
+
* @returns Package name without version constraints
|
|
257
|
+
*/
|
|
258
|
+
export function extractPackageName(dep) {
|
|
259
|
+
return dep.split(/[=<>!]/)[0].trim();
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Gets Python dependencies from pyproject.toml
|
|
263
|
+
* @returns Array of Python dependency names
|
|
264
|
+
*/
|
|
244
265
|
export function getPythonDependencies() {
|
|
245
266
|
var _a;
|
|
246
|
-
const
|
|
247
|
-
const data = toml.parse(content);
|
|
267
|
+
const data = parsePyprojectToml();
|
|
248
268
|
const deps = ((_a = data.project) === null || _a === void 0 ? void 0 : _a.dependencies) || [];
|
|
249
|
-
return deps.map(
|
|
269
|
+
return deps.map(extractPackageName);
|
|
250
270
|
}
|