MCP Alternatives: CLI, Skills, API, and Code Mode

Vladimir Lomtev•
MCP Alternatives: CLI, Skills, API, and Code Mode

A notable alternative to MCP in local AI agents for development is CLI + Skills: the agent launches a command-line program, and the skill explains how to complete the task. This direction is confirmed by current Playwright and Salesforce materials. For your own server-side automation, you can use a direct API or SDK. Code Mode changes how tools are accessed, but it often still keeps MCP inside the system.

There is no universal winner here. The primary sources reviewed do not include comparable statistics that would allow us to say that most companies have already moved from MCP to another mechanism. So below is an analysis of recurring practical approaches and specific changes, not a ranking by market share.

This article is intended for implementation leaders, developers, and integrators choosing how to connect an AI agent to business systems. Sources were checked November 9, 2026. CLI and MCP performance was not measured for this article; the commands are presented as documented examples, not an experiment run by the author. Responsible publisher — Vladimir Lomtev AI Studio.

Contents

What is really changing in integration approaches

MCP, or Model Context Protocol, sets the standard for communication between an agent client and a tool server. The server describes the available operations and the structure of their arguments, and the client discovers and calls the needed ones. This is described in the MCP Tools specification.

In the simple version, the agent gets a set of tools such as “find a document,” “read a task,” and “update a record.” This kind of integration is convenient when different compatible clients need to connect to one service. But describing a large set of operations, intermediate responses, and extra discovery steps can make work more complicated.

That is why different solutions appear. Some teams give the agent a ready-made CLI program. Others package the workflow into a skill. Still others let the agent write a small code snippet that calls the API directly and processes the result. Sometimes the MCP server really is removed; sometimes only the model-facing interface changes while the protocol remains behind it.

You cannot assume that every MCP client always loads all schemas on every request, or that CLI has no context cost. The result depends on the client, tool discovery, output format, and the scenario. Long command output can also overflow the context. The choice should be between specific implementations for the same task, not between technology names.

Which transitions are confirmed by primary sources

Playwright: CLI + Skills for coding agents

In the Microsoft Playwright CLI repository the developers explicitly recommend CLI for coding agents and explain the choice by the lower context load compared with loading large tool descriptions and detailed page trees. This is the product authors’ position for a specific scenario, not a proven result for every AI agent.

At the same time, Playwright MCP continues to exist. In the official MCP vs. CLI comparison the connection methods are separated by task. The example shows a move to an alternative entry point into the same browser automation system, not a rejection of all MCP integrations.

Salesforce: end of support for a specific local server

Here there is an actual product lifecycle change. In the official Salesforce notice the end of support is stated for the local Salesforce DX MCP server, the package @salesforce/mcp, starting November 2, 2026 and directing users to forcedotcom/sf-skills . The repository is marked archived; the npm package metadata includes a warning about deprecated status.

The scope of this message is the local DX server for Salesforce development. You cannot conclude from it that Salesforce has ended all MCP work or that the protocol is unsuitable for CRM. Moreover, the current sf-skills repository describes plugins that can include not only skills but also MCP servers. The move to skills does not necessarily mean MCP disappears from the entire stack.

Parallel: multiple interfaces to one service

The Parallel CLI documentation offers a command line for searching and processing web data. At the same time, November 5, 2026 the company introduced Parallel MCP 2.0 . This is a useful counterpoint to the claim that “MCP has already been replaced”: the vendor is developing several access methods designed for different agent environments.

The overall takeaway from these examples is a growing choice at the interface level. In a local agent with terminal access, the CLI + Skills path is offered; in clients without shell access or when connecting to external services in a universal way, MCP still makes sense. The reviewed documents do not measure how often these solutions are used across all companies.

CLI + Skills: a practical alternative for a local agent

CLI is a regular command-line program. For example, GitHub CLI lets you get issues and pull requests through commands gh. Skill is a package of instructions and supporting materials that explains to the agent when and how to use a tool.

According to the Agent Skills format description , a skill includes SKILL.md and may also include scripts, reference materials, and templates. An agent that supports this mechanism first reviews the short metadata and loads the details as needed. This helps convey the workflow, but by itself it does not create access to the service or grant permissions.

