eoxelements
A server to provide information about EOxElements custom elements for coding agents.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"eoxelements": {
"command": "npx",
"args": [
"@eox/elements-mcp-server"
]
}
}
}可运行的软件包
1.2.1streamable-http远程端点
https://elements.mcp.eox.atstreamable-http它能做什么
工具清单
工具(10)
🟢list_elements
List all available EOxElements custom elements.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_details(tagName)
Get the full details for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_stories(tagName)
Get the stories (examples/snippets) for a specific EOxElements custom element. This includes descriptions and vanilla JS code snippets.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_attributes(tagName)
Get the attributes for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_properties(tagName)
Get the properties for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_events(tagName)
Get the events for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_methods(tagName)
Get the methods for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_slots(tagName)
Get the slots for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_css_properties(tagName)
Get the CSS custom properties for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_element_css_parts(tagName)
Get the CSS shadow parts for a specific EOxElements custom element.
输入模式
{
"type": "object",
"properties": {
"tagName": {
"type": "string",
"description": "The tag name of the element."
}
},
"required": [
"tagName"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据