AI HomeDesign MCP Server

AI HomeDesign MCP Server

Open-source MCP server for AI virtual staging and real-estate photography editing. It turns the AI HomeDesign photo API into natural-language tools for virtual staging, redesign, photo enhancement, and more.

Category
访问服务器

README

AI HomeDesign MCP Server — AI Virtual Staging, Home Staging & Interior Design for Claude

An open‑source Model Context Protocol (MCP) server for AI virtual staging and real‑estate photography editing. It turns the AI HomeDesign photo API into natural‑language tools, so Claude — or any MCP client — can do virtual home staging, AI interior design, photo enhancement, decluttering, and day‑to‑dusk conversions just by being asked.

License: MIT Model Context Protocol Python 3.12+


What is this?

AI HomeDesign MCP Server exposes the AI HomeDesign V3 API as a set of Model Context Protocol tools over streamable HTTP. Any MCP‑compatible AI client — Claude Desktop, Claude in the browser, Cursor, and more — can then run professional real‑estate photo editing in plain English:

  • 🛋️ Virtual staging — furnish an empty room with photorealistic AI furniture in a chosen design style. Digital home staging in seconds, with no physical furniture.
  • 🎨 Virtual restaging & AI interior design — replace existing furniture or fully redesign a furnished room.
  • Image enhancement — fix lighting, sharpness, and color balance for listing‑ready photos.
  • 🧹 Item removal / decluttering — automatically remove furniture and clutter to reveal a clean space.
  • 🌆 Day to dusk — convert a daytime exterior into a warm twilight / dusk scene.
  • 🧱 Wall, floor & ceiling changes — restyle surfaces with a tasteful AI finish.

Because it speaks MCP, there is no SDK to learn — you describe what you want and the model calls the right tool with the right parameters.

Why virtual staging and home staging over MCP?

Traditional home staging means renting furniture and scheduling a shoot. Virtual staging for realtors replaces that with an edited photo — but it still costs hours in editing tools or days of turnaround from a staging service.

This server collapses that into a conversation: drop in a listing photo, pick a style, and get back a downloadable, market‑ready image. It's multi‑tenant (every caller uses their own AI HomeDesign key), stateless, and self‑hostable, so it fits both a single agent and a production PropTech product.


Available tools

Tool What it does Input
list_capabilities List every tool, grouped by category
list_styles List allowed design styles, room types & widget options
describe_tool Show a tool's inputs + a ready‑to‑use example payload tool slug
virtual_staging Furnish an empty room in a design style image + style + room
virtual_restaging Swap furniture in an already‑furnished room image + style + room
interior_design Fully redesign a furnished room image + style + room
enhance_image Improve lighting, sharpness & color image
remove_items Declutter / remove furniture image
day_to_dusk Turn a daytime exterior into dusk image
change_wall / change_floor / change_ceiling Restyle a surface image + room
create_project · create_order · run_process · get_process · wait_for_result Low‑level primitives for full control see describe_tool

Every helper accepts an image URL or a base64 image, and returns downloadable result‑image URLs.

Supported design styles: prime, modern, farmhouse, scandinavian, hampton, industrial, traditional, contemporary. Supported room types: bedroom, living‑room, kitchen, bathroom, dining‑room, home‑office, outdoor, nursery.


Quick start

Option A — Connect to the hosted server (no setup)

  1. Get your API key. Sign in at aihomedesign.com, open API / Developer settings, and copy your x-api-key.

  2. Generate your connector link. Paste that key into the generator at aihomedesign.com/mcp. The key is validated server‑side once, then stored encrypted; you get back a personal endpoint:

    https://mcp.aihomedesign.com/aihd_<your-token>/mcp
    

    Your raw key never appears in the URL.

  3. Add it to your AI assistant. In Claude: Settings → Connectors → Add custom connector, name it AI HomeDesign, and paste the URL. Every tool shows up automatically. Works with any MCP‑compatible client.

⚠️ The connector link does not contain your raw key, but it grants access to your account — treat it like a password. Rotating your key in the AI HomeDesign dashboard revokes every link previously issued for it.

