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#"
}社区
证据