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#"
}社群
證據