AltTextLab MCP server for AI agents

Live

API KEY

ALT TEXT

AI

AltTextLab gives your agent alt text generation for public images: pass an image URL and get alt text back in a chosen language and writing style, steered by keywords, e-commerce product details, or page context.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
AltTextLab
agent · Acme Q3
Run
Write alt text in French for https://example.com/shoes/red-runner.jpg, e-commerce style.
S
alttextlab_alt_text_generate
1310ms
Alt text agent
Generated alt text in French for the image: Chaussure de course rouge vue de profil sur fond blanc.
Sources: AltTextLab, 1 image
alttextlab
1 image
18:29
Message Claude...

Tools your alt text agent reaches for on AltTextLab, scoped per user.

CALL ANY TOOL
1 tool for alt text in AltTextLab: generate alt text for a public image URL in a chosen language and style, with keywords, e-commerce details, or page context.
alttextlab_alt_text_generate
Generate alt text
Generate alt text for a public image URL, in a chosen language and writing style, optionally steered by keywords, product details (e-commerce mode) or page context. Returns id, result (the alt text, null on failure), status (generated or failed), lang, style, keywords, ecommerce and customFields. Each generated result uses one credit; failed results do not.
Parameters
Name
Type
Required
Description
image_url
string
Required
Public URL of the image, reachable without login or redirects. Example: https://example.com/images/mug.jpg.
brand
string
Optional
E-commerce mode: brand name. Example: Nike.
color
string
Optional
E-commerce mode: dominant color. Example: black.
context_description
string
Optional
Context: editorial description or explanation of the image. Example: Keynote at the 2025 product launch.
custom_fields
object
Optional
Up to 30 string key-value pairs echoed back unchanged, to match results to your assets. Example: {"sku": "TSHIRT-001"}.
keywords
array
Optional
Keywords to include when they fit what the image shows (not guaranteed). Example: ["eco-friendly", "minimalist"].
lang
string
Optional
Language code for the alt text (130+ supported); defaults to your account setting. Example: de.
material
string
Optional
E-commerce mode: product material. Example: leather.
page_title
string
Optional
Context: title of the page where the image appears. Example: Our team.
person_name
string
Optional
Context: name of the main person in the image. Example: Ada Lovelace.
product
string
Optional
E-commerce mode: product name or type. Any product field turns on e-commerce mode. Example: sneakers.
section_heading
string
Optional
Context: heading of the section containing the image. Example: Leadership.
style
string
Optional
Writing style: descriptive, neutral (default), matter-of-fact or minimal; defaults to your account setting. Example: minimal. One of: `descriptive`, `neutral`, `matter-of-fact`, `minimal`.
surrounding_text
string
Optional
Context: caption or text near the image. Example: Our CEO opens the event.
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// AltTextLab tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alttextlab"], toolNames: [
    "alttextlab_alt_text_generate"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Generate alt text for this product photo in French, in e-commerce mode, with the keyword trail running" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alttextlab"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Generate alt text for this product photo in French, in e-commerce mode, with the keyword trail running" }],
  tools,
});

// Execute the tool call with the user's vaulted AltTextLab API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alttextlab"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Generate alt text for this product photo in French, in e-commerce mode, with the keyword trail running" }],
  tools,
});

// Tool call runs with the user's vaulted AltTextLab API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["alttextlab"] }, pageSize: 100,
});

const agent = new Agent({
  name: "alt_text_agent",
  model: "gemini-2.5-pro",
  instruction: "AltTextLab tools scoped to this user",
  tools,
});

await agent.run("Generate alt text for this product photo in French, in e-commerce mode, with the keyword trail running");
Try these prompts
Copy any prompt into your agent. Each maps directly to a AltTextLab tool. Click to copy, paste into your agent, done.
Generate alt text
Copy the prompt
Copied
Generate alt text for this image URL.
Copy the prompt
Copied
Write alt text for this photo in German.
Copy the prompt
Copied
Describe this image in a short, plain style.
Steer the result
Copy the prompt
Copied
Generate alt text for this product photo in e-commerce mode.
Copy the prompt
Copied
Write alt text for this image and include the keyword trail running.
Copy the prompt
Copied
Generate alt text for this image using the surrounding page as context.
Batch of images
Copy the prompt
Copied
Generate alt text for each of these 5 image URLs.
Copy the prompt
Copied
Write Spanish alt text for this hero image.
Copy the prompt
Copied
Generate alt text for this image and tell me if it failed.
SEE HOW AUTH WORKS
Each user connects their own AltTextLab API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
AltTextLab
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
AltTextLab
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
AltTextLab
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
AltTextLab
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and marketing connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other AI and marketing connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared AltTextLab API key looks fine in a demo. In production every alt text generation looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
AltTextLab today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access AltTextLab as the user or through a shared key?
As the user. Each user connects their own AltTextLab API key once, and Scalekit sends it with every call. Audit logs attribute every alt text generation to that user, not a shared service account.
Where is the AltTextLab API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in AltTextLab?
Yes. AltTextLab has 1 tool, alttextlab_alt_text_generate, and it only generates alt text for a public image URL. Filter by tool name in listScopedTools to expose or withhold it. Scalekit also enforces scope checks before every API call.
What happens when a user revokes AltTextLab access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Does generating alt text use credits in AltTextLab?
Yes. Each generated result uses one credit, and failed results do not. alttextlab_alt_text_generate returns a status of generated or failed with each result.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""alttextlab"": {
""url"": ""https://mcp.scalekit.com/alttextlab"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.alttextlab]
url = ""https://mcp.scalekit.com/alttextlab""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""alttextlab"": {
""url"": ""https://mcp.scalekit.com/alttextlab"",
""type"": ""http""
}
}
}