@codingmantra/mcp-server 0.1.1 → 0.1.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.
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/index.ts +32 -0
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ A **Model Context Protocol (MCP)** server that connects AI agents (like Claude D
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **Product Photography** — Generate AI studio product photos with custom scenes
|
|
8
|
-
- **Logo Creator** — Generate AI brand logos with style and color customization
|
|
9
|
-
- **QR Code Generator** — Create custom QR codes (URL, text, WiFi, vCard, UPI, email)
|
|
7
|
+
- **Product Photography** — Generate AI studio product photos with custom scenes, resolutions, templates, and dynamic logo/text overlays.
|
|
8
|
+
- **Logo Creator** — Generate AI brand logos with style, resolution, references, and color customization.
|
|
9
|
+
- **QR Code Generator** — Create custom QR codes (URL, text, WiFi, vCard, UPI, email) with branding and colors.
|
|
10
10
|
|
|
11
11
|
## Setup
|
|
12
12
|
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -55,6 +55,30 @@ const GENERATE_PRODUCT_PHOTO_TOOL = {
|
|
|
55
55
|
referenceImage: {
|
|
56
56
|
type: "string",
|
|
57
57
|
description: "An optional URL or data URI of a reference image to guide style."
|
|
58
|
+
},
|
|
59
|
+
promptId: {
|
|
60
|
+
type: "string",
|
|
61
|
+
description: "Optional ID of a pre-defined prompt template."
|
|
62
|
+
},
|
|
63
|
+
logoImage: {
|
|
64
|
+
type: "string",
|
|
65
|
+
description: "Optional URL or Base64 data URI of a logo to place on the image."
|
|
66
|
+
},
|
|
67
|
+
logoPlacement: {
|
|
68
|
+
type: "string",
|
|
69
|
+
description: "Where to place the logo (e.g., 'top-left', 'bottom-right')."
|
|
70
|
+
},
|
|
71
|
+
logoSize: {
|
|
72
|
+
type: "number",
|
|
73
|
+
description: "Scale of the logo overlay (0.1 to 1.0)."
|
|
74
|
+
},
|
|
75
|
+
overlayText: {
|
|
76
|
+
type: "string",
|
|
77
|
+
description: "Optional text to overlay on the image."
|
|
78
|
+
},
|
|
79
|
+
marketingText: {
|
|
80
|
+
type: "string",
|
|
81
|
+
description: "Optional marketing text to overlay."
|
|
58
82
|
}
|
|
59
83
|
},
|
|
60
84
|
required: ["productImages", "scenePrompt"]
|
|
@@ -102,6 +126,14 @@ const GENERATE_LOGO_TOOL = {
|
|
|
102
126
|
resolution: {
|
|
103
127
|
type: "string",
|
|
104
128
|
description: "Output resolution (e.g., '1K', '2K'). Default is '1K'.",
|
|
129
|
+
},
|
|
130
|
+
promptId: {
|
|
131
|
+
type: "string",
|
|
132
|
+
description: "Optional ID or value of a pre-defined style template."
|
|
133
|
+
},
|
|
134
|
+
referenceImage: {
|
|
135
|
+
type: "string",
|
|
136
|
+
description: "An optional general style reference image URL or data URI."
|
|
105
137
|
}
|
|
106
138
|
},
|
|
107
139
|
required: ["companyName", "stylePrompt"]
|