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.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ocoya_list_brands",
    "arguments": {}
  }
}

Tool categories

CategoryToolsTypical use
Account and brandocoya_get_me, ocoya_list_brands, ocoya_get_brandIdentify the authorized user and resolve brand IDs.
Social profilesocoya_list_social_profiles, ocoya_generate_social_connection_url, ocoya_get_social_profileChoose publishing channels and start social profile connection flows.
Posts and calendarocoya_list_posts, ocoya_list_calendar_posts, ocoya_get_post, ocoya_update_post, ocoya_create_post, ocoya_create_ai_post, ocoya_create_ai_campaign, ocoya_schedule_post, ocoya_delete_postDraft, generate, queue AI campaigns, inspect, update, schedule, publish, and remove content.
Creative contextocoya_list_hashtag_libraries, ocoya_list_studio_templatesFind hashtag libraries and Studio templates for generated posts.
Workflowsocoya_list_workflows, ocoya_get_workflow, ocoya_toggle_workflow, ocoya_run_workflowInspect, enable, disable, and run automations.
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:

2026-07-01T09:00:00Z

Account and brand

Social profiles

Posts and calendar

Creative context

Workflows

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.