podbeanMCP
Podbean MCP Server is an MCP server facilitating podcast management via the Podbean API. It connects AI assistants to enable natural conversational management of podcasts, episodes, and analytics. Key features include authentication, podcast and episode management, file handling, and access to analytics.
๐๏ธ Podbean MCP Server ๐ง
An MCP server for managing your podcast through the Podbean API.
๐ Overview
This MCP server connects any MCP-compatible AI assistant to the Podbean API. Whether you're using Claude Desktop, or any other MCP client, you can now manage your podcasts, episodes, and analytics through natural conversation!
โจ Features
๐ Authentication
- Client credentials authentication for managing your own podcasts
- OAuth flow for third-party access (when needed)
- Token management for multiple podcasts - juggle them all!
๐๏ธ Podcast Management
- List all your awesome podcasts in one place
- Get the nitty-gritty details about your shows
- Peek at your stats and analytics (who's listening?)
- Browse podcast categories to find your niche
๐ Episode Management
- See all episodes for your podcast at a glance
- Dig into the details of any episode
- Publish new episodes with ease (no more complex forms!)
- Update existing episodes when you need a tweak
- Delete episodes that didn't quite hit the mark
๐ File Management
- Get green lights for file uploads to Podbean
- Upload your audio masterpieces and eye-catching images
- Use those uploaded files when creating episodes
๐ Analytics
- Check out how many downloads your podcast is getting
- Track your daily listener counts (watching them grow!)
- See how users are interacting with your content
๐ Public Podcast Access
- Access public podcast data through oEmbed
- Get the scoop on any public episode out there
๐งฐ Prerequisites
- Python 3.10 or higher (time to upgrade if you haven't already!)
- A Podbean account with API access (free or paid - they're all welcome)
- Podbean API credentials (Client ID and Secret - your magical keys to the kingdom)
๐ Installation
-
Grab the code:
git clone <repository-url> cd PodbeanMCP
-
Set up a virtual environment using the super-speedy
uv
tool:uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install the package and its dependencies:
# Using uv (faster) uv pip install -e .
Or if you prefer traditional pip:
pip install -e .
This will install all dependencies from the pyproject.toml file, including:
- mcp[cli] (MCP SDK)
- httpx (for API requests)
- python-dotenv (for environment variables)
- pydantic (for data validation)
-
Create a
.env
file with your secret Podbean powers:PODBEAN_CLIENT_ID=your_client_id PODBEAN_CLIENT_SECRET=your_client_secret
๐โโ๏ธ Running the Server
Fire it up! It's as easy as:
python server.py
The server will spring to life on the default port. Magic! โจ
๐ Connecting to Any MCP Client
- Open your favorite MCP-compatible AI assistant (Claude, GPT, or any other)
- Find the MCP server connection settings in your client
- Add a new MCP server with the URL where your server is running (e.g.,
http://localhost:8000
) - Boom! Your AI assistant now has podcast superpowers! ๐ฆธโโ๏ธ
๐ง Available Tools
๐ Authentication Tools
authenticate_with_podbean()
: Get your VIP backstage pass to Podbeanget_podcast_tokens()
: Collect tokens for all your podcasts like Pokรฉmonget_podcast_token(podcast_id)
: Grab a token for just that special podcast
๐๏ธ Podcast Tools
list_podcasts_tool()
: See your podcast empire at a glanceget_podcast_info()
: Get the 411 on your podcastget_podcast_stats(podcast_id, start_date, end_date, period, episode_id)
: Numbers, charts, and bragging rights!get_daily_listeners(podcast_id, month)
: Track your growing audience day by daybrowse_podcast_categories()
: Explore the podcast universe by category
๐ง Episode Tools
get_podcast_episodes_tool(podcast_id)
: Round up all episodes from your showget_episode_details_tool(episode_id)
: Zoom in on a specific episodepublish_episode(podcast_id, title, content, ...)
: Release your voice to the world!update_episode(episode_id, podcast_id, ...)
: Tweak that episode to perfectiondelete_episode(episode_id, podcast_id, delete_media)
: Oops! That one needs to go...
๐พ File Upload Tools
authorize_file_upload(podcast_id, filename, filesize, content_type)
: Get permission to beam files upupload_file_to_podbean(presigned_url, file_path, content_type, file_key)
: Send your audio masterpieces to the cloud
๐ Public Access Tools
get_oembed_data(url)
: Get embeddable goodies for any Podbean URLget_public_episode_info(episode_url)
: Snoop on any public episode (legally, of course!)
๐ OAuth Tools (for Third-Party Access)
generate_oauth_url(redirect_uri, scope, state)
: Create a magic login linkexchange_oauth_code(code, redirect_uri)
: Trade your code for a shiny tokenrefresh_oauth_token(refresh_token)
: Renew your expired token - no waiting in line!
๐ Available Resources
podbean://auth
: Your authentication treasure chestpodbean://podcast/{podcast_id}
: Episode collection for your podcastpodbean://episode/{episode_id}
: All the juicy details about an episodepodbean://upload/authorize
: Your upload permission slippodbean://categories
: The podcast category encyclopediapodbean://public/oembed
: Embed-friendly data for any Podbean URLpodbean://oauth/authorize
: Your OAuth permission gateway
๐ฌ Available Prompts
podcast_summary(podcast_id)
: "Hey AI, can you summarize my podcast?"episode_transcript(episode_id)
: "Turn my ramblings into readable text, please!"
๐ฌ Example Usage with Any MCP Client
Here are some fun ways to chat with your AI assistant using this MCP server:
-
Get the VIP pass:
Hey, can you authenticate with my Podbean account and show me my podcast collection?
-
Round up the episodes:
I'm feeling nostalgic! Show me all the episodes from my "Cooking with Code" podcast.
-
Share your brilliance with the world:
I'm ready to drop a new episode! It's called "AI in Podcasting" and it's all about how AI is making podcasting easier and more fun. Can you help me publish it?
-
Check if anyone's listening ๐:
How's my podcast doing? Can you show me the download stats from last week?
๐ ๏ธ Error Handling
We've got your back when things go sideways! This server comes with super-friendly error handling:
- Authentication hiccups? We'll guide you through fixing them ๐ง
- API giving you trouble? We'll tell you exactly what went wrong ๐จ
- Tried something that doesn't compute? We'll let you know before it breaks ๐ค
- Detailed error messages that actually make sense to humans! ๐ฎโ๐จ
๐ง Limitations (Nobody's Perfect!)
- Want to upload files? You'll need a bit of extra setup for that ๐
- Some fancy features might need a paid Podbean subscription ๐ณ
- Podbean has rate limits, so don't go too wild with the requests ๐
- We can't make your podcast content go viral (that's still on you!) ๐
๐ฉโ๐ป Contributing
Got ideas to make this even better? We'd love your help! Fork, code, and send us a Pull Request. Let's make podcast management even more awesome together! ๐ค
๐ License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.
You are free to share and adapt this code for non-commercial purposes, as long as you provide attribution and indicate any changes. For commercial use, please contact .
๐ Acknowledgments
- The amazing folks behind the Podbean API docs ๐
- The wizards who created the MCP SDK ๐งโโ๏ธ
- You, for using this tool to make awesome podcasts! ๐