Server

Overview of the uPubly MCP endpoint — transport, authentication and capabilities.

uPubly exposes an MCP (Model Context Protocol) server so agents can operate the platform on behalf of the user.

Endpoint

POST https://api.upubly.com/mcp

Streamable HTTP transport (stateless). Every request carries its own authentication — there is no server session.

Authentication

Authorization: Bearer <access_token>

The token is the uPubly JWT issued by the OAuth 2.1 + PKCE flow (see OAuth). With no token or an invalid one the endpoint answers 401 with WWW-Authenticate pointing to the discovery metadata (RFC 9728) — MCP clients resolve the flow on their own from there.

Capabilities (tools)

DomainTools
Postspost_accounts_list, post_list, post_create, post_delete
Storagestorage_request_upload, storage_complete_upload, storage_usage, media_upload_from_url
Brand (brain)brand_get, brand_update_identity, brand_update_visual_identity, brand_update_memory, brand_add_document
Billingplans_list, payment_link_create, credits_balance
UGC — generationugc_models_list, ugc_estimate, ugc_job_create, ugc_job_get, ugc_jobs_list, ugc_job_cancel, ugc_job_delete
UGC — avatarsugc_avatar_options, ugc_avatar_randomize, ugc_avatars_list, ugc_avatar_get, ugc_avatar_create_upload, ugc_avatar_create_generated, ugc_avatar_update, ugc_avatar_delete, ugc_avatar_images_list, ugc_avatar_image_add, ugc_avatar_image_set_base, ugc_avatar_image_delete, ugc_avatar_sheets_list, ugc_avatar_sheet_generate
UGC — scenesugc_scenes_list, ugc_scene_create, ugc_scene_update, ugc_scene_delete
UGC — auxiliariesugc_templates_list, ugc_projects_list

Full reference: Tools · UGC · Avatars · Video generation.

Conventions

  • workspace_id is optional in every workspace tool — when omitted the user's default workspace is used; when provided it is validated against ownership.
  • Business errors come back as an isError result with the message — never as a protocol error.
  • Responses carry structuredContent (object) + content[].text (pretty JSON) — both are equivalent.