@clipform/mcp-server 4.1.0 → 4.2.0
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.
|
@@ -19903,10 +19903,19 @@ Optional args by type:
|
|
|
19903
19903
|
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
19904
19904
|
var pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
|
|
19905
19905
|
var MCP_VERSION = pkg.version;
|
|
19906
|
+
var serverJson = JSON.parse(readFileSync(join(__dirname, "..", "server.json"), "utf-8"));
|
|
19906
19907
|
var MCP_SERVER_IDENTITY = Object.freeze({
|
|
19907
|
-
name:
|
|
19908
|
+
name: serverJson.name,
|
|
19908
19909
|
version: MCP_VERSION
|
|
19909
19910
|
});
|
|
19911
|
+
var MCP_SERVER_CARD_IDENTITY = Object.freeze({
|
|
19912
|
+
name: serverJson.name,
|
|
19913
|
+
title: serverJson.title,
|
|
19914
|
+
description: serverJson.description,
|
|
19915
|
+
websiteUrl: serverJson.websiteUrl,
|
|
19916
|
+
icons: serverJson.icons,
|
|
19917
|
+
repository: serverJson.repository
|
|
19918
|
+
});
|
|
19910
19919
|
function buildInstructions(caps) {
|
|
19911
19920
|
return [
|
|
19912
19921
|
buildOnboardingOffer(),
|
|
@@ -20067,6 +20076,7 @@ function createServer(options) {
|
|
|
20067
20076
|
}
|
|
20068
20077
|
|
|
20069
20078
|
export {
|
|
20079
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
20070
20080
|
ReadBuffer,
|
|
20071
20081
|
serializeMessage,
|
|
20072
20082
|
process2 as process,
|
|
@@ -20074,6 +20084,7 @@ export {
|
|
|
20074
20084
|
createMcpHandler,
|
|
20075
20085
|
RENDER_TIMING,
|
|
20076
20086
|
MCP_SERVER_IDENTITY,
|
|
20087
|
+
MCP_SERVER_CARD_IDENTITY,
|
|
20077
20088
|
buildInstructions,
|
|
20078
20089
|
createServer
|
|
20079
20090
|
};
|
|
@@ -20086,4 +20097,4 @@ export {
|
|
|
20086
20097
|
* MIT Licensed
|
|
20087
20098
|
*)
|
|
20088
20099
|
*/
|
|
20089
|
-
//# sourceMappingURL=chunk-
|
|
20100
|
+
//# sourceMappingURL=chunk-YKJV5LZQ.js.map
|