Skip to content

Reference

The MCP server

Server URL: https://broen.tech/api/asmi/mcp. Authentication is Authorization: Bearer <USER_MCP_API_KEY> OR x-api-key: <USER_MCP_API_KEY> — whichever header your MCP client exposes. Fully compliant with MCP spec 2025-06-18, RFC 9728 protected resource metadata, and RFC 8707 resource indicators. Works with Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Cline, Lovable, v0, ChatGPT Developer Mode, Replit, and every other MCP client we've seen.

Tools exposed (src/lib/asmi/mcp/tools.ts):

ToolPurpose
list_avatarsList the user's deployed avatars (optional status + search filters).
get_avatarFull sanitized AvatarDefinition. Base64 image data is replaced with per-expression API URLs to keep the payload small.
get_avatar_markdownSame definition in human-readable Markdown.
get_avatar_assetsExpression image URLs + animation metadata (frame count, hold / transition durations, license).
test_avatarRun a single conversation turn server-side (design-time only).
dispatch_eventEmit a named event (WIDGET_OPENED) against a test session.
get_expected_narrativeThe canonical happy-path recorded in the editor — ground truth for verify_deployment.
verify_deploymentRun the full happy-path end-to-end and return a per-assertion pass/fail diff.
get_runtime_docsInline README for the React + runtime npm packages (usage snippets, option surface, troubleshooting).
get_backend_exampleStarter Next.js / Express / FastAPI backend snippet.
get_embedding_guidePer-avatar implementation recipe — states, expressions, outbound events, copy-paste <AsmiAvatar> mount.

A product by Broentech Sentinel.

Broentech Sentinel