MCP.so
ログイン

mcp-server-3Dpicture MCP Server

@nifengxiaofei

基本情報

カテゴリ

メディアとデザイン

ライセンス

Apache-2.0 license

トランスポート

stdio

作者

nifengxiaofei

mcp-server-3Dpicture MCP Server について

概要はまだありません

mcp-server-3Dpicture MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-3Dpicture": {
      "command": "node",
      "args": [
        " mcp-server-3Dpicture/build/index.js"
      ],
      "env": {
        "OPENAI_API_KEY": "xxx",
        "OPENAI_BASE_URL": "xxx"
      },
      "toolCallTimeoutMillis": 180000
    }
  }
}

mcp-server-3Dpicture MCP Server のツール

1

url: The picture url send to tool, Required

概要

What is mcp-server-3Dpicture MCP Server?

It is a TypeScript-based MCP server that converts a 2D image of people into a 3D picture. It uses an OpenAI API to generate the 3D effect and optionally adds a text caption under the photo frame.

How to use mcp-server-3Dpicture MCP Server?

Install dependencies with npm install, build with npm run build, then configure the server in your MCP client (e.g., Cursor) by adding an entry to ~/.cursor/mcp.json with the node command, the build path, and the required OPENAI_API_KEY and OPENAI_BASE_URL environment variables. The server exposes a tool called generate_3Dpicture that accepts a required url (the image URL) and an optional text (caption).

Key features of mcp-server-3Dpicture MCP Server

  • Tool: generate_3Dpicture for 2D‑to‑3D conversion
  • Supports optional text caption under the photo
  • Requires OpenAI API key and base URL
  • Written in TypeScript for reliable execution
  • Configurable with a 180‑second tool call timeout

Use cases of mcp-server-3Dpicture MCP Server

  • Transform a portrait photo into a 3D‑looking picture
  • Add a custom text caption below the 3D image
  • Integrate 3D image generation into Cursor or any MCP‑compatible IDE

よくある質問

1

What dependencies does the server need?

It requires an OpenAI API key and base URL, set via the environment variables `OPENAI_API_KEY` and `OPENAI_BASE_URL`. No additional external services are needed.

2

Where is the server configuration placed for Cursor?

On macOS, the configuration file is located at `~/.cursor/mcp.json`. You must add an entry with the `command`, `args`, and `env` fields as shown in the README.

3

Is there a timeout for tool calls?

Yes, the tool has a configurable timeout; the example uses `toolCallTimeoutMillis: 180000` (3 minutes) to allow enough time for the 3D generation.

4

How can I debug the server?

You can use the MCP Inspector by running `npm run inspector`, which provides a URL for debugging the server over stdio.

5

What parameters does the `generate_3Dpicture` tool accept?

It requires a `url` (the picture URL) and accepts an optional `text` for a caption under the photo frame.

コメント

「メディアとデザイン」の他のコンテンツ