Get the FREE Ultimate OpenClaw Setup Guide →

mcp-3d-style-cartoon-gen

MCP server from falahgs/mcp-3d-style-cartoon-gen-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio falahgs-mcp-3d-style-cartoon-gen-server node path/to/your/build/index.js \
  --env DEBUG="false" \
  --env IS_REMOTE="true" \
  --env GEMINI_API_KEY="your_gemini_api_key_here" \
  --env DETECT_OS_PATHS="true" \
  --env SAVE_TO_DESKTOP="true" \
  --env ALLOWED_DIRECTORIES="/path/to/allowed/dir1,/path/to/allowed/dir2"

How to use

This MCP server combines two core capabilities: a 3D-style cartoon image generator powered by Google Gemini and a secure file system toolset for reading, writing, listing, and searching files. The image generation tool accepts a prompt and an output file name to create kid-friendly 3D-style visuals, with an instant preview option and local storage for generated images. The file system tools provide read, write, list, create, and search operations with path validation and restricted access to configured allowed directories, ensuring safe and controlled file management across platforms. To use the tools, connect to the MCP server via your client (e.g., Claude Desktop integration or your own MCP client) and invoke the available commands such as generate_3d_cartoon, read_file, write_file, list_directory, create_directory, and search_files. When generating images, you supply a prompt and a target file name; for file operations, you provide the required path and content (for write) or query patterns (for search). The server handles security checks, cross-platform path handling, and OS-aware save paths automatically.

How to install

Prerequisites:

  • Node.js (v14 or higher) installed on your system
  • npm installed
  • A Google Gemini API key
  • TypeScript tooling (if building from source)

Installation steps:

  1. Clone the repository: git clone https://github.com/falahgs/mcp-3d-style-cartoon-gen-server.git cd mcp-3d-style-cartoon-gen-server

  2. Install dependencies: npm install

  3. Configure environment variables: Create a .env file in the root with at least: GEMINI_API_KEY=your_api_key_here ALLOWED_DIRECTORIES=/path/to/allowed/dir1,/path/to/allowed/dir2

  4. Build the project (if applicable): npm run build

  5. Run the server (example): npm start

Note: The MCP config (e.g., Claude Desktop integration) may require embedding the server command and environment details into your platform's configuration as shown in the documentation.

Additional notes

Tips and considerations:

  • Ensure ALLOWED_DIRECTORIES covers only the directories you intend to expose; symlink protection helps prevent escape from the allowed scope.
  • Keep GEMINI_API_KEY secure and do not commit it to version control.
  • Set DETECT_OS_PATHS to true to enable OS-aware save locations for generated images.
  • If you encounter verbose logs, toggle DEBUG to false in your environment to minimize output in production.
  • The secure file system tools rely on strict path validation; always provide correct paths and verify permissions to avoid access issues.
  • For cross-platform usage, ensure the server has access to the same paths across Windows, macOS, and Linux where applicable.

Related MCP Servers

Sponsor this space

Reach thousands of developers