MCP Tools
Ocoya exposes 23 MCP tools. MCP clients call these tools through the standardtools/call JSON-RPC method, but most clients handle this automatically when you ask for an Ocoya action in natural language.
Tool Categories
| Category | Tools | Typical use |
|---|---|---|
| Account and workspace | ocoya_get_me, ocoya_list_workspaces, ocoya_get_workspace | Resolve the authorized user and workspace IDs. |
| Social profiles | ocoya_list_social_profiles, ocoya_get_social_connection_url, ocoya_get_social_profile | Connect channels and choose where posts should be published. |
| Posts | ocoya_list_posts, ocoya_list_calendar_posts, ocoya_get_post, ocoya_preview_post, ocoya_update_post, ocoya_create_post, ocoya_create_ai_post, ocoya_schedule_post, ocoya_publish_post, ocoya_delete_post | Draft, generate with AI, inspect, schedule, publish, and remove posts. |
| Brand, hashtag, and Studio context | ocoya_list_brand_kits, ocoya_list_hashtag_libraries, ocoya_list_studio_templates | Find brand kit, hashtag library, and Studio design IDs to attach to generated posts. |
| Workflows | ocoya_list_workflows, ocoya_get_workflow, ocoya_toggle_workflow, ocoya_run_workflow | Inspect, enable, disable, and run automations. |
Common Flow
Resolve social profiles
For posting tasks, call
ocoya_list_social_profiles with workspaceId and keep the target profile IDs.Tool Reference
ocoya_get_me
Get the Ocoya user associated with the MCP OAuth grant.
ocoya_list_workspaces
List or search workspaces allowed by the MCP OAuth grant.
ocoya_get_social_connection_url
Get a browser URL to connect a social network.
ocoya_create_post
Create a draft, scheduled post, or immediate publishing job.
ocoya_create_ai_post
Generate a ready-to-edit Ocoya draft post from a prompt using AI.
ocoya_list_hashtag_libraries
Find reusable hashtag library IDs for generated posts.
ocoya_list_studio_templates
Find Studio design IDs for AI image references.
ocoya_run_workflow
Queue an Ocoya workflow run immediately.