Skip to main content

MCP tools

Ocoya exposes 22 MCP tools. MCP clients call these tools through the standard tools/call JSON-RPC method, but most clients handle that automatically when you ask for an Ocoya action in natural language. Use list tools first to resolve brand, profile, post, brand, template, and workflow IDs. Then pass those IDs to write tools.

Tool categories

1

Resolve the brand

Call ocoya_list_brands, optionally with query, and keep the returned id as brandId.
2

Resolve target channels

For publishing tasks, call ocoya_list_social_profiles with brandId and keep the target socialProfileIds.
3

Resolve optional context

Use ocoya_list_hashtag_libraries or ocoya_list_studio_templates when the post should use saved hashtag or visual references.
4

Call the write tool

Create, update, schedule, publish, delete, toggle, or run only after the IDs and user intent are clear.
Use ISO datetimes for scheduling:

Account and brand

ocoya_get_me

Return the authorized Ocoya user for the current MCP OAuth grant.

ocoya_list_brands

List or search brands approved for the current MCP connection.

ocoya_get_brand

Fetch brand details after resolving a brand ID.

Social profiles

ocoya_list_social_profiles

List connected channels for an approved brand.

Generate social connection URL

Generate a browser URL that starts a new social profile connection flow.

ocoya_get_social_profile

Fetch details for one connected social profile.

Posts and calendar

ocoya_list_posts

Search post groups by status, caption, and pagination.

ocoya_list_calendar_posts

List scheduled posts within a date range.

ocoya_get_post

Fetch full details for one post group.

ocoya_create_post

Create a draft, schedule a post, or publish immediately.

ocoya_create_ai_post

Generate a ready-to-edit AI draft with optional hashtag, profile, and Studio references.

ocoya_create_ai_campaign

Queue generation for a multi-post AI campaign and return immediately with GENERATING status.

ocoya_update_post

Update caption, schedule, publish state, media, or attached social profiles.

ocoya_schedule_post

Schedule or reschedule an existing post group.

ocoya_delete_post

Delete a post group and cancel related schedules.

Creative context

ocoya_list_hashtag_libraries

Find reusable hashtag libraries for generated drafts.

ocoya_list_studio_templates

Find Studio template IDs to use as visual references.

Workflows

ocoya_list_workflows

List workflow IDs and enabled state for a brand.

ocoya_get_workflow

Fetch workflow metadata and step options.

ocoya_toggle_workflow

Enable or disable a workflow.

ocoya_run_workflow

Queue an immediate workflow run with optional input.

Write actions

The tools below can change brand state:
  • ocoya_create_post
  • ocoya_create_ai_post
  • ocoya_update_post
  • ocoya_schedule_post
  • ocoya_delete_post
  • Generate social connection URL
  • ocoya_toggle_workflow
  • ocoya_run_workflow
Review the user’s intent before immediate publishing, deletion, workflow changes, or social connection actions.