createavataaars
Make avatars in seven illustrated styles, like Avataaars and Notionists, as PNG, SVG or share link.
我該用這個嗎
品質與安全性
發現項目(3)
- LOW在 list_styles 中
- LOW在 list_attributes 中
- LOW在 share_link 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"avatars": {
"url": "https://createavataaars.com/mcp"
}
}
}遠端端點
https://createavataaars.com/mcpstreamable-http它能做什麼
工具清單
工具(8)
🟢list_styles
The avatar styles, with what each can change.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_templates(style)
A style's templates as codes and previews.
輸入結構描述
{
"type": "object",
"properties": {
"style": {
"type": "string",
"enum": [
"avataaars",
"notionists",
"lorelei",
"adventurer",
"big-smile",
"adventurer-neutral",
"thumbs"
]
}
},
"required": [
"style"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_attributes(style)
A style's attributes and every value, with names.
輸入結構描述
{
"type": "object",
"properties": {
"style": {
"type": "string",
"enum": [
"avataaars",
"notionists",
"lorelei",
"adventurer",
"big-smile",
"adventurer-neutral",
"thumbs"
]
}
},
"required": [
"style"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢random_avatar(style, exclude)
A template at random, as a code and a preview.
輸入結構描述
{
"type": "object",
"properties": {
"style": {
"type": "string",
"enum": [
"avataaars",
"notionists",
"lorelei",
"adventurer",
"big-smile",
"adventurer-neutral",
"thumbs"
]
},
"exclude": {
"type": "string",
"pattern": "^[0-9A-Za-z]{10}(?:[0-9a-f]{6})?$"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢create_avatar(code, style, attributes)
An avatar from attributes, or from a code plus changes. Attribute names and values come from list_attributes; null or "off" switches a part off.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[0-9A-Za-z]{10}(?:[0-9a-f]{6})?$"
},
"style": {
"type": "string",
"enum": [
"avataaars",
"notionists",
"lorelei",
"adventurer",
"big-smile",
"adventurer-neutral",
"thumbs"
]
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢avatar_for_name(name, style)
One approved avatar for a name or a user id, the same every time.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"style": {
"type": "string",
"enum": [
"avataaars",
"notionists",
"lorelei",
"adventurer",
"big-smile",
"adventurer-neutral",
"thumbs"
]
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢share_link(code)
The code's link and its page.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[0-9A-Za-z]{10}(?:[0-9a-f]{6})?$"
}
},
"required": [
"code"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢render_avatar(code, codes, format, size)
A code as PNG, SVG or WebP at a size, up to 1024 px. Pass codes to render several in one call (up to 20). Every file carries its credit inside.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"pattern": "^[0-9A-Za-z]{10}(?:[0-9a-f]{6})?$"
},
"codes": {
"type": "array",
"items": {
"$ref": "#/properties/code"
},
"maxItems": 20
},
"format": {
"type": "string",
"enum": [
"png",
"svg",
"webp"
],
"default": "png"
},
"size": {
"type": "integer",
"minimum": 16,
"maximum": 1024,
"default": 256
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據