Yeda AI Tips · #021

Bash Or MCP

Every new integration doesn't need a server. If your agent can already open a terminal and run a command-line tool, wiring up an MCP server for the same job is extra infrastructure for no extra capability. The question worth asking before you build a server isn't "could MCP do this" — it's "does the agent already have a simpler way in."

The problem: reaching for a server by default

MCP (Model Context Protocol) servers give an agent structured, documented access to a system — useful when that system has no other way in. But it's easy to treat "wire up an MCP server" as the default move for any integration, even when the agent already has a perfectly good path through bash.

Asking an agent to "create a test issue in this URL" doesn't need a server at all if the GitHub CLI is already installed and authenticated on the machine — the agent just runs gh issue create. No setup, no server to maintain, no protocol layer between the agent and the tool it already knows how to use.

The decision rule

It comes down to one question: is this a common tool the agent already knows, or an unfamiliar system it has no way to discover?

Example

gh issue create — the agent runs the existing, authenticated GitHub CLI. No setup. Compare that to an internal API with no public documentation: an MCP server describes what operations exist and how to call them, something the agent has no other way to learn.

How to run it

Before reaching for a server, ask two questions in order:

  1. Is this a common platform (GitHub, Jira, or similar) that already has a CLI? If yes, let the agent use bash. It likely already knows the commands, and you save yourself a server to build and maintain.
  2. Is this internal, proprietary, or otherwise undocumented anywhere the model could have learned it? If yes, that's a real case for MCP — the server is what turns an opaque internal system into something the agent can actually operate.

The underlying factor is how simple the operation is. Simple, well-known operations on well-known platforms don't need a protocol layer in between. Complex or unfamiliar systems benefit from one because there's no other way for the agent to learn the shape of the API.

Power tricks

Building an AI feature? Yeda AI designs, audits, and ships production LLM systems.

Talk to us · Read the blog