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.
Recommend MCP Servers 💡
mcp-security-audit
A powerful MCP (Model Context Protocol) Server that audits npm package dependencies for security vulnerabilities. Built with remote npm registry integration for real-time security checks.
jira-mcp
A Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow transitions.
md2doc
An MCP server that converts Markdown text to DOCX format, supporting custom templates and multi-language output, leveraging an external conversion service.
@mpeirone/zabbix-mcp-server
🔌 Complete MCP server for Zabbix integration - Connect AI assistants to Zabbix monitoring with 40+ tools for hosts, items, triggers, templates, problems, and more. Features read-only mode and comprehensive API coverage.
@twinic/twinic-server
An MCP server that allows users to install and configure other MCP servers directly from prompts, supporting both npm and PyPi packages.
git-mob-mcp-server
An MCP server that extends the git-mob CLI app, enabling automatic management and appending of co-authored-by trailers to git commit messages for pair and mob programming sessions.