Vibe code audit

MCP Server Security Audit

An MCP server lets an AI model call tools that read and change your data. We test what those tools can be talked into: replayed confirmations, changes to money without a human approval, untrusted text reaching the model, and limits that break under parallel requests.

See the audit
  • Read-only access. Revoke it any time.
  • We read source, never your production or customer data.

In detail

What are the security risks of an MCP server?

MCP, the Model Context Protocol, is a standard way to give an AI model tools: read a record, cancel a subscription, send a payment. The risk is that the model decides when to call them. Untrusted text can steer it, a confirmation can be reused, and a write can happen with no human approval at all.

The same risks apply to any AI assistant with tools, whether it speaks MCP or a custom tool interface. We test the layer between the model and your data, where the checks have to live.

MCP security checklist: what do we test?

We test every tool the model can call against seven questions. Does the tool check who the user is? Is each confirmation used once? Does a human approve changes to money? Does untrusted text reach the model as instructions? Do usage limits hold under parallel requests? Are consent and plan checked on every path? Are its keys scoped and rotated?

CheckWhat we testWhat goes wrong when it is missed
Tool permissionsEach tool checks the signed-in user, their role and their plan before it runs.A free-plan user reaches a paid AI feature through a side endpoint.
One-time confirmationsEach confirmation is consumed once and returns the original result on retry.One approval produces several cancellations or transactions.
Human approvalChanges to money and cancellations need an approval event outside the model.The model changes a price because a message told it to.
Prompt injectionText from users, files, names and history kept apart from trusted instructions.A category name a user typed ends up inside the system prompt.
Usage and spend limitsLimits reserved atomically, so parallel requests cannot pass them.AI provider costs run past the plan limit.
ConsentAI consent enforced before every model call, on every path.A user who opted out still has their data sent to the model.
Secrets and token permissionsWhere API keys live, which scopes each token has, how they are rotated.A leaked token with broad scopes stays valid, because nobody knows how to rotate it.

Prompt injection means hiding instructions inside text the model reads, such as a file name or an email, so the model follows them instead of yours.

Frequently asked questions

They can be. An MCP server gives the model tools that act on real data, and the model decides when to call them. The risk depends on the checks inside each tool: who the user is, whether a human approved the change, and whether a confirmation can be used twice.

A scanner checks known patterns in code and configuration. It does not know which of your tools move money or which changes need a human approval. We test the behaviour of your tools with synthetic users, including replay and parallel requests, and explain each finding to you in a debrief call.

MCP security is the set of controls around the tools an AI model can call through the Model Context Protocol. It covers who may call each tool, what each tool may change, which actions need a human approval, how untrusted text is kept apart from instructions, and how usage limits are enforced.

Does your AI assistant change real data?

Book a 30-minute call. Tell us which tools the model can call, and we will tell you what the audit tests.

Prefer to talk?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

MCP Security Audit for AI-Built Apps | Valletta