MCP.so
登录

ALT Decision Tree MCP Server

@yamanoku

关于 ALT Decision Tree MCP Server

Model Context Protocol server that generates appropriate alternative text for images using ALT decision tree

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

yamanoku

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "alt-decision-tree-mcp-server": {
      "command": "deno",
      "args": [
        "run",
        "alt-decision-tree-mcp-server.ts"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is ALT Decision Tree MCP Server?

An MCP server that automatically generates alternative text (ALT attributes) for images by applying the ALT decision tree based on W3C WAI-ARIA guidelines. It is intended for developers and content creators who need to produce accessible, context-aware image descriptions.

How to use ALT Decision Tree MCP Server?

Launch the server with deno run alt-decision-tree-mcp-server.ts. The server exposes two MCP tools: generate_alt_text (accepts base64‑encoded image data, optional context and image format) and get_alt_guidance (provides best practices for writing alt text). Run tests with deno test.

Key features of ALT Decision Tree MCP Server

  • Analyzes uploaded images to understand their content.
  • Applies the W3C‑based ALT decision tree for alt text generation.
  • Considers the image’s purpose and context for appropriate descriptions.
  • Returns a confidence score (0–1) for the generated alt text.
  • Provides detailed reasoning and decision‑tree steps.

Use cases of ALT Decision Tree MCP Server

  • Automating alt text generation for web content management systems.
  • Ensuring image accessibility in blogs, e‑commerce, and documentation.
  • Assisting developers in meeting WCAG guidelines without manual effort.
  • Generating descriptive alt text for complex images like charts or diagrams.

FAQ from ALT Decision Tree MCP Server

What is the ALT decision tree logic?

The server evaluates the image in five stages: whether it is decorative, contains text, is complex (e.g., charts), is informational, or serves a functional purpose. Each stage decides the appropriate type of alt text.

What image formats are supported?

PNG, JPEG/JPG, GIF, and WebP.

What runtime does the server require?

The server is a Deno script and must be run with the Deno runtime.

What tools does the server provide?

Two MCP tools: generate_alt_text (to generate alt text from an image) and get_alt_guidance (to retrieve best practices and guidance on the ALT decision tree).

How is the alt text decision returned?

The generate_alt_text tool returns the generated alt text, the reasoning behind the decision, the decision‑tree steps, and a confidence score between 0 and 1.

评论

其他 分类下的更多 MCP 服务器