@clipform/mcp-server 2.10.3 → 2.10.4
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.
|
@@ -20580,6 +20580,10 @@ Optional args by type:
|
|
|
20580
20580
|
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
20581
20581
|
var pkg = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
|
|
20582
20582
|
var MCP_VERSION = pkg.version;
|
|
20583
|
+
var MCP_SERVER_IDENTITY = Object.freeze({
|
|
20584
|
+
name: "clipform-mcp-server",
|
|
20585
|
+
version: MCP_VERSION
|
|
20586
|
+
});
|
|
20583
20587
|
function buildInstructions(caps) {
|
|
20584
20588
|
return [
|
|
20585
20589
|
"Clipform builds interactive video-style forms. When the brief is clear, build the form directly; when it's vague, ask one or two short questions first.",
|
|
@@ -20594,10 +20598,7 @@ function buildInstructions(caps) {
|
|
|
20594
20598
|
function createServer(options) {
|
|
20595
20599
|
const caps = capsFromToolsets(options?.toolsets);
|
|
20596
20600
|
const server = new McpServer(
|
|
20597
|
-
{
|
|
20598
|
-
name: "clipform-mcp-server",
|
|
20599
|
-
version: MCP_VERSION
|
|
20600
|
-
},
|
|
20601
|
+
{ ...MCP_SERVER_IDENTITY },
|
|
20601
20602
|
{ instructions: buildInstructions(caps) }
|
|
20602
20603
|
);
|
|
20603
20604
|
const _registerTool = server.registerTool.bind(server);
|
|
@@ -20667,7 +20668,8 @@ function createServer(options) {
|
|
|
20667
20668
|
export {
|
|
20668
20669
|
JSONRPCMessageSchema,
|
|
20669
20670
|
RENDER_TIMING,
|
|
20671
|
+
MCP_SERVER_IDENTITY,
|
|
20670
20672
|
buildInstructions,
|
|
20671
20673
|
createServer
|
|
20672
20674
|
};
|
|
20673
|
-
//# sourceMappingURL=chunk-
|
|
20675
|
+
//# sourceMappingURL=chunk-EMQPJPF4.js.map
|