artcraft-mcp
Enables Hermes Agent (or other MCP clients) to interact with ArtCraft's subscription API for model discovery, cost estimation, reference ingestion, image/video generation, and task result retrieval.
README
artcraft-mcp
An ArtCraft subscription MCP server built for Hermes Agent. It gives Hermes tools for live model discovery, cost estimation, reference ingestion, image/video generation, local task lookup, and resumable result retrieval.
It can also be used by any agent or client that supports local MCP servers over stdio.
Contributions are welcome. If you find an error, an outdated ArtCraft parameter, or a way to make the adapter safer or more useful, please open an issue or submit a pull request. Help testing and optimizing the tool across different setups is especially valuable.
This MCP does not control the ArtCraft desktop app or its interface. It reads the authenticated session saved by the installed ArtCraft app, optionally reads ArtCraft’s local task database, and calls ArtCraft’s Storyteller subscription API directly.
⚠ Image and video generation spend ArtCraft subscription credits. Discover live parameters, estimate cost, and obtain explicit approval before generation.
Hermes quick start
1. Install the MCP
Clone the repository somewhere outside your Hermes profile directory:
git clone https://github.com/smoermeow/artcraft-mcp.git ~/src/artcraft-mcp
cd ~/src/artcraft-mcp
python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -m unittest -v
2. Add it to a Hermes profile
./scripts/setup-hermes.sh PROFILE
Replace PROFILE with the Hermes profile that should receive the ArtCraft tools. The helper registers this clone’s absolute Python and server paths, sets a 300-second MCP timeout, and tests tool discovery.
3. Reload and verify
Run /reload-mcp in Hermes or restart that profile’s CLI/gateway process. From a terminal:
hermes --profile PROFILE mcp test artcraft
hermes --profile PROFILE mcp list
Hermes should discover 18 ArtCraft tools. Paste-ready Hermes prompts and model-call examples are in docs/USAGE.md.
Manual Hermes configuration
ROOT="$HOME/src/artcraft-mcp"
hermes --profile PROFILE mcp add artcraft \
--command "$ROOT/.venv/bin/python" \
--connect-timeout 30 \
--args "$ROOT/server.py"
hermes --profile PROFILE config set mcp_servers.artcraft.timeout 300
hermes --profile PROFILE mcp test artcraft
Equivalent YAML is available at examples/hermes-mcp.yaml.
How it works
ArtCraft stores its active subscription session here on macOS:
~/Library/Caches/ai.artcraft.app/.cookies
The server reads only visitor and session cookies belonging to api.storyteller.ai. It never returns their values from MCP tools. It uses those credentials to call ArtCraft’s subscription API, not to operate the desktop UI. See SECURITY.md.
Hermes starts server.py as a local subprocess and exchanges MCP messages through standard input/output (stdio). No local port or public web server is opened.
Requirements
- macOS with ArtCraft installed and signed in.
- Python 3.11+.
- Hermes Agent, or another MCP client with local stdio support.
Find models and parameters
Do not guess model options. Ask Hermes to call:
artcraft_list_image_models
artcraft_list_video_models
The live records expose exact model IDs and model-specific resolutions, durations, aspect ratios, batch limits, reference limits, and audio/keyframe support. Next call the appropriate spend-free estimator:
artcraft_estimate_image_cost
artcraft_estimate_video_cost
See docs/USAGE.md for complete Hermes prompts covering discovery, estimates, references, paid generation, and result retrieval.
Tools
| Group | Tools |
|---|---|
| Health/account | artcraft_check_connection, artcraft_detect_installation, artcraft_credential_status, artcraft_get_user_status |
| Models/costs | artcraft_list_image_models, artcraft_list_video_models, artcraft_estimate_image_cost, artcraft_estimate_video_cost |
| Tasks/results | artcraft_list_tasks, artcraft_get_task, artcraft_list_subscription_jobs, artcraft_get_task_result, artcraft_wait_for_result |
| References | artcraft_upload_reference_image, artcraft_upload_reference_audio, artcraft_upload_reference_video |
| Paid generation | artcraft_generate_image_subscription, artcraft_generate_video_subscription |
Other MCP clients
The server is standard MCP over stdio. Configure another compatible agent/client to run:
/path/to/artcraft-mcp/.venv/bin/python /path/to/artcraft-mcp/server.py
Tool behavior and safety requirements are the same. Client-specific configuration formats differ.
Safety boundary
- Read-only discovery and estimates do not spend credits.
- Uploading a new reference writes to the ArtCraft account and requires explicit approval.
- Paid generation requires explicit approval after cost estimation.
- Never commit cookies, ArtCraft databases, logs,
.envfiles, subscription tokens, private media, or private prompts.
Tests
.venv/bin/python -m unittest -v
GitHub Actions runs the same test suite for pushes and pull requests.
Attribution
This adapter was informed by ArtCraft PR #1649, “[BETA] Desktop app MCP stdio layer”, authored by tanish2k09. See NOTICE.md for the specific patterns independently implemented here.
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。