Generate Greetings
Create family-friendly greeting text and downloadable cards in 13 languages, including Hindi.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"greetings": {
"url": "https://generategreetings.com/api/mcp"
}
}
}远程端点
https://generategreetings.com/api/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢list_greeting_options
List supported greeting languages, occasions, styles, image formats and background categories. No personal data required.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"languages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
]
},
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"code",
"name"
],
"additionalProperties": false
}
},
"occasions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
]
},
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"code",
"name"
],
"additionalProperties": false
}
},
"styles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"sweet",
"cheerful",
"simple"
]
}
},
"formats": {
"type": "array",
"items": {
"type": "string",
"enum": [
"9:16",
"4:5",
"1:1",
"16:9"
]
}
},
"backgrounds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"auto",
"all",
"nature",
"flowers",
"animals",
"coffee",
"celebration",
"Mare",
"Laghi",
"Fiumi",
"Cascate",
"Montagne",
"Boschi",
"Deserti",
"Neve",
"Cieli",
"Prati"
]
}
},
"decorations": {
"type": "array",
"items": {
"type": "string",
"enum": [
"random",
"none"
]
}
},
"privacy": {
"type": "string",
"minLength": 1
},
"price": {
"type": "string",
"minLength": 1
}
},
"required": [
"languages",
"occasions",
"styles",
"formats",
"backgrounds",
"decorations",
"privacy",
"price"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡generate_greeting(locale, occasion, name, previousCodes)
Generate a short, coherent, family-friendly greeting for an occasion. Returns complete phrases from curated language collections. Optional first name stays transient. Does not send or publish anything.
输入模式
{
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
],
"default": "en",
"description": "Language code; hi is Hindi. Use list_greeting_options for supported languages."
},
"occasion": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
],
"default": "morning"
},
"name": {
"type": "string",
"maxLength": 100,
"default": "",
"description": "Optional first name, up to 30 characters. Omit sensitive or identifying details. Never stored with a shared design."
},
"previousCodes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z]+:[a-z]+:\\d+:\\d+:\\d+$",
"maxLength": 100
},
"maxItems": 30,
"default": [],
"description": "Recent phrase codes from this conversation to avoid repeats; do not send chat history."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 6000
},
"code": {
"type": "string",
"maxLength": 100,
"pattern": "^(?:it|en|fr|es|de|pt|ar|zh|ja|ko|th|ru|hi):(?:morning|afternoon|evening|night|birthday|congratulations|christmas|newyear|lunarnewyear|mothersday|fathersday|weddinganniversary|anniversary|ramadan|eid|thankyou|getwell|wedding|newbaby|graduation):\\d+:\\d+:\\d+$"
},
"locale": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
]
},
"occasion": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
]
}
},
"required": [
"text",
"code",
"locale",
"occasion"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_greeting_card(locale, occasion, name, previousCodes, style, ...)
Create a downloadable PNG greeting with occasion-matched background, curated phrases and optional decorations. Optional first name is rendered in this response only. Creates a reusable design link without the name, available to anyone with the link for 30 days. Free with watermark. Does not post to social networks.
输入模式
{
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
],
"default": "en",
"description": "Language code; hi is Hindi. Use list_greeting_options for supported languages."
},
"occasion": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
],
"default": "morning"
},
"name": {
"type": "string",
"maxLength": 100,
"default": "",
"description": "Optional first name, up to 30 characters. Omit sensitive or identifying details. Never stored with a shared design."
},
"previousCodes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z]+:[a-z]+:\\d+:\\d+:\\d+$",
"maxLength": 100
},
"maxItems": 30,
"default": [],
"description": "Recent phrase codes from this conversation to avoid repeats; do not send chat history."
},
"style": {
"type": "string",
"enum": [
"sweet",
"cheerful",
"simple"
],
"default": "sweet"
},
"format": {
"type": "string",
"enum": [
"9:16",
"4:5",
"1:1",
"16:9"
],
"default": "4:5"
},
"background": {
"type": "string",
"enum": [
"auto",
"all",
"nature",
"flowers",
"animals",
"coffee",
"celebration",
"Mare",
"Laghi",
"Fiumi",
"Cascate",
"Montagne",
"Boschi",
"Deserti",
"Neve",
"Cieli",
"Prati"
],
"default": "auto",
"description": "auto matches the occasion; other categories still obey cultural safety rules."
},
"decorations": {
"type": "string",
"enum": [
"random",
"none"
],
"default": "random"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 6000
},
"code": {
"type": "string",
"maxLength": 100,
"pattern": "^(?:it|en|fr|es|de|pt|ar|zh|ja|ko|th|ru|hi):(?:morning|afternoon|evening|night|birthday|congratulations|christmas|newyear|lunarnewyear|mothersday|fathersday|weddinganniversary|anniversary|ramadan|eid|thankyou|getwell|wedding|newbaby|graduation):\\d+:\\d+:\\d+$"
},
"locale": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
]
},
"occasion": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
]
},
"card": {
"type": "object",
"properties": {
"version": {
"type": "number",
"const": 1
},
"locale": {
"type": "string",
"enum": [
"it",
"en",
"fr",
"es",
"de",
"pt",
"ar",
"zh",
"ja",
"ko",
"th",
"ru",
"hi"
]
},
"occasion": {
"type": "string",
"enum": [
"morning",
"afternoon",
"evening",
"night",
"birthday",
"congratulations",
"christmas",
"newyear",
"lunarnewyear",
"mothersday",
"fathersday",
"weddinganniversary",
"anniversary",
"ramadan",
"eid",
"thankyou",
"getwell",
"wedding",
"newbaby",
"graduation"
]
},
"indices": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"type": "integer",
"minimum": 0,
"maximum": 1000
},
{
"type": "integer",
"minimum": 0,
"maximum": 1000
},
{
"type": "integer",
"minimum": 0,
"maximum": 1000
}
]
},
"name": {
"type": "string",
"const": ""
},
"backgroundId": {
"type": "string",
"pattern": "^[\\w-]+$",
"maxLength": 100
},
"style": {
"type": "string",
"enum": [
"sweet",
"cheerful",
"simple"
]
},
"emoji": {
"type": "string",
"enum": [
"none",
"hearts",
"flowers",
"stars",
"bear",
"bow",
"balloons"
]
},
"stickers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": [
"bear",
"bow",
"hearts",
"flowers",
"balloons",
"stars"
]
},
"position": {
"type": "string",
"enum": [
"topLeft",
"topRight",
"bottomLeft",
"bottomRight"
]
}
},
"required": [
"id",
"position"
],
"additionalProperties": false
},
"maxItems": 4
}
},
"required": [
"version",
"locale",
"occasion",
"indices",
"name",
"backgroundId",
"style",
"emoji",
"stickers"
],
"additionalProperties": false
},
"format": {
"type": "string",
"enum": [
"9:16",
"4:5",
"1:1",
"16:9"
]
},
"editUrl": {
"type": "string",
"format": "uri",
"pattern": "^https:\\/\\/generategreetings\\.com\\/s\\/[A-Za-z0-9_-]{24}\\?utm_source=(?:chatgpt|claude|mcp)&utm_medium=referral&utm_campaign=(?:morning|afternoon|evening|night|birthday|congratulations|christmas|newyear|lunarnewyear|mothersday|fathersday|weddinganniversary|anniversary|ramadan|eid|thankyou|getwell|wedding|newbaby|graduation)&utm_content=card(?:&format=(?:9%3A16|4%3A5|1%3A1|16%3A9))?$"
},
"imageUrl": {
"type": "string",
"format": "uri",
"pattern": "^https:\\/\\/generategreetings\\.com\\/s\\/[A-Za-z0-9_-]{24}\\/image\\?format=(?:9%3A16|4%3A5|1%3A1|16%3A9)$"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"nameIncludedInImage": {
"type": "boolean"
},
"linkOmitsName": {
"type": "boolean",
"const": true
}
},
"required": [
"text",
"code",
"locale",
"occasion",
"card",
"format",
"editUrl",
"imageUrl",
"expiresAt",
"nameIncludedInImage",
"linkOmitsName"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据