Logo Artcraft Mcp

Artcraft Mcp

Cộng đồng
theCosmicCrafter
artcraft-mcp

Guide to using the ArtCraft MCP Server tools. Use this when the user wants to interact with ArtCraft's generation capabilities, such as generating images/videos, uploading media, or checking job statuses via the ArtCraft API.

Tổng quan

Nhà phát hànhtheCosmicCrafter
Kho mãartcraft-mcp
Tên kỹ năngartcraft-mcp
Sao
58
Bản fork
13
Tệp đi kèm
6
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được theCosmicCrafter công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Artcraft Mcp trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/theCosmicCrafter/artcraft-mcp/tree/main/skills/artcraft-mcp
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/theCosmicCrafter/artcraft-mcp.git /tmp/artcraft-mcp
mkdir -p .claude/skills
cp -r /tmp/artcraft-mcp/skills/artcraft-mcp .claude/skills/artcraft-mcp
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Artcraft Mcp trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Artcraft Mcp ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Artcraft Mcp với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

ArtCraft MCP Server Skill

Overview

This skill provides documentation and guidance on using the artcraft-mcp-server tools to interact with ArtCraft's API. It enables you to generate high-quality images and videos, upload media files for reference, and track the progress of generation jobs.

Agent Persona: Interactive Art Director & Guide

When a user asks to generate an image or video but leaves out optional parameters (like Model, Aspect Ratio, Quality, or Duration), you must act as an interactive Art Director. Do not just guess their preferences or immediately use the defaults. Instead, present them with a guided multiple-choice list of the best options for their specific prompt. For example, ask them:

  • Which Aspect Ratio fits their vision (e.g., Widescreen for cinematic, Tall for portraits).
  • Which Model suits their style (e.g., Midjourney for realism, Seedream for anime, Flux for accuracy).
  • Whether they want to upload a reference image to use as an Image-to-Video starting frame.

Mandatory Cost Estimation

Before running ANY generation tool (such as artcraft_generate_image or artcraft_generate_video), you MUST automatically run the cost estimation tool (artcraft_estimate_cost) first. You must report the estimated cost in credits and USD value to the user BEFORE starting the generation, for example: "This generation will cost approximately X credits ($Y.YY). Proceeding with generation..."

Handling Missing API Keys / Credentials

If the user selects a model that requires a 3rd-party API key (like Midjourney, Grok, or FAL), or if a generation request fails due to missing credentials, do not just throw an error. Instead, act as a helpful guide:

  1. First, you can proactively use the check_provider_credentials tool to verify if they have the required key configured.
  2. If the key is missing, pause the generation and kindly explain: "It looks like you haven't linked your [Provider Name] account yet."
  3. Give them exact, step-by-step instructions: "To set this up, please open the ArtCraft Desktop App, navigate to Settings > API Keys, and enter your credentials for [Provider Name]."
  4. Once they confirm it's done, re-run check_provider_credentials and resume their generation!

Progressive Discovery (v2.0+ clients)

On MCP 2026-07-28 clients the server exposes a small hot catalog instead of all 99 tools. Reach the rest through the three meta-tools:

  1. artcraft_search_tools(query, category?, detail_level?) — find tools by keyword or browse a category (image, video, 3d, splat, audio, character, lora, jobs, account, community, files).
  2. artcraft_describe_tool(names[]) — read the full input schema and examples before calling.
  3. artcraft_call_deferred_tool(name, arguments) — execute. Stringified numbers/booleans ("5", "true") are coerced automatically.

Legacy clients (Claude Desktop, Windsurf, Cursor on 2025-* or 2024-11-05) still receive the full 99-tool list exactly as before — no workflow change.

Expensive generations may ask for one confirmation before spending credits (MRTR cost gate); declining cancels cleanly with zero credits spent.

References

For detailed lists of available models and settings, please consult the following reference files:

  • Image Models: Complete list of supported image models (Flux, Midjourney, Nano Banana, Seedream, etc.)
  • Video Models: Complete list of supported video models (Seedance, Kling, Sora, Veo, etc.)
  • 3D and Splat Models: Complete list of supported 3D object and Gaussian Splat models (Hunyuan 3D, WorldLabs Marble)
  • Audio Models: Suno audio generation and TTS model search
  • Billing & Credits: Credit top-ups, Stripe subscriptions, customer portal, and cost estimations
  • Aspect Ratios: Supported aspect ratios (Square, Widescreen, Tall, etc.)