Employee task
      ↓
Skill: workflow, constraints, result format
      ↓
CLI program → business system API

Suppose you need to prepare a short list of open issues in a repository. In the GitHub CLI documentation there is structured JSON output. Suggested example for reading a public repository:

gh issue list \
  --repo microsoft/playwright \
  --state open \
  --limit 10 \
  --json number,title,url > issues.json

The command assumes that gh is installed and configured. It limits the output to ten issues and saves the data to a file; this is not an example of token savings measurement. A skill can additionally explain how to process the file, which fields to include in the summary, and when to ask for confirmation before making changes.

This option works if the agent can run commands, the program is available in its environment, and the service authentication is already set up. For a SaaS chat system where you can’t install programs or provide a shell, this substitute may not be available. In that case, a ready-made remote MCP connector can be more practical.

Direct API, SDK, and custom functions

For internal company automation, a separate MCP layer may be unnecessary. If one controlled backend needs to receive requests from one system, a developer can write a function that calls its API through an SDK or an HTTP client. The agent gets a narrow operation like “prepare a summary of department requests,” rather than universal access to all service methods.

Here, API is the software contract of the working system, SDK is the library used to access it. They solve access to the service itself. How the function is registered in the agent app is a separate implementation detail. You can use the built-in tool mechanism of the chosen framework while keeping argument validation and permission checks on the server.

This is an architectural recommendation, not a statement about SDK market share. The advantage in a controlled product is the ability to create a short, task-specific interface without maintaining an unnecessary protocol layer. The limitation is portability: if multiple different agent clients need to call this function, you’ll have to maintain several adapters or add a shared MCP interface again.

For example, in your own invoice approval automation, it is better to first design separate operations for reading, drafting, and confirming. Neither a direct API nor MCP should let the model expand its own permissions. The transport protocol does not replace server-side action checks.

Code Mode: fewer separate calls, but MCP may remain

In normal operation, the model can call a tool in sequence, read the result, make the next call, and read the response again. In Code Mode, the agent writes a program: it performs the required requests, filters the data, and returns a compact result to the model.

In Cloudflare’s February 20, 2026 material this approach is implemented through capability discovery and code execution. An important detail: this also refers to a way of organizing the MCP server. So Code Mode cannot automatically be classified as technology that replaces MCP.

A similar idea is described in Anthropic’s publication on code execution with MCP, dated November 4, 2025. This is an earlier engineering piece, not a fresh November 2026 announcement. It shows how code can call MCP tools and process intermediate data outside the model’s main context.

A conditional business example: fetch records, keep the overdue ones, and return a short summary. The model does not have to read the entire intermediate array if the filtering is handled by code. But this is a mechanism description, not a test we ran: the gain depends on data volume, number of calls, runtime environment, and the required output.

Code Mode makes sense when you need loops, combining multiple sources, or transforming large responses. The tradeoff is execution infrastructure: code isolation, network and resource limits, access to secrets, and control over allowed actions. The ability to write a script should not turn into unrestricted server access.

How Skills, MCP, CLI, and A2A differ

These concepts are often grouped together, even though they belong to different layers.

Approach What problem it solves Does it replace MCP
CLI Gives the agent commands for an existing program Can replace a specific MCP entry if a shell is available
Skills Transfers knowledge and the sequence for completing a task Does not replace the transport by itself; may use CLI, API, or MCP
Direct API / SDK Gives the application access to the working service Makes it possible to do without MCP inside a controlled application
Code Mode Moves call chains and data processing into code Sometimes works on top of MCP
A2A Organizes interaction between independent agents Solves a different problem and can coexist with MCP
MCP Standardizes how a client connects to tools Remains the common interface for compatible clients

In the A2A documentation protocols are described as complementary. One agent can pass a task to another through A2A, and that agent can then use MCP tools internally. Replacing one word with another does not eliminate the need to connect to a CRM or a document database.

The practical question is: which layer is causing the problem right now? If the agent doesn’t know the workflow, you need a skill. If it is overloading the context with individual results, look into code-based processing. If you need to connect a ready-made SaaS product to multiple clients, first evaluate the existing MCP option. If the integration is meant for one application, compare it with a direct function over the API.

