About ALT Decision Tree MCP Server
An MCP server that analyzes images and generates alternative text using an ALT decision tree based on W3C WAI-ARIA guidelines. It supports context-aware descriptions and returns the reasoning and confidence score.
Key features
- 01Analyze images and generate alt text
- 02Apply an ALT decision tree
- 03Use supplied image context
- 04Return reasoning and confidence score
- 05Provide ALT writing guidance
Use cases
- 01Create alt text for uploaded images
- 02Describe charts and diagrams
- 03Choose empty alt text for decorative images
- 04Get guidance on writing alternative text
MCP support
Exposes `generate_alt_text` for image analysis and alt-text generation, and `get_alt_guidance` for decision-tree guidance and writing practices.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README
ALT Decision Tree MCP Server
画像の代替テキスト(ALT属性)をALT決定木に基づいて自動生成するModel Context Protocol (MCP) サーバーです。
機能
- 画像分析: アップロードされた画像を分析し、内容を理解
- ALT決定木: W3C WAI-ARIAガイドラインに基づく代替テキスト決定プロセス
- 文脈考慮: 画像の使用目的や文脈を考慮した適切な代替テキスト生成
- 信頼度スコア: 生成された代替テキストの信頼度を数値で提供
使用方法
サーバーの起動
deno run alt-decision-tree-mcp-server.ts
MCP Tools
generate_alt_text
画像から代替テキストを生成します。
パラメータ:
imageData(必須): Base64エンコードされた画像データ(data:image/...;base64,... 形式)context(任意): 画像の文脈や用途に関する追加情報imageFormat(任意): 画像フォーマット(png, jpg, jpeg, gif, webp)
戻り値:
altText: 生成された代替テキストreasoning: 決定の理由decision: ALT決定木の各段階での判定結果confidence: 信頼度スコア(0-1)
get_alt_guidance
ALT決定木のガイダンスと代替テキスト作成のベストプラクティスを提供します。
ALT決定木のロジック
- 装飾的かどうか: 画像が装飾目的の場合、空の代替テキスト
- テキストを含むか: 画像内のテキストを代替テキストとして使用
- 複雑かどうか: グラフや図表などは簡潔な説明と詳細説明
- 情報的かどうか: 画像の内容と目的を説明
- 機能的な場合: 画像の機能や目的を説明
テスト
deno test
対応画像形式
- PNG
- JPEG/JPG
- GIF
- WebP
ライセンス
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.