MCP Workflows
Platform MCP works best when the client follows a read, plan, change, verify loop.
MCP Workflows
Platform MCP works best when the client follows a read, plan, change, verify loop.
These examples show safe autonomous patterns. They use tool names, not a specific client UI, so you can adapt them to Claude, Cursor, OpenCode, or a custom client.
Workflow Guardrails
Before giving an MCP client write access:
- Give it the smallest preset or exact permissions that fit the job.
- Keep destructive permissions off by default.
- Ask the client to produce a plan before write tools run.
- Require human approval before destructive tools.
- Verify changes with read tools after every write.
- Review MCP Connections → Recent Audit Events after the run.
Audit An Agent Before Launch
Best permissions: Agent Builder plus sources:read, retrieval:read, feedback:read, and conversations:read.
Inventory the agent
Use list_agents, get_agent, get_agent_configuration, and
list_agent_tools.
Check knowledge coverage
Use list_sources, list_ingestion_jobs, and search_knowledge_base with real
customer questions.
Review quality signals
Use list_feedback, list_conversations, and list_conversation_messages.
Test improvements safely
Use chat_playground or test_agent. These are safer than creating real customer
conversations.
Only after the plan is approved should the client use update_agent_prompt, update_agent_model, or update_agent_retrieval_settings.
Add And Sync Knowledge Sources
Best permissions: Content Manager.
- Use
list_sourcesto avoid duplicates. - Use
create_sourcefor one URL, sitemap, file, or image source. - Use
create_bulk_uploadfor a ZIP upload URL that already exists. - Use
batch_sourcesfor multiple FILE or IMAGE sources. - Use
sync_sourceto queue ingestion or reindex. - Use
list_ingestion_jobsorget_ingestion_jobuntil the job succeeds or fails. - Use
search_knowledge_baseto verify retrieval.
Do not give sources:delete unless the workflow is allowed to remove sources. Source creation and sync only need sources:write.
Operate Conversations
Best permissions: Operator.
Use this when an internal assistant helps support teams triage active conversations.
list_conversationswith status or channel filters.get_conversationandlist_conversation_messagesto understand context.get_end_userandget_end_user_memoryto understand the customer.takeover_conversationwhen a human should respond.send_conversation_messagefor a human-authored reply in a takeover conversation.assign_conversationorclose_conversationwhen the support flow is complete.
Use set_end_user_memory only for facts the team wants saved for future conversations.
Build Or Update An Agent
Best permissions: Agent Builder.
create_agentwith aBAREBONESorSUPPORTtemplate.update_agent_identityto set name, slug, or template.update_agent_promptfor system instructions.update_agent_modelfor model, temperature, output token, context-window, or step defaults.update_agent_builtin_toolsandupdate_agent_channel_settingsfor runtime behavior.create_skillorinstall_skill_recipefor reusable instructions.attach_skill_to_agentandreorder_agent_skills.export_agent_configurationbefore and after changes so the client can show a diff.test_agentorchat_playgroundto verify behavior.
Use import_agent_configuration only after reviewing the sanitized export payload.
Manage External MCP Servers For An Agent
Best permissions: Agent Builder plus access to the target agent.
list_mcp_catalogto inspect supported catalog entries.activate_catalog_mcp_serverto attach an API-key catalog server to an agent.create_custom_mcp_serverfor a private Streamable HTTP or SSE server.test_mcp_serverbefore enabling it for production traffic.update_mcp_serverto change enabled tools or mark the config inactive.
The Platform MCP response returns sanitized config metadata only. It does not return stored secrets.
Manage API Keys Safely
Best permissions: Full Admin normal permissions plus exact API-key permissions.
list_api_keysandget_api_keyto inspect metadata.create_api_keyfor a new service account. CopyoneTimeRawKey; it will not be returned again.update_api_keyto narrow permissions, resource grants, allowed origins, rate limit, or expiry.rotate_api_keywhen ownership changes or a key may be exposed.revoke_api_keyonly withapi_keys:revokeand explicit human approval.
Prefer rotation over creating duplicate long-lived keys.
Review Usage And Cost
Best permissions: Analytics preset.
Use get_usage, get_analytics, and get_billing_summary to answer questions about usage, cost, credits, and subscription state. These tools are read-only and safe for reporting clients.
Voice Operations
Best permissions: voice:read, and voice:write only for sync or diagnostics cleanup.
list_voice_modelsandlist_voicesto inspect available ElevenLabs options when configured.get_voice_agent_sync_statusto check local voice config for an agent.sync_voice_agentto push voice config to ElevenLabs and store sync metadata.list_voice_sessions,get_voice_transcript, andlist_voice_tool_callsfor diagnostics.clear_voice_tool_callsto clear transient Redis diagnostics.
Destructive Workflow Pattern
Use this pattern for delete_*, archive_skill, revoke_api_key, and deactivate_user tools.
- Read the target resource first.
- Ask the client to summarize impact in plain language.
- Confirm the resource ID with a human.
- Run the destructive tool once.
- Read again to verify the result.
- Check audit events for
mcp.tool.destructive.
Do not grant destructive permissions to broad autonomous clients. Create a separate short-lived key for cleanup runs.
Related Docs
MCP Permissions
Map each workflow to the right preset, exact permissions, and destructive controls.
MCP Client Configs
Connect the MCP client before running these workflows.


