{
  "auth": {
    "read": "不要(kamishibai_list / kamishibai_get は匿名で誰でも使える)",
    "write": "Authorization: Bearer <IMPORT_KEY>(create / import / set_visibility / delete はオーナーのみ)"
  },
  "connect": {
    "claude_code": "claude mcp add --transport http kamishibai https://kamishibai.tv/mcp",
    "example": "curl -s -X POST https://kamishibai.tv/mcp -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"kamishibai_list\",\"arguments\":{\"limit\":5}}}'"
  },
  "description": "テーマを一言渡すと AI が台本・絵・声・字幕まで作る紙芝居サービスの MCP サーバ。",
  "docs": "https://kamishibai.tv/llms.txt",
  "endpoint": "https://kamishibai.tv/mcp",
  "method": "POST (JSON-RPC 2.0)",
  "name": "kamishibai.tv",
  "protocolVersions": [
    "2025-06-18",
    "2025-03-26",
    "2024-11-05"
  ],
  "tools": [
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "紙芝居を一覧"
      },
      "description": "公開中の紙芝居を新しい順に一覧する(匿名可)。",
      "inputSchema": {
        "properties": {
          "limit": {
            "description": "最大件数(既定30・最大100)",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "name": "kamishibai_list",
      "title": "紙芝居を一覧"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "紙芝居を取得"
      },
      "description": "slug で紙芝居の状態・題名・各場面(ナレーション/音声/画像ファイル名)を取得。生成中は status=generating。",
      "inputSchema": {
        "properties": {
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug"
        ],
        "type": "object"
      },
      "name": "kamishibai_get",
      "title": "紙芝居を取得"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "紙芝居を生成"
      },
      "description": "テーマを一言渡すと AI が台本・絵・声まで自動生成(1〜2分)。返り値の slug を kamishibai_get で監視。要 Bearer(IMPORT_KEY)。",
      "inputSchema": {
        "properties": {
          "theme": {
            "description": "紙芝居のテーマ(1〜200字)",
            "type": "string"
          }
        },
        "required": [
          "theme"
        ],
        "type": "object"
      },
      "name": "kamishibai_create",
      "title": "紙芝居を生成"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false,
        "title": "台本を取り込み"
      },
      "description": "既成の台本(と任意の音声/画像 base64)を取り込む。音声を渡せばその声で確実に再生。pass を付けると一覧非表示の限定公開。要 Bearer。",
      "inputSchema": {
        "properties": {
          "bgm": {
            "description": "内蔵BGM(ナレーションの下に小音量ループ): warm/musicbox/calm。省略=無音",
            "type": "string"
          },
          "langs": {
            "description": "生成完了後に字幕+タイトルをAI翻訳する言語(en/ko/zh/es/pt/fr/de)。プレイヤーに言語切替が出る",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pass": {
            "description": "合言葉(付けると一覧非表示)",
            "type": "string"
          },
          "scenes": {
            "items": {
              "properties": {
                "audio_b64": {
                  "description": "場面の音声mp3(base64・任意)。無ければサーバ生成",
                  "type": "string"
                },
                "dur": {
                  "type": "number"
                },
                "image_b64": {
                  "description": "場面の画像(base64・任意)。無ければ image_prompt から生成",
                  "type": "string"
                },
                "image_prompt": {
                  "type": "string"
                },
                "narration": {
                  "type": "string"
                }
              },
              "required": [
                "narration"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "shop_url": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "scenes"
        ],
        "type": "object"
      },
      "name": "kamishibai_import",
      "title": "台本を取り込み"
    },
    {
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "公開/非表示を切替"
      },
      "description": "公開/非表示を切替。pass を空にすると公開、文字列を入れると合言葉付き限定公開(一覧非表示)。要 Bearer。",
      "inputSchema": {
        "properties": {
          "pass": {
            "description": "空=公開 / 文字列=非表示の合言葉",
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug"
        ],
        "type": "object"
      },
      "name": "kamishibai_set_visibility",
      "title": "公開/非表示を切替"
    },
    {
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false,
        "readOnlyHint": false,
        "title": "紙芝居を削除"
      },
      "description": "紙芝居を完全に削除(DB+メディア)。元に戻せません。要 Bearer。",
      "inputSchema": {
        "properties": {
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "slug"
        ],
        "type": "object"
      },
      "name": "kamishibai_delete",
      "title": "紙芝居を削除"
    }
  ],
  "transport": "http",
  "type": "mcp"
}