PrepGenAICerts

Choosing Between MCP, Direct API/CLI, and Agent-to-Agent

Advanced

Select the appropriate connection protocol: MCP, API/CLI, or agent-to-agent · Difficulty 3/5

0%
mcpapicliagent-to-agentprotocol-selection

Explanation

Choosing how Claude connects to a capability is a core integration decision, and the exam expects you to pick the mechanism that matches the capability's reuse and maintenance profile.

Decision Table

MechanismWhat it isChoose when
MCP (Model Context Protocol)Open standard exposing tools, resources, and prompts to any MCP clientA capability is reused across apps/clients and maintained independently; you want a standard, swappable integration
Direct API / CLICall a service's REST API or command-line tool directly from your codeA one-off, app-specific integration where a standard protocol adds no leverage
Agent-to-agentOne agent delegates to another agent as a unitThe remote capability is itself an autonomous agent, not a single function

Applying the Framework

The deciding question is always: *who else will reuse this, and who maintains it?* A capability consumed by exactly one app, with no expectation of reuse, does not need the overhead of a standard protocol. A capability meant to be shared across many Claude applications, evolved on its own schedule, is exactly what MCP is for. And when the thing on the other end of the connection is itself a reasoning agent — not a deterministic function — agent-to-agent delegation is the right shape, because the caller is handing off a goal, not invoking an operation.

Common exam traps

  • Reaching for MCP for a single app-specific call, or hand-rolling a direct integration for a capability many apps will share. Match the protocol to the reuse and maintenance profile, not habit or familiarity.

Key Takeaways

  • MCP fits capabilities reused across apps/clients and maintained independently
  • Direct API/CLI fits one-off, app-specific integrations where a standard protocol adds no leverage
  • Agent-to-agent delegation fits when the remote capability is itself an autonomous agent, not a single function
  • Match the protocol to the reuse and maintenance profile of the capability, not to habit

Glossary Terms

Related Concepts

PrepGenAICerts.com is an independent third-party exam-prep platform for the Claude Certified Architect (CCA-F) certification. We are not affiliated with, endorsed by, or acting on behalf of Anthropic PBC.

Note: New premium upgrades are temporarily paused while we resolve an issue with our payment provider. Existing premium members retain full access.