The short answer
For a solo founder, use the least complex mechanism that reliably gives the agent the capability it needs.
- Use ordinary application code when the behavior belongs inside your product and should not be exposed as a reusable agent capability.
- Use an agent skill when the main thing you are adding is procedural knowledge: a workflow, decision rule, checklist, or domain-specific way of doing the job.
- Use an MCP tool when the agent needs to discover and invoke a remote or shared operational capability through a standardized protocol.
- Use a CLI when a command-line interface already provides the right operational interface and the agent can safely execute it in a controlled environment.
The mistake is treating these as interchangeable labels for “agent integration.” They solve different problems. A skill changes what the agent knows how to do. An MCP tool changes what the agent can reach. An API tool is the callable contract behind many integrations. A CLI is an execution surface. Ordinary code is where you keep business rules that must not depend on a model’s judgment.
This distinction matters commercially. Every additional protocol, process, credential flow, and deployment surface can become another source of support work, failed calls, security exposure, and maintenance. The right architecture is not the most flexible one. It is the one that removes the most customer pain per unit of operational complexity.
First, name the capability you actually need
Before comparing mechanisms, write down the capability as a sentence:
When [condition], the agent should [action], using [authority or data], and return [result].
For example:
When a customer asks for a refund above a configured threshold, the agent should inspect the order, ask for approval when required, issue the refund through the billing system, and record what happened.
That sentence exposes the hard parts:
- Is the capability mainly knowledge or mainly action?
- Does it need remote data or a side effect?
- Must it work across several agent clients or products?
- Whose identity and permissions does it use?
- What must be logged, approved, or rate-limited?
If you cannot answer those questions, choosing between a skill, MCP, and an API wrapper is premature.
The four layers founders often mix together
1. Ordinary application code: the owned business logic
Application code is the default for deterministic product behavior. It might validate a request, apply a refund policy, query your database, enqueue a job, or write an audit record.
This is usually the right choice when:
- the rule is part of your core product;
- correctness matters more than natural-language flexibility;
- the capability should not be independently installed by customers;
- you want one authoritative implementation;
- the operation needs to participate in your existing billing, tenancy, and observability systems.
A model may decide to request a refund, but the refund service should decide whether policy permits it and perform the operation. The model is not your policy engine.
A simple architecture often looks like this:
Agent → internal application API → policy check → transaction → audit log
That path may still be exposed to an MCP server later, but the business rule does not need to live in the protocol layer.
2. Agent skill: procedural knowledge the agent can carry
An agent skill is most useful when the core asset is a repeatable procedure. It tells the agent how to approach a task: which inputs to gather, which checks to make, when to stop, and what output to produce.
Examples include:
- a support workflow for classifying and escalating tickets;
- a release checklist that prevents an agent from skipping migration steps;
- a sales-research procedure for comparing a prospect against qualification criteria;
- a domain playbook for resolving a recurring class of incidents.
A skill is appropriate when the procedure should remain portable across different hosts or tools. If a customer can use the same procedure with two unrelated agent applications, packaging that knowledge as a skill can save integration work.
However, a skill is not automatically safer, cheaper, or more capable. It may contain stale instructions. It may instruct the agent to call APIs that do not exist in every environment. It may also encourage actions without enforcing permissions.
Decision rule: If removing the skill would leave the agent without a procedure but not without a capability to act, use a skill. If removing it leaves the agent unable to reach a service or perform a defined operation, you need a tool or application integration.
3. MCP tool: a standardized operational capability
MCP is useful when you want an agent client to discover and call capabilities exposed by a server through a common protocol. A server can expose tools, resources, and prompts. Tool calls represent operations the agent can invoke; resources represent context the client can read.
MCP becomes valuable when:
- several agent clients need the same integration;
- you want a discoverable tool catalog rather than a collection of bespoke adapters;
- the server is operated independently from the agent application;
- the boundary between client and capability provider should be explicit;
- you expect tool discovery, capability negotiation, or remote-server workflows to matter.
The MCP specification describes a client-server architecture built on JSON-RPC, with hosts, clients, and servers. Servers offer capabilities such as tools, resources, and prompts; clients may offer features such as roots, sampling, and elicitation. That makes MCP an architectural boundary, not merely another function call.
But MCP does not eliminate API design. Behind an MCP tool is still an operation with inputs, outputs, errors, timeouts, authorization, and compatibility rules. A badly designed tool exposed through MCP is still a badly designed integration.
For remote HTTP deployments, authorization requires deliberate work. The MCP authorization specification treats a protected MCP server as an OAuth resource server, an MCP client as an OAuth client, and a separate authorization server as responsible for issuing access tokens. For stdio servers, credentials are normally obtained from the environment rather than through the HTTP authorization flow.
This distinction has a practical effect: an MCP server exposed over the network needs an authorization boundary, token validation, appropriate scopes, and auditability. “The model was instructed not to use it” is not an access control.
4. CLI: an execution surface for existing tools
A CLI can be the best agent-facing interface when the capability already exists as a mature command-line tool and the agent can run it in a controlled environment.
CLI-first design is sensible when:
- the command is already stable and documented;
- humans and agents can share the same operational workflow;
- the tool offers precise exit codes and machine-readable output;
- you want to avoid writing another service adapter;
- the agent’s environment can isolate processes, secrets, and filesystem access.
The trade-off is the runtime. A CLI may write files, install dependencies, invoke a shell, or depend on a local operating system. That makes sandboxing, timeouts, output limits, and secret handling part of the capability design.
MCP can wrap a CLI behind a structured tool interface, but that is useful only if the wrapper improves reliability. If the wrapper merely forwards arbitrary strings to a shell, it may add a process without adding a meaningful boundary.
A practical decision tree
Start with the simplest question:
Does the capability need to affect an external system or expose live operational data?
No. Keep it in ordinary application code or express it as a skill.
- Deterministic business rule → application code.
- Repeatable procedure or decision guidance → agent skill.
Yes. Continue.
Does one product need to invoke it?
Yes, and it is private to your product: call a narrowly designed application API from your agent runtime.
Do not introduce MCP merely because MCP exists. An internal API can be easier to deploy, observe, and secure when there is no external interoperability requirement.
Yes, and multiple clients or external consumers need it: continue.
Is a stable CLI already the best operation surface?
Yes: use the CLI directly if the runtime can isolate it, or expose a constrained MCP tool that wraps it when remote discovery and standardized invocation matter.
No: continue.
Is the primary value reusable instructions rather than a new operation?
Yes: use an agent skill, with explicit validation of the referenced APIs and procedures.
No: implement or expose an MCP tool.
The final question should be: Will the standardized MCP boundary materially reduce integration work, improve discoverability, or isolate an independently operated capability? If not, MCP may be unnecessary infrastructure.
Compare the options on the costs founders actually pay
| Decision factor | Application code | Agent skill | MCP tool | CLI |
|---|---|---|---|---|
| Main value | Deterministic behavior | Procedural knowledge | Standardized capability access | Existing command interface |
| Portability | Low unless abstracted | High across compatible hosts | High across compatible MCP clients | Depends on runtime and installation |
| Runtime requirement | Your existing backend | Usually none beyond host | Client, server, transport, session handling | Local process, environment, dependencies |
| Authorization boundary | Application-enforced | Usually weak | Explicit if implemented correctly | Must be enforced by runtime and wrapper |
| Auditability | Strongest when built in | Depends on host logging | Can log at server boundary | Depends on wrapper and host |
| Main maintenance cost | Business-rule maintenance | Staleness and compatibility | Protocol, server, auth, operations | Patching, runtime, sandboxing |
| Best fit | Core product logic | Portable playbooks | Shared or remote agent capabilities | Mature local tools |
The table hides an important asymmetry: application code usually concentrates enforcement in a system you control. Skills mainly influence behavior. MCP creates a network boundary and therefore introduces authentication and operational questions. CLIs introduce process boundaries and runtime risks.
Do not choose the option with the most attractive architecture diagram. Choose the one whose failure modes you can afford.
Authorization is a separate decision from protocol choice
Whether you expose a tool through MCP, a REST API, or a CLI, the underlying operation needs authority. The protocol does not grant that authority for you.
For a customer-facing agent, ask:
- Does the action run as the customer, an end user, or your service?
- Can a token be limited to one tenant, resource, and operation?\n- Can a user inspect and revoke delegated access?
- Which actions require explicit approval?\n- Can you reconstruct which agent, user, and tool produced a change?
The MCP authorization model supports delegated access over HTTP, but your application still needs least-privilege checks. Do not rely on broad tokens, and do not let the model decide whether the caller is authorized. For a deeper review of token design, see How to Choose an MCP Server Authorization Model Without Handing Agents Too Much Access.
For local stdio servers, the simpler environment-based credential model may be appropriate. The MCP specification explicitly distinguishes this from HTTP-based authorization. This is why “MCP” should not be treated as one uniform deployment model.
Auditability: capture more than the final result
A useful audit record should answer:
- which capability was selected;
- which principal authorized it;
- what arguments were supplied;
- what external resource was affected;
- whether approval was requested;
- what result or error was returned;
- whether the operation was idempotent or retried.
Avoid logging secrets or unnecessary sensitive payloads. Capture stable identifiers, hashes, or redacted fields when appropriate.
Ordinary application code usually has the easiest audit story because the transaction boundary is already there. MCP can provide a clean capability boundary, but only if the server records authorization and invocation details. A CLI wrapped by an agent host may produce useful process logs, but those are not automatically business-grade audit trails.
If shared MCP clients and skills will accumulate over time, operational hygiene matters too. The guide MCP Client Skill Catalog Management: A Practical Pin, Update, and Removal Guide covers ownership, compatibility, trust boundaries, and lifecycle decisions for shared catalogs.
A worked example: customer refund automation
Suppose you sell a subscription product and want an agent to investigate refund requests.
Weak architecture
Give the agent one broad MCP tool named manage_refunds, backed by a general admin token. Put the refund policy in a skill.
This sounds flexible, but the agent now has broad technical authority while the policy remains advisory. The system cannot cleanly distinguish investigation from execution or prove that the threshold was checked.
Better decomposition
Use ordinary application code for policy and execution:
inspect_refund_eligibility(order, customer, policy_version)
create_refund(order_id, amount, reason, idempotency_key)
Then:
- expose narrow MCP tools if external clients need standardized discovery and invocation;
- use a skill to teach the agent when to inspect, when to ask for approval, and how to present the outcome;
- keep authorization in the application service, using the customer’s delegated authority rather than an admin-wide credential;
- record the policy version, approval, refund result, and idempotency key.
This decomposition does not force every internal function to become an MCP server. It also keeps the refund rule enforceable if you later replace the model or move between agent clients.
Maintenance rules that prevent unnecessary infrastructure
Adopt these guardrails before adding an MCP server:
- Name the consumer. If there is no second client, external distribution, or independent operator, document why MCP is preferable to an internal service call.
- Define ownership. Someone must monitor failures, rotate credentials, review tool schemas, and handle upstream API changes.
- Version the contract. Additive changes are safer than silently changing input semantics.
- Keep policies server-side. Prompts and skills may guide behavior; the service must enforce authorization and business rules.
- Design for observability. Record enough context to distinguish model selection errors, bad arguments, authorization failures, and upstream outages.
- Avoid a universal shell tool. Expose constrained, named operations instead of arbitrary command execution wherever possible.
- Reconsider wrappers. If an MCP layer adds no discovery, isolation, or interoperability benefit, remove it and call the simpler service directly.
A founder should be able to answer, “What breaks for customers if we delete this layer?” If the answer is “nothing except development convenience,” the layer may still be useful—but it should not be defended as mission-critical infrastructure.
Frequently asked questions
Is MCP better than an API?
No. MCP is a protocol for agent clients to discover and interact with capabilities. An API is an interface for invoking operations. An MCP server commonly wraps one or more APIs, but MCP adds client-server capability discovery, structured interaction, and transport semantics. Use MCP when those benefits matter to your architecture.
When should I use MCP instead of a skill?
Use MCP when the agent needs a callable operational capability, especially one shared across clients or hosted separately. Use a skill when the missing asset is primarily procedural knowledge that can travel with the agent.
Can a skill enforce authorization?
Not reliably by itself. A skill can request that the agent follow a rule, but the underlying service must enforce permissions. Treat authorization as code and policy in the execution path.
Should an agent call MCP directly or go through application code?
For core business operations, call an application service that enforces policy. Expose that service through MCP when external agent interoperability justifies the boundary. The model should not become the only layer between a request and a consequential action.
Is an MCP server always remote?
No. MCP supports different transports, including local stdio and HTTP-based deployments. Authorization guidance differs: HTTP deployments can use the MCP OAuth model, while stdio servers normally obtain credentials from the environment.
The founder’s default architecture
Start with a small, explicit capability layer:
- Put deterministic business rules in ordinary application code.
- Put reusable procedures and checklists in agent skills.
- Call existing operational tools through controlled CLIs when they are already the best interface.
- Add MCP when standardized discovery and invocation across clients remove real integration work.
- Enforce authorization, tenant isolation, approval rules, and audit records in the service that performs the action.
That sequence may look conservative. It is deliberate. Agent products become expensive when every integration becomes a separately operated service, every instruction becomes an ungoverned capability, and every credential becomes a broad promise. Build the smallest boundary that supports the customer workflow, then expand only when a concrete requirement justifies the next layer.







