SoloTrillion.ai
Briefings
Aug 10, 2026Field Guide

MCP Server Audit: Security Before Agent Access

A dark glassmorphism security operations dashboard with connected MCP-style server nodes, permission checks, and a shield lock.

MCP makes an AI agent useful in a new way: it can reach beyond its chat window and work with files, databases, SaaS services, or internal tools. That is also the moment an agent stops being a clever interface and starts touching a real operating environment.

For a first MCP experiment, resist the urge to connect everything. Pick one narrow, read-only capability; inspect every tool it exposes; and test it where an incorrect action costs nothing. The protocol is designed to connect LLM applications with external tools and data, but its own specification makes clear that consent, control, and tool safety sit with implementers and operators, not with the protocol alone. MCP specification

MCP, Plainly

Anthropic introduced the Model Context Protocol in November 2024 as an open standard for connecting AI applications with systems where data lives. In MCP’s client-server model, a host application connects through a client to a server that can expose resources, prompts, and tools. Resources provide context or data; prompts provide reusable templates; tools are functions an AI model may invoke. Anthropic’s announcement

That last category changes the stakes. A weather lookup and a production database write are both “tools” in a technical sense, but they do not deserve the same permissions, review, or recovery plan. Treat an MCP server as a trust boundary with its own identity, permissions, logs, and stop conditions.

Start With One Safe Job

Your first MCP project should be boring on purpose. Connect a single server that performs one read-only task against non-sensitive or disposable data. Do not begin with email, payments, production databases, customer records, shell access, or a server that can change files.

Use this first-pass sequence:

  1. Define one outcome – State a narrow result, such as reading a test dataset or retrieving a non-sensitive reference file.
  2. Inventory capabilities – List every tool, resource, and prompt the server exposes before authorizing it in a client.
  3. Review access – Confirm what credentials the server receives, what scopes they grant, and how they can be revoked.
  4. Test outside production – Use a sandbox, test account, or local fixture before exposing any business system.
  5. Exercise failure paths – Send malformed inputs, cancel a request, simulate a dependency error, and confirm the server returns a clear failure rather than a silent hang.
  6. Keep an audit trail – Record server version, source repository or publisher, granted scopes, test date, observed tools, and rollback method.

The official MCP Inspector provides an interactive way to inspect tools, resources, prompts, schemas, results, and logs. It is a useful first stop for testing a server before an agent receives wider authority. MCP Inspector

Audit Three Things

Reliability

An agent can retry, branch, or change course based on a tool response. A server that drops requests or produces vague errors can turn one failure into a loop of increasingly bad decisions. Test normal inputs, malformed inputs, missing credentials, concurrent requests, downstream timeouts, and cancellation.

Check What to verify Safe result
Capability negotiation Client and server agree on supported features. Unsupported features fail clearly.
Input errors Invalid or incomplete parameters reach the server. Server rejects them with an actionable error.
Dependency failure A downstream API or database is unavailable. Tool fails closed without repeating destructive work.
Retry behavior Client or orchestration layer retries a failed request. Attempts are bounded and idempotency is understood.
Recovery A request is cancelled or interrupted. Server leaves no ambiguous partial action.

Latency

An agent workflow can call several tools before it responds. A slow call therefore taxes more than patience; it can trigger timeouts, retries, and duplicate actions. Measure each tool separately and capture p50, p95, and p99 latency under representative load. Do not adopt generic millisecond targets as universal rules. Set budgets from what the user-facing workflow can tolerate, then make server and client timeouts compatible with that budget.

Log request IDs, tool names, outcomes, elapsed time, and the downstream dependency involved. MCP’s debugging guidance specifically recommends structured logging, request IDs, error patterns, timing, and resource monitoring. MCP debugging guidance

Security

MCP’s security documentation identifies several implementation-level risks, including confused-deputy authorization failures, token passthrough, server-side request forgery, session hijacking, and compromised local servers. Those risks do not make every MCP server unsafe. They do mean that installing a server is a security decision, not a browser-extension choice. MCP security best practices

Start with these controls:

MCP’s authorization materials describe OAuth 2.1-oriented flows for protected servers. Its security guidance explicitly prohibits token passthrough: a server must not accept a token that was not issued for that server and blindly forward it to another API. MCP authorization guide

A First Audit Card

Before a new server receives access, create a compact record like this. It forces questions that a glowing installation screen will skip.

Field Record before enabling
Server identity Publisher, repository, package version, and installation method.
Client and transport Host application, local or remote connection, and exact endpoint or command.
Capabilities Every resource, prompt, and tool discovered during inspection.
Credential scope Account, API scopes, expiration, rotation path, and revocation owner.
Action class Read-only, internal write, external communication, financial, destructive, or production.
Approval rule What may run automatically and what must stop for review.
Failure behavior Timeout, retry limit, idempotency expectation, and rollback or containment plan.
Evidence Inspector screenshots or logs, test results, and date of review.

This is deliberately lightweight. It is still enough to reveal whether a tool has silently acquired broader access than its task requires.

Prompts for Operators

Use prompts to extract evidence, not to grant permission by implication.

Inspect this MCP server without invoking any write, delete, messaging, payment,
or shell-execution tools. Return every exposed resource, prompt, and tool;
its input schema; required credentials; and whether each operation is read-only
or can change an external system. Flag unclear permissions. Do not install,
authorize, or call a tool until I approve the inventory.
Create a test plan for this MCP server in a sandbox. Include one valid request,
one malformed request, one missing-credential request, one timeout or cancellation
case, and one downstream-failure case. For every test, define the expected safe
result and evidence to capture. Do not contact a live customer or alter production data.
Review this server’s proposed permissions against its stated task. Recommend the
smallest credential scope and identify every tool that should require explicit human
approval. Separate verified facts from assumptions and cite the server documentation.

What To Avoid

Operator Verdict

Update. MCP is worth learning because it gives agents a practical way to work with real systems. Start with a narrow server and a controlled test, not a master key. If you cannot name its publisher, capabilities, credentials, approval rule, and rollback path, it is not ready for your workflow.

Germán Huertas provides an independent overview of MCP architecture, practical uses, and security considerations. It is an orientation, not a substitute for inspecting a specific server’s permissions and behavior.

Operator Series To Follow

This introduction sets up a practical Solo Trillion series for operators who have not yet touched MCP:

  1. First local server – Connect one read-only local server, inspect it, and remove it cleanly.
  2. Permission map – Scope OAuth and API credentials so one integration cannot become an estate-wide key.
  3. Safe tool design – Build a narrow server with input validation, bounded parameters, and explicit write approvals.
  4. Inspector workflow – Test schemas, error paths, cancellations, and capability negotiation before a client uses a server.
  5. Production controls – Add logging, tracing, timeout budgets, retry limits, and an incident runbook.
  6. Server review rubric – Evaluate an MCP server’s publisher, supply chain, permissions, data handling, and exit plan before installation.

Resources