HeyBeauty
Perform virtual try-ons using the HeyBeauty API.
HeyBeauty MCP Server
HeyBeauty Virtual TryOn
This is a TypeScript-based MCP server that implements virtual tryon using HeyBeauty API. It demonstrates core MCP concepts by providing:
- Resources representing clothes with URIs and metadata
- Tools for submit tryon task and query task info.
- Prompts for tryon cloth.
Quick Start
-
apply for HeyBeauty API Key
-
add the server config to MCP Client config file
{
"mcpServers": {
"heybeauty-mcp": {
"command": "npx",
"args": ["-y", "heybeauty-mcp"],
"env": {
"HEYBEAUTY_API_KEY": "your_heybeauty_api_key"
}
}
}
}
Resources
- List and access clothes via
cloth://URIs - Each cloth has a id, name, description, image url and metadata
- Plain text mime type for simple content access
Tools
submit_tryon_task- Submit a tryon task- Takes user image url, cloth image url, cloth id and cloth description as required parameters
- Stores tryon task in server state
query_tryon_task- Query a tryon task- Takes task id as required parameter
- Returns tryon task info
Prompts
tryon_cloth- Tryon cloth- Takes user image url, cloth image url, cloth id and cloth description as required parameters
- Returns structured prompt for LLM tryon
Resources
cloth://- URI for clothes- Each cloth has a id, name, description, image url and metadata
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"heybeauty-mcp": {
"command": "node",
"args": ["/path/to/heybeauty-mcp/build/index.js"]
},
"env": {
"HEYBEAUTY_API_KEY": "your_heybeauty_api_key"
}
}
}
Follow this document to get HeyBeauty API Key.
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Похожие серверы
Scout Monitoring MCP
спонсорPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
XcodeMCP
An MCP server to control Xcode on macOS using JavaScript for Automation (JXA).
Matter AI
Provides advanced code review, implementation planning, and pull request generation using Matter AI.
SkyDeckAI Code
A comprehensive toolkit for AI-driven development, offering file system operations, code analysis, execution, web searching, and system information retrieval.
mcp-openapi
Turn any OpenAPI/Swagger spec into Claude tools. Zero config, zero code.
Klever VM
MCP server for [Klever](https://klever.org) blockchain smart contract development, on-chain data exploration, and VM interaction. Public remote server available at `https://mcp.klever.org/mcp`.
Currents
Enable AI Agents to fix Playwright test failures reported to Currents.
OpenAI GPT Image
Generate and edit images using OpenAI's GPT-4o image generation and editing APIs with advanced prompt control.
OpenFGA
An MCP server for managing authorization models with OpenFGA, an open-source authorization system.
Bevy BRP MCP
Control, inspect, and mutate Bevy applications with AI coding assistants via the Bevy Remote Protocol (BRP).
Ollama MCP Server
A bridge to use local LLMs from Ollama within the Model Context Protocol.