Skip to main content
Glama
Face Expression MCP Server

Face Expression MCP Server

by RamiY123

Xperience · Give your assistant a face

main is the official participant starter. Clone it and work directly in the repository. Create your assistant connection, implement expression tools, and see the results in the prepared browser viewer.

Prepare

Install Node.js 22.12+ (Node 24 recommended), Git, and your chosen client: VS Code with Copilot or Claude Code. Sign in and check account/tool access. Connecting MCP is the first exercise, not a prerequisite.

git clone --branch main --single-branch --depth 1 https://github.com/RamiY123/mcp-face-workshop.git
cd mcp-face-workshop
npm ci
npm run build
npm start

Open http://127.0.0.1:3333 and try the manual buttons. Leave that terminal running; use another for npm run doctor. On PowerShell, use npm.cmd if npm.ps1 is blocked. No database, Docker, GPU, or Python runtime is required.

Related MCP server: comfyui-character-mcp

Start the lab

Read the exercises. Client configurations are deliberately absent. list_expressions is the working example; implement set_expression and reset_expression in exercises/student-tools.ts. There is no completed solution directory or hidden solution mode on this branch.

Agent instructions prohibit copying answers from presenter branches, Git history, remotes, or other checkouts. Ask for hints and explanations based on your own work. The instructor keeps a separate complete demo; it is not the participant starting point.

Check progress

npx playwright install chromium
npm run verify

Baseline verification passes before the exercises: prepared viewer, listing, HTTP behavior, and reset safety. After writing your configuration, run npm run check:connection -- copilot (or claude). After implementing both tools, run npm run test:acceptance for complete MCP-to-browser checks. Acceptance tests intentionally fail before implementation.

npm run check:starter is a distribution/CI check for untouched starters. It is expected to fail after creating configuration or editing the exercise; it is not a student progress grade.

Reset

Preview with npm run workshop:reset, then add -- --apply to restore the initial tool exercise with backups. To also repeat the connection exercise, preview npm run workshop:reset -- --include-client-config, then add --apply. Unrelated client entries are preserved. Rebuild and restart MCP afterward. See the reset guide for exact scope.

Default port: 3333. If changing it, set FACE_PORT consistently in the app and MCP environment. State survives browser refresh; app restart resets to neutral.

The 12 images are expressive illustrated demo assets, including angry, happy, laughing, sad, sleepy, and love. Final realistic portraits and personal-face uploads remain future work. Expressions represent selected reactions, not experienced feelings. Code and original SVGs are MIT; the Xperience logo remains its owner's brand asset (see web/public/branding/README.md).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI to display its current mood as a locally generated ASCII face using Stable Diffusion, with a tool feel(emotion) that the AI can call to update the terminal display.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to control a transparent, always-on-top desktop character window over a loopback-only local HTTP API — applying expressions, motions, parameters and gaze, speaking via TTS or uploaded audio with lip-sync, capturing screenshots, and switching models, window placement and visibility. Everything stays local, so no cloud account or manual token handling is required.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to drive a local Windows avatar interface, switching between an energy core and holographic face, triggering expressions, and reacting to microphone volume through seven exposed tools. It serves an animated visual panel over localhost with SSE updates while conversation stays in ChatGPT.
      MIT