How to choose the right option for a company task

You can make the decision using the same criteria: does the agent have a shell, how many clients will use the integration, where are permissions checked, what does the output look like, and who maintains the connection.

Situation Where to start What to check additionally
The agent works in a local project, and the service has a mature CLI CLI + a short skill Installation, authentication, JSON output, command limits
Employees use different compatible agent clients An MCP interface to the service Client capabilities, user login, available operations
One internal backend runs a limited process Direct API / SDK and task-specific functions Validation, permissions, duplicate record handling
The agent processes large responses in multiple steps Code Mode or a controlled script Isolation, filtering, final format, and network
Several independent agents exchange tasks A2A for interaction between them The ways each agent connects to data and tools

For a specific Playwright example, the CLI installation and skill commands are recommended:

npm install -g @playwright/cli@latest
playwright-cli --help
playwright-cli install --skills

This is the sequence from the official Playwright CLI skills documentation and the project repository. Run it in a controlled environment; installing the CLI does not automatically configure access to corporate sites or confirm that your scenarios work. For production deployment, pin an appropriate version after validation instead of relying on latest.

If MCP is already in use, start by selecting one specific operation to compare. Keep the task, data, model, and required output the same. Compare correctness, number of iterations, latency, amount of context transferred, and maintenance complexity. If the new setup gives different access or a different result, it cannot be treated as an equivalent replacement just because it uses fewer tokens.

Model access and the way tools are connected are also independent. A server-side gateway with keys does not determine whether an agent will reach business systems through CLI or MCP. This server layer is covered separately in the article on enterprise AI access.

Why You Shouldn’t Mass-Delete MCP Servers

First separate the protocol issue from the quality of a specific server. Poor operation names, overly verbose responses, or overly broad access can also happen in CLI. Sometimes it is enough to narrow the set of operations and the output format; the topic of tool design is covered in the breakdown of MCP tool counts.

Keep MCP where you need a shared contract for clients, there is a supported server, and the user access model is clear. Use CLI + Skills for a local workstation if that path is genuinely simpler and available to the agent. Direct functions are a good fit for controlled products; code handling is better for complex action chains.

In all cases, permissions should be limited by the runtime system. A Skill with the phrase “do not delete anything” is not the same as an operation ban. A tool’s JSON schema also does not prove safety. Commands, code, and connected servers require their own restrictions, regardless of the interface name chosen.

How Vladimir Lomtev’s AI Studio Helps You Choose an Integration

Vladimir Lomtev’s AI Studio works on integrating AI agents with business systems and automating workflows. For this kind of task, the work may come down to three actions: map the agent’s current path to the data, choose the right interface for a specific operation, and build result validation with the required access rights.

The first step is to choose one process, its data sources, current constraints, and a clear result. For example, preparing a summary of support requests without changing the source records. After that, you can compare an existing MCP server, CLI with a skill, and a custom function while keeping the same task. Discuss the task.

Bottom line: for local agents, explore CLI + Skills; for integrations, choose based on the task

In the current source materials reviewed here, CLI + Skills is a recurring practical alternative for local coding agents. That is supported by specific Playwright decisions and changes in local Salesforce DX tooling. However, the evidence here is not enough to conclude that most companies are globally replacing MCP.

Internal applications are a good fit for direct APIs and SDKs; complex chains are better handled with code processing. Code Mode and A2A can coexist with MCP. So it is more useful to choose the right interface for your task and environment than to rework the entire integration just because of another claim about the “death of MCP”.

Request an audit

Share your contact details and we will follow up.

← All articles

Comments (0)

Loading comments…

Leave a comment
No registration required

Book a strategy call
for agentic operations

Tell us which workflow you want to improve. We will map feasibility, risks, and the fastest MVP path.

By submitting, you agree to our privacy policy

Contacts

Global Operations

Serving U.S. clients remotely
with private cloud and on-prem options

Strategy calls by request

We respond after reviewing your workflow context.

info@agentsunrise.pro

For partnership inquiries

Have a proposal?

Write to us in messengers

© 2026 AgentSunrise