mcp-server-generate-3D-image
The mcp-server-3Dpicture is a TypeScript-based MCP server designed to transform images from 2D to 3D. It focuses on making images more immersive, especially those containing people, and provides tools for developers to integrate this functionality into their applications.
mcp-server-3Dpicture MCP Server
generate a 3D picture for a given image with people
This is a TypeScript-based MCP server help you change picture form 2D to 3D.
Features
Tools
- generate_3Dpicture
- url: The picture url send to tool, Required
- text: Text under the photo frame, Optional
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Cursor, add the server config:
On MacOS: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-3Dpicture": {
"command": "node",
"args": [" mcp-server-3Dpicture/build/index.js"],
"env": {
"OPENAI_API_KEY": "xxx",
"OPENAI_BASE_URL": "xxx"
},
"toolCallTimeoutMillis": 180000
}
}
}
Find Your OPENAI_API_KEY and OPENAI_BASE_URL here
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.