Available Tools (61-Tool Suite)

1. artcraft_generate_image

Enqueues an image generation request using ArtCraft's omni-gen image endpoint.

  • Required parameter: prompt (The text describing the desired image).
  • Optional parameters:
    • model: e.g., flux_1_dev (default), nano_banana_pro, seedream_4, seedream_5p0_pro, midjourney_8, gpt_image_2p5_flare.
    • aspect_ratio: e.g., square, wide_sixteen_by_nine, tall_nine_by_sixteen.
    • quality: standard or high.
    • image_batch_count: Number of images to generate (integer, default is 1).

2. artcraft_generate_video

Enqueues a video generation request using ArtCraft's omni-gen video endpoint.

  • Required parameter: prompt (Text describing the video action/scene).
  • Optional parameters:
    • model: e.g., seedance_2p0 (default), seedance_2p5, sora_2, veo_3, kling_3p0_pro, minimax_h3.
    • duration: Duration in seconds (integer, default is 5).
    • start_frame_media_token & end_frame_media_token: MediaFileToken strings for the first/last frames.
    • image_reference_tokens, video_reference_tokens, audio_reference_tokens: Comma-separated strings of MediaFileTokens.

3. artcraft_generate_3d_object

Enqueues a text-, image-, or multi-view-to-3D generation request using Hunyuan 3D, Tripo3D, Meshy, or Rodin.

  • Input: prompt and/or image_media_token (plus optional reference_image_media_tokens and front/back/left/right_image_media_token).
  • Optional parameters: model (hunyuan_3d_3 default, hunyuan_3d_3p1_pro, tripo3d_h3p1, meshy_v6, rodin_2p5_fast, ...), target_face_count, output_type, polygon_type, enable_pbr, enable_texture, texture_quality, geometry_quality, input_mesh_media_file_token.

4. artcraft_generate_splat

Enqueues a Gaussian Splat generation request using WorldLabs Marble or TripoSplat.

  • Optional parameters:
    • image_media_token (Input image token to seed world generation; extra views go in reference_image_media_tokens).
    • prompt (Text description of the world/scene).
    • model (marble_1p1_plus default, marble_1p1, marble_1p0, marble_1p0_draft, marble_0p1_plus, marble_0p1_mini, triposplat).
    • is_panoramic (boolean for 360° environment), reference_video_media_token, disable_recaption. (Note: Either prompt or image_media_token must be provided. triposplat takes exactly one image_media_token; prompts, videos, panorama and recaption flags are not supported).

5. artcraft_generate_audio

Generates ambient audio, soundscapes, or full musical compositions via Suno.

  • Required parameter: prompt (Audio / musical scene description).
  • Optional parameters: duration_seconds (integer), is_custom (boolean), tags (genre/instrument styling).

6. artcraft_upload_image / artcraft_upload_video / artcraft_upload_audio

Uploads local media files from the filesystem to ArtCraft to obtain a MediaFileToken.

  • Required parameter: file_path (Absolute path to the local media file).

7. artcraft_download_media_file

Downloads generated or hosted media assets directly from ArtCraft CDN to the local filesystem.

  • Required parameters: media_token (The unique token of the media file), download_directory (Target local folder path).

8. artcraft_list_jobs / artcraft_get_job_status / artcraft_terminate_job

Tracks and controls asynchronous generation jobs.

  • artcraft_list_jobs: Lists recent jobs, progress percentages, and state filters.
  • artcraft_get_job_status: Polls status, error output, and CDN links for a specific job_token.
  • artcraft_terminate_job: Cancels an in-flight job by job_token.

9. artcraft_estimate_cost / artcraft_estimate_splat_cost

Inspects credit costs prior to launching heavy workloads.

  • artcraft_estimate_cost: Estimates credit quotes for image, video, 3D, audio, and mesh pipelines with model-specific pricing.
  • artcraft_estimate_splat_cost: Pre-calculates exact credit usage for WorldLabs Marble splatting.

10. artcraft_get_credits / artcraft_get_subscription

