---
title: MCP_Agent_Challenge_podcast_MCP
canonical_url: "https://www.modelscope.cn/studios/walicook/MCP_Agent_Challenge_podcast_MCP"
md_url: "https://www.modelscope.cn/studios/walicook/MCP_Agent_Challenge_podcast_MCP.md"
repository: walicook/MCP_Agent_Challenge_podcast_MCP
chinese_name: "MCP&Agent挑战赛_书籍读后感播客MCP"
last_updated: 2025-08-30
sdk_type: gradio
sdk_version: 5.42.0
downloads: 0
stars: 0
---

# MCP_Agent_Challenge_podcast_MCP

> MCP_Agent_Challenge_podcast_MCP - walicook 在 ModelScope 创建的在线 Demo。基于 Gradio 的播客生成 MCP (Model Context Protocol) 服务器，可以根据输入主题生成播客音频文件。

walicook/MCP_Agent_Challenge_podcast_MCP 是 ModelScope 魔搭社区上的在线可交互 Demo（创空间），基于 gradio 5.42.0 构建，中文名为「MCP&Agent挑战赛_书籍读后感播客MCP」。

- **Repository**: walicook/MCP_Agent_Challenge_podcast_MCP
- **SDK**: gradio
- **SDK version**: 5.42.0
- **Downloads**: 0
- **Stars**: 0
- **Last updated**: 2025-08-30

Source: https://www.modelscope.cn/studios/walicook/MCP_Agent_Challenge_podcast_MCP

---

# 播客生成 MCP 服务器

基于 Gradio 的播客生成 MCP (Model Context Protocol) 服务器，可以根据输入主题生成播客音频文件。

## 安装

```bash
pip install -r requirements.txt
```

## 启动服务器

```bash
python app.py
```

服务器启动后会显示：
```
MCP server (using SSE) running at: http://127.0.0.1:7860/gradio_api/mcp/sse
```

## 使用方法

### 1. 网页界面
直接访问 `http://127.0.0.1:7860` 在网页界面输入主题生成播客。

### 2. MCP 客户端调用
连接到 MCP 服务器端点：`http://127.0.0.1:7860/gradio_api/mcp/sse`

调用工具：
- 工具名：`generate_podcast`
- 参数：`{"topic": "你的播客主题"}`

### 3. 示例主题
- "解读《平凡的世界》"
- "张爱玲文学赏析"
- "尘埃落定解读"

## 输出
生成的播客音频文件会保存在 `podcast_audio/` 目录下，文件名格式为 `podcast_YYYYMMDD_HHMMSS.mp3`。

## 注意事项
- 确保网络连接正常
- 生成过程可能需要几分钟时间
- 音频文件会自动保存到本地

#### Clone with HTTP
```bash
 git clone https://www.modelscope.cn/studios/walicook/MCP_Agent_Challenge_podcast_MCP.git
```
