caesar_search and caesar_read. That keeps its schema cost bounded. The broader MCP vs CLI tradeoff still matters when an agent session loads many MCP servers: tool schemas compete with task context, while CLI access is more progressive — the agent sees a short instruction, runs a command, and only then receives output.
Quick answer
| Choose | When | Why |
|---|---|---|
| CLI | The agent has shell access, can write files, or runs in CI | Lowest context overhead, explicit exit codes, --json, and -o file capture for large outputs |
| MCP | The agent runs in a chat or IDE client with remote tool support | No local binary, discoverable tools, structured calls, and centralized auth |
| Both | The agent can use tools and shell commands | MCP gives easy interactive access; CLI handles scripts, artifacts, and repeatable automation |
What changes for the agent
CLI
The agent runs
caesar-search, reads stdout/stderr, checks exit codes, and can save JSON to files with -o.MCP
The client connects to Caesar’s remote server and exposes
caesar_search and caesar_read as structured tools.Use the CLI when
- The agent can run shell commands.
- You want a lean prompt: a short skill or instruction can teach the command without loading tool schemas into every turn.
- You want deterministic scripting behavior: exit codes, stderr error envelopes, and
--jsonoutput. - Large search results should be written to a file instead of pasted into the chat context.
- The workflow is part of CI, a local script, or a repeatable terminal task.
- You want the same commands a human can run and debug.
- You want to restrict the agent’s tool surface by documenting only the commands it should use.
Install the CLI
Install
caesar-search with Homebrew, npm, or the standalone installer.CLI usage
Search, read, feedback, JSON output, and exit codes.
Scripting and CI
Use
caesar-search in scripts, schedulers, and CI pipelines.Use MCP when
- The agent client already supports remote MCP tools.
- You want a no-binary setup for a chat or IDE assistant.
- The client should discover the available Caesar tools instead of being prompted with shell commands.
- Auth should live in the MCP client configuration.
- The workflow is interactive and only needs search and read.
- The agent does not have a shell, or shell access is intentionally disabled.
caesar_search and caesar_read. Feedback is REST, CLI, and SDK only.
Remote MCP server
Connect any MCP client to Caesar’s hosted streamable-HTTP server.
Use both when
Many agent setups benefit from both surfaces:- MCP for quick interactive search and read inside the client.
- CLI for scripted runs, saved JSON artifacts, and commands the agent can replay outside the chat.
- Skills for coding agents that need durable instructions about when to choose each path.
Keep the tool surface lean
For shell-capable agents, a small instruction file plus the CLI is often enough:Decision checklist
| Question | Lean CLI | Lean MCP |
|---|---|---|
| Does the agent have shell access? | yes | no |
Does the workflow need -o files or CI artifacts? | yes | no |
| Does the client already manage MCP servers? | optional | yes |
| Does the workflow need only search and read? | either | yes |
| Does it need CLI-style automation, exit codes, or raw API escape hatches? | yes | no |
| Is the session already loaded with many MCP servers? | yes | no |
| Do you need dynamic tool discovery? | no | yes |