Castos MCP by usefulapi

v1.6.1
io.usefulapi/castos Checked 2 days ago Published 1 day ago

Read podcasts and episodes; create and update episodes; manage private subscribers in Castos.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

castos_list_podcasts List podcasts

List the podcasts on the authenticated Castos account, with title, description, language and feed settings. Castos API: GET /podcasts.

castos_get_podcast Get a podcast

Get one podcast by id, with its settings and metadata. Castos API: GET /podcasts/{podcast_id}.

ParameterTypeDescription
podcast_id *Numeric Castos id.

castos_update_podcast Update a podcast

WRITE. Change the metadata of an existing podcast. Only the fields you pass are sent. It does not change the cover image, the feed redirect or the episodes. Castos API: POST /podcasts/{podcast_id}.

ParameterTypeDescription
podcast_id *Numeric Castos id.
author_namestringAuthor name.
copyrightstringCopyright line.
country_of_origin_1stringCountry of origin 1.
country_of_origin_2stringCountry of origin 2.
country_of_origin_3stringCountry of origin 3.
explicitstring'True' or 'False': explicit content.
feed_episodes_numberintegerNumber of episodes in the RSS feed.
google_podcastsstringGoogle Podcasts URL.
itunesstringApple Podcasts URL.
itunes_category1stringCategory 1 (see castos_list_categories).
itunes_category2stringCategory 2 (see castos_list_categories).
itunes_category3stringCategory 3 (see castos_list_categories).
keywordsstringComma-separated keywords.
languagestringLanguage code, for example 'en'.
owner_emailstringOwner email address.
podcast_descriptionstringPodcast description.
podcast_ownerstringPodcast owner name.
podcast_titlestringPodcast title.
show_typestringEpisodic or serial show.
websitestringA public https URL.

castos_list_episodes List episodes

List the episodes of one podcast, with id, title, created date and publish date. Castos API: GET /podcasts/{podcast_id}/episodes.

ParameterTypeDescription
podcast_id *Numeric Castos id.

castos_get_episode Get an episode

Get one episode of a podcast by id, with its title, notes and audio details. Castos API: GET /podcasts/{podcast_id}/episodes/{episode_id}.

ParameterTypeDescription
episode_id *Numeric Castos id.
podcast_id *Numeric Castos id.

castos_create_episode Create an episode

WRITE. Add a new episode to a podcast. The audio is downloaded from episode_file_url (https, up to 40 MB) and uploaded to Castos. The episode may publish to the live feed at once, so check the publish date. Castos API: POST /podcasts/{podcast_id}/episodes (multipart).

ParameterTypeDescription
episode_file_url *stringPublic https URL of the audio file (up to 40 MB).
podcast_id *Numeric Castos id.
post_content *stringEpisode show notes (HTML or text).
post_title *stringEpisode title.
episode_numberstringEpisode number.
episode_typestringEpisode type, for example 'Full'.
keywordsstringComma-separated keywords.
post_datestringPublish date, yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.
series_numberstringSeason or series number.

castos_update_episode Update an episode

WRITE. Change the text or settings of an existing episode. Only the fields you pass are sent. To replace the audio, pass updated_episode_file as a public https URL. Castos API: POST /podcasts/{podcast_id}/episodes/{episode_id}.

ParameterTypeDescription
episode_id *Numeric Castos id.
podcast_id *Numeric Castos id.
episode_numberstringEpisode number.
episode_typestringEpisode type.
keywordsstringComma-separated keywords.
post_contentstringEpisode show notes.
post_datestringPublish date, yyyy-mm-dd or yyyy-mm-dd hh:mm:ss.
post_titlestringEpisode title.
series_numberstringSeason or series number.
updated_episode_filestringNew audio file as a public https URL.

castos_list_private_subscribers List private subscribers

List the private subscribers of one podcast, one page at a time. Castos API: GET /private-subscribers.

ParameterTypeDescription
podcast_id *Numeric Castos id.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 250.

castos_get_private_subscriber Get a private subscriber

Get one private subscriber by subscriber id. Castos API: GET /private-subscribers/{subscriber_id}.

ParameterTypeDescription
subscriber_id *Numeric Castos id.

castos_get_private_subscriber_by_email Find a private subscriber by email

Find a private subscriber by email. The reply lists the subscriber and its subscriptions; the subscription id is what castos_revoke_private_subscriber needs. Castos API: GET /private-subscribers/email/{email_address}.

ParameterTypeDescription
email_address *stringSubscriber email address.

castos_create_private_subscriber Add a private subscriber

WRITE. Add an email address as a private subscriber of a podcast, so it can access the private feed. Castos API: POST /private-subscribers.

ParameterTypeDescription
email *stringSubscriber email address.
podcast_id *Numeric Castos id.
namestringSubscriber name.

castos_reactivate_private_subscriber Reactivate a private subscriber

WRITE. Reactivate a private subscriber by subscriber id, for example after a revoke by mistake. Castos API: POST /private-subscribers/reactivate/{subscriber_id}.

ParameterTypeDescription
subscriber_id *Numeric Castos id.

castos_revoke_private_subscriber Revoke a private subscription

WRITE. Cancel one private subscription, so the subscriber loses access to that private feed. Pass the subscription id (see castos_get_private_subscriber_by_email). Castos API: POST /private-subscribers/{subscription_id}.

ParameterTypeDescription
subscription_id *Numeric Castos id.

castos_list_categories List podcast categories

List the podcast categories that Castos accepts for the itunes_category fields. Castos API: GET /get-categories.