MCP server for the CraftStory API: talking-avatar videos from a photo (CraftStory 2.0) and short clips with generated sound (MiniMax H3)
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add craftstory --env CRAFTSTORY_API_KEY='<CRAFTSTORY_API_KEY>' -- npx -y @craftstory/mcp~/.codex/config.toml
[mcp_servers.craftstory]
command = "npx"
args = ["-y", "@craftstory/mcp"]
env = { CRAFTSTORY_API_KEY = "<CRAFTSTORY_API_KEY>" }
# codex mcp add craftstory --env CRAFTSTORY_API_KEY='<CRAFTSTORY_API_KEY>' -- npx -y @craftstory/mcp~/.cursor/mcp.json
{
"mcpServers": {
"craftstory": {
"command": "npx",
"args": [
"-y",
"@craftstory/mcp"
],
"env": {
"CRAFTSTORY_API_KEY": "<CRAFTSTORY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"craftstory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@craftstory/mcp"
],
"env": {
"CRAFTSTORY_API_KEY": "<CRAFTSTORY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"craftstory": {
"command": "npx",
"args": [
"-y",
"@craftstory/mcp"
],
"env": {
"CRAFTSTORY_API_KEY": "<CRAFTSTORY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"craftstory": {
"command": "npx",
"args": [
"-y",
"@craftstory/mcp"
],
"env": {
"CRAFTSTORY_API_KEY": "<CRAFTSTORY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"craftstory": {
"command": "npx",
"args": [
"-y",
"@craftstory/mcp"
],
"env": {
"CRAFTSTORY_API_KEY": "<CRAFTSTORY_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http craftstory https://mcp.craftstory.com/mcp~/.codex/config.toml
[mcp_servers.craftstory]
url = "https://mcp.craftstory.com/mcp"
# codex mcp add craftstory --url https://mcp.craftstory.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"craftstory": {
"url": "https://mcp.craftstory.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"craftstory": {
"type": "http",
"url": "https://mcp.craftstory.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"craftstory": {
"httpUrl": "https://mcp.craftstory.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"craftstory": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.craftstory.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"craftstory": {
"url": "https://mcp.craftstory.com/mcp"
}
}
}Environment variables
CRAFTSTORY_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.