Server health check, no key needed: mcp.aihomedesign.com/health

Option B — Self‑host with Docker

git clone https://github.com/AIHomeDesign/aihomedesign-mcp.git
cd aihomedesign-mcp
cp .env.example .env      # add your AIHD_API_KEY (and DB_DSN/TOKEN_SECRET for multi-tenant)

docker build -t aihomedesign-mcp .
docker run -p 8080:8080 --env-file .env aihomedesign-mcp

The MCP endpoint is served at http://localhost:8080/mcp (streamable HTTP), with a health check at GET /health.

Option C — Run locally with Python

pip install -r requirements.txt
export AIHD_API_KEY=your_key_here
python app/server.py

Configuration

All configuration is via environment variables — see .env.example.

Variable Purpose Default
AIHD_API_KEY Default/fallback AI HomeDesign x‑api‑key
AIHD_API_BASE API base URL https://api.aihomedesign.com/v3
PORT Listen port 8080
DB_DSN Postgres DSN for token map + usage log (optional)
TOKEN_SECRET Fernet key to encrypt user keys at rest (optional)
MCP_CONNECTOR_BASE Base used to build connector links
UPLOAD_DIR / PUBLIC_BASE Enable the built‑in image‑upload endpoint

Security & multi‑tenant design

  • Bring‑your‑own‑key: each request carries the caller's own AI HomeDesign key; jobs run under that key.
  • Keys never sit in the URL: the landing page validates a key, then mints an opaque aihd_… connector token; the raw key is stored encrypted at rest (Fernet) and swapped back in per request.
  • Usage logging records the tool, status, and timing per call — never the raw key (only a short, non‑reversible fingerprint).
  • Graceful degradation: if the database is unreachable, the server keeps serving.

How it works

MCP client (Claude, Cursor, …)
        │  streamable HTTP  /mcp
        ▼
AI HomeDesign MCP server  ──►  AI HomeDesign V3 API  ──►  result image URLs
   (this repo)                  (api.aihomedesign.com)

The server is built on FastMCP and Starlette/uvicorn, with a pure‑ASGI auth middleware that binds the per‑request key.

Tech stack

Python 3.12 · MCP (FastMCP) · Starlette · uvicorn · httpx · PostgreSQL (optional) · Docker.

FAQ

What is an MCP server?

An MCP server exposes tools, data, and prompts to an AI model through the Model Context Protocol — an open standard introduced by Anthropic. The model discovers the available tools at runtime and calls them itself, so you never write glue code against a bespoke SDK. This repo is an MCP server whose tools happen to edit real‑estate photos.

How do you virtually stage a photo with this?

Connect the server to Claude, then send an empty‑room photo and ask for a style — for example "stage this living room in a scandinavian style." Claude calls the virtual_staging tool with the right parameters and returns a downloadable, photorealistic image. No manual editing, no design software.

Is this AI virtual staging free?

The MCP server itself is open source and MIT‑licensed, so you can self‑host it at no cost. The image processing runs on the AI HomeDesign API and uses your own API key.

Does it work with clients other than Claude?

Yes. It speaks standard MCP over streamable HTTP, so any MCP‑compatible client — Claude Desktop, Claude in the browser, Cursor, and others — can use it.

What is the difference between virtual staging and virtual restaging?

Virtual staging furnishes an empty room. Virtual restaging swaps the furniture in an already‑furnished room. Use interior_design when you want to redesign a furnished room completely rather than just replace the furniture.


Learn more

Contributing

Issues and pull requests are welcome. Please open an issue to discuss substantial changes first.

License

Released under the MIT License.


<sub>Keywords: MCP server · Model Context Protocol · Claude MCP · Anthropic MCP · MCP tools · virtual staging · AI virtual staging · virtual staging software · home staging · virtual staging for realtors · AI home design · AI interior design · real estate photography · real estate photo editing · virtual restaging · day to dusk · image enhancement · item removal · real estate AI · PropTech.</sub>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选