
Alttextgeneratorai Mcp
io.github.balt1794由 GitHub 帳號 balt1794 發布v1.0.2更新於 Oct 25, 2026
Write SEO-friendly alt text for images with AI and find images missing alt text on any web page.
概覽
一個本機 MCP 伺服器,讓助理透過 AltTextGeneratorAI 為圖片產生利於 SEO 的替代文字,並檢查網頁中缺少替代文字的圖片。
- 可以做什麼
- 為公開網址的圖片產生替代文字,可選 130 多種語言,每張消耗 1 點額度。為允許資料夾中的本機圖片檔(JPEG、PNG、GIF 或 WebP,最大 3 MB)產生替代文字。稽核網頁並列出缺少或為空的 alt 屬性的圖片,可選擇為最多 25 張圖片產生建議文字。查詢剩餘額度。
- 適用情境
- 適合需要為產品或內容圖片提供無障礙、利於 SEO 的替代文字,或想找出頁面上缺少替代文字的圖片並取得可自行加入的建議時使用。
- 執行需求
- 需要 Node.js 18 或更新版本,透過 npx 以 stdio 在本機執行。產生替代文字和查詢額度需要 ALTTEXTGENERATORAI_API_KEY 中的 AltTextGeneratorAI API 金鑰;不產生時的稽核不需金鑰。需要連線至 AltTextGeneratorAI API 的網路。選用 ALTTEXTGENERATORAI_ALLOWED_DIR 和 ALTTEXTGENERATORAI_API_BASE_URL。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Alttextgeneratorai Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
AltTextGeneratorAI MCP server
Let your AI assistant write SEO-friendly, accessible alt text for images, and find the images that are missing alt text on any web page. It works with AltTextGeneratorAI.com, the AI alt text service used in Shopify, WordPress, DatoCMS, Contentstack, Chrome and 30+ other tools.
Ask your assistant things like:
- "Write alt text for https://example.com/photo.jpg in Spanish."
- "Write alt text for the image at ~/Desktop/product.png."
- "Scan https://mystore.com/products/shoes and tell me which images have no alt text."
- "Scan that page and write alt text for the first 10 images that are missing it."
- "How many credits do I have left?"
Get an API key
Create a free account at alttextgeneratorai.com/dashboard and copy your API key. New accounts get free credits. Credits are a one-time purchase, never expire, and are shared with every AltTextGeneratorAI integration.
Install
You need Node.js 18 or newer. The server is started on demand with npx, so there is nothing to install by hand.
Claude Desktop
Open Settings > Developer > Edit Config and add:
Claude Code
Cursor
Add the same JSON as above to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
VS Code
Add to .vscode/mcp.json:
Any other client that supports MCP servers over stdio works the same way: run npx -y alttextgeneratorai-mcp with the ALTTEXTGENERATORAI_API_KEY environment variable.
Tools
Notes:
- Languages: pass the language name in English, for example
spanish,french,german,japanese. 130+ are supported. The default is English. - Empty alt text (
alt="") is correct for purely decorative images, soaudit_pagereports those separately from images where the attribute is missing. - Pages that load images with JavaScript may show fewer images, because the tool reads the page's HTML.
- The tool only reads and suggests. It never changes your website. Add the suggested text to your site yourself, or ask your assistant to do it in your code.
Configuration
Safety
audit_pageonly reads public web pages. Local and private network addresses (localhost, 192.168.x.x, 10.x.x.x, cloud metadata addresses) are refused, including after redirects. The address is checked at the moment the connection is made, so a hostname cannot point somewhere else the second time.generate_alt_text_from_fileonly reads real images, and only in allowed folders. By default that is your home folder and the temp folder. Choose other folders, or narrow it to one, withALTTEXTGENERATORAI_ALLOWED_DIR. The file's contents are checked, not just its name.- Your API key is read from an environment variable, sent only to the AltTextGeneratorAI API over https, and never written to logs. A custom API address must use https.
- Error messages are short and never include raw technical output.
Privacy
To write alt text, the server sends your API key, the chosen language and either the image's public address or the image file itself to AltTextGeneratorAI.com. When you give an image address (including with audit_page and generate: true), the AltTextGeneratorAI service downloads that image to describe it, and it only accepts public web addresses. audit_page downloads the page you ask about directly from your computer. Nothing else is sent. See the privacy policy.
Development
Support
[email protected] · alttextgeneratorai.com
License
MIT
來源:README.md,提交 9f16aa7
工具
0版本歷史
1- v1.0.2最新Oct 17, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分