Artcraft Mcp 标志

Artcraft Mcp

社区
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.

Add to TypingMind

概览

发布者theCosmicCrafter
代码仓库artcraft-mcp
技能名称artcraft-mcp
星标数
58
复刻数
13
附带文件
6
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 theCosmicCrafter 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Artcraft Mcp AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/theCosmicCrafter/artcraft-mcp/tree/main/skills/artcraft-mcp
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Artcraft Mcp,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Artcraft Mcp。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Artcraft Mcp 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Artcraft Mcp AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Artcraft Mcp?

因为您只需安装一次,就能搭配任何模型使用。Artcraft Mcp 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Artcraft Mcp?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/theCosmicCrafter/artcraft-mcp/tree/main/skills/artcraft-mcp。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Artcraft Mcp?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Artcraft Mcp 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Artcraft Mcp 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Artcraft Mcp AI 技能免费吗?

是的。theCosmicCrafter 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