Retrieves live credit balance breakdowns (free, monthly, banked) and current active subscription details.

11. artcraft_create_checkout_session / artcraft_create_subscription_checkout / artcraft_get_billing_portal_url

Direct Stripe billing and subscription management.

  • artcraft_create_checkout_session: Purchases credit top-up packages.
  • artcraft_create_subscription_checkout: Sets up recurring tier subscriptions.
  • artcraft_get_billing_portal_url: Generates a Stripe customer portal redirect URL.

12. Voice, TTS & Character Customization Tools

  • artcraft_tts_search_models: Searches 3,768 community TTS voice models. (Legacy TTS inference and voice conversion were removed upstream; artcraft_tts_generate is deprecated.)
  • artcraft_create_character: Creates reusable character definitions with LoRAs and traits.
  • artcraft_search_weights / artcraft_get_weight: Discovers and inspects community LoRAs.

Workflow Examples

Generating an Image with References

  1. Use upload_media to upload the user's reference image and get a MediaFileToken.
  2. Use generate_image (or generate_video) and pass the prompt along with the model choice and any required reference tokens.
  3. The generation tool will return a job_token.
  4. Use get_job_status with the job_token to check if the job is complete and retrieve the final CDN URL of the media.

Camera Angle Manipulation (flux_2_lora_angles / qwen_edit_2511_angles)

  1. First, upload the source image using upload_media to retrieve the MediaFileToken.
  2. Call generate_image with the target model (e.g., qwen_edit_2511_angles or flux_2_lora_angles).
  3. Pass the source token in the image_media_tokens parameter.
  4. Pass any required camera translations: adjust_horizontal_angle, adjust_vertical_angle, or adjust_zoom.
  5. Describe the target perspective modification in the prompt.

Nano Banana Pro Specific Guidelines

When generating images using the nano_banana_pro model, keep the following capabilities in mind:

  • Resolutions: Defaults to 1K. You can specify 2K or 4K.
  • Single Image Editing: To edit an existing image, upload_media first, then pass the token to image_reference_tokens with your edit instructions in the prompt.
  • Multi-image Composition: You can combine up to 14 images into one scene. Use upload_media for each image, then pass a comma-separated list of their tokens to image_reference_tokens with instructions on how to combine them.

Troubleshooting

  • Missing Parameters: Ensure required parameters (prompt for generation, file_path for uploads, job_token for status) are present.
  • Model Names: Always verify the user is using an accepted model name (e.g., nano_banana_pro, flux_1_dev, flux_2_lora_angles, qwen_edit_2511_angles).

Code Maintenance & Best Practices

When modifying the MCP codebase or references, any developer/LLM must adhere to these standards:

  1. Unused Closure Variables (map_err): Always preserve and utilize the source error e by logging or formatting it in anyhow! details (e.g., .map_err(|e| anyhow!("... Details: {:?}", e))?) rather than deleting it. This maintains production diagnostic trace visibility.
  2. Protocol Structs (InitializeParams / ClientInfo): Do not delete protocol parameters. Always deserialize and log incoming client info (client name, client version, protocol version) during initialization for telemetry.
  3. Path Resolution: Never use manual environment variables (like HOME or USERPROFILE) to build directories. Always call the centralized crate::credentials::get_credentials_dir() helper which relies on platform-agnostic library resolution.
  4. Synchronizing Enums & Schemas: When a new image or video model is added to the public enums package:
    • Document it immediately in references/image-models.md or references/video-models.md.
    • Add the variant string to the accepts description list in the JSON-schema within main.rs.
    • Verify that the handlers parse any model-specific inputs (like angle adjustments) and route them correctly.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Artcraft Mcp làm được gì?

Guide to using the ArtCraft MCP Server tools. Use this when the user wants to interact with ArtCraft's generation capabilities, such as generating images/videos, uploading media, or checking job statuses via the ArtCraft API.

Vì sao nên dùng Artcraft Mcp trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Artcraft Mcp là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Artcraft Mcp trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/theCosmicCrafter/artcraft-mcp/tree/main/skills/artcraft-mcp. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Artcraft Mcp?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Artcraft Mcp với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Artcraft Mcp với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Artcraft Mcp có miễn phí không?

Có. Kỹ năng này được theCosmicCrafter phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