Skip to main content
Glama
alansmodic

Pocket Casts MCP Server

by alansmodic

Pocket Casts MCP 服务器

一个将 AI 助手连接到您的 Pocket Casts 账户的 MCP 服务器。浏览您的订阅、阅读剧集详情并获取转录文本——当没有原生转录文本时,可通过 AssemblyAI 进行自动转录。

使用 BunFastMCP 构建。可部署到 Railway 或任何 Docker 主机。

工具

工具

描述

list-podcasts

列出所有已订阅的播客(包含文件夹 UUID)

new-episodes

获取订阅中的最新剧集

get-episode

通过 UUID 获取特定剧集的详情

get-transcript

获取剧集的转录文本(如果不存在,则回退到 AssemblyAI)

check-transcripts

检查所有播客或特定文件夹中的转录文本可用性

Related MCP server: pocketcasts-mcp

设置

前置要求

安装与认证

bun install
bun run login

登录命令将提示您输入 Pocket Casts 邮箱和密码,然后将令牌保存到 auth.json

配置环境变量

创建一个 .env 文件:

MCP_API_KEY=your-secret-key-here
ASSEMBLYAI_API_KEY=your-assemblyai-key    # optional, enables transcription fallback

运行

bun run start

服务器使用 HTTP 流传输在 3001 端口启动(可通过 PORT 环境变量覆盖)。

连接到 MCP 客户端

将您的 MCP 客户端指向:

http://localhost:3001/mcp

使用以下任一方式进行认证:

  • Authorization: Bearer <MCP_API_KEY> 请求头

  • ?api_key=<MCP_API_KEY> 查询参数

部署到 Railway

随附的 Dockerfile 已适配 Railway。在您的 Railway 项目中设置以下环境变量:

变量

必需

描述

MCP_API_KEY

用于 MCP 客户端认证的 Bearer 令牌

POCKETCASTS_ACCESS_TOKEN

登录后从 auth.json 获取

POCKETCASTS_REFRESH_TOKEN

登录后从 auth.json 获取

POCKETCASTS_EXPIRES_AT

登录后从 auth.json 获取

ASSEMBLYAI_API_KEY

为没有原生转录文本的剧集启用转录功能

PORT

Railway 会自动设置此项

转录文本的工作原理

  1. 首先检查 Pocket Casts 生成的转录文本

  2. 如果不可用,则回退到 RSS 来源的转录文本

  3. 如果两者都不存在且已设置 ASSEMBLYAI_API_KEY,则直接将音频 URL 提交给 AssemblyAI 进行转录(无需下载文件)

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Search 4M+ podcasts & YouTube, transcribe any episode, search transcripts, generate AI lessons.

  • Search, draft and manage your podcast workspace from your agent.

  • Read and update your Everway trips and itineraries from any MCP-compatible AI assistant.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alansmodic/pocketcasts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server