What drives MCP server penetration testing cost before you request a quote
If a compliance framework, a customer security review, a launch or an insurer has asked for an MCP server test, you need a budget and a timeline before anyone can give you either. No public rate card for MCP server penetration testing exists in the primary sources reviewed, so cost follows from a written scope and not from a list price. The most useful thing you can do before requesting a quote is to decide which parts of the server and its surroundings the test must cover, and to write that down. The largest single driver is whether the server runs locally on a user's machine or remotely behind OAuth. The MCP security best practices distinguish these two setups, and they need different test environments: a local server means reviewing how it is installed, what it can reach on the host and how a client presents its one-click configuration, while a remote server means testing the authorization flow, session handling and the server's own network exposure. A server that supports both needs both sets of work.
Authorization testing is the next driver. Effort rises when the server acts as an OAuth proxy to a third-party API, because the confused deputy problem applies in that case and the tester has to check how consent, client registration and token handling behave across both systems. Token passthrough is also a required check: the MCP authorization specification forbids accepting tokens that were not explicitly issued for that MCP server. Tool count and permissions change effort in a similar way. The OWASP MCP Security Cheat Sheet advises least privilege per server and per tool, so each tool, its scopes and the backend permissions behind it add review work. Third-party dependencies add supply chain review, since the cheat sheet warns against installing MCP servers from unverified public registries without review. Ask the provider to state how many tools, scopes, connected backends and third-party packages are in scope, and whether the test environment is a staging copy or a production-like instance.
Which scope decisions change the size of an MCP server test
Most of the effort in an MCP server test is set before testing starts, by how the server is deployed, what it connects to, and how many capabilities it exposes. Each decision below changes the test setup, the number of test cases and the review work, so buyers should settle them in writing before asking for a quote.
Local or remote deployment
A local server runs on the user's machine, so the test must cover how it is installed, launched and sandboxed, and how the client presents configuration to the user. A remote server adds OAuth flows, hosted infrastructure and network exposure. The MCP security guidance treats these as different setups, so a mixed estate needs both test tracks. Confirm in writing which deployment models are in scope and how many of each the tester will examine.
MCP security practicesOAuth proxy to a third-party API
When the MCP server acts as an OAuth proxy to a third-party API, the tester must check the consent flow, token handling and the confused deputy risk between the MCP client, the server and the upstream provider. This case usually adds the most authorization test cases. Ask the provider whether authorization testing is included, and whether the upstream provider's own consent behavior is in scope or only the server's handling of it.
MCP security practicesNumber of tools and their permissions
Each tool exposed by the server is a separate capability, and each one carries its own permissions, inputs and side effects. The OWASP guidance calls for least privilege per server and per tool, so a server with many write-capable tools needs more test cases than one with a few read-only tools. Ask for a tool inventory with permissions, data reached and whether any tool performs actions without confirmation before quoting.
OWASP MCP cheat sheetClient applications in scope
The test covers the server alone or the server together with the clients that connect to it, such as coding assistants, desktop chat applications or custom agents. Client behavior, including how tool descriptions are displayed and how approval prompts are shown, can change findings and retest work. Confirm which clients, versions and configurations are included, and who supplies test accounts and environments for each.
MCP security practicesThird-party and registry-sourced packages
If the server depends on third-party MCP servers or packages installed from public registries, the scope may need supply chain review of those components, including provenance, version pinning and the code that runs at install time. The OWASP cheat sheet warns against installing servers from unverified registries without review. Ask the provider whether dependency review is priced separately and whether the tester will read the source code of each third-party component.
OWASP MCP cheat sheetRetest and environment access
Effort also depends on how many environments the tester needs, whether a staging copy of the server exists, and whether a retest is included after fixes. A retest of authorization findings usually repeats the same flow tests, so the number of findings and the fix cycle both matter. Ask whether the quote covers one retest round, how test credentials are issued and whether the tester can run against a non-production instance.
What drives MCP server penetration testing cost and duration
This table compares the scope factors that change the effort of an MCP server test, explains why each one moves cost or duration, and lists what to ask a provider to state in a quote. No public price list exists for this work, so read each row as a question to answer in writing before you compare offers.
| Driver | Why it changes effort and which way cost moves | What to ask the provider to state in the quote |
|---|---|---|
| Deployment model (local or remote) | Local servers run on a user's machine and need sandboxing, command approval and client configuration checks. Remote servers using OAuth need authorization and session testing. Each setup needs a different test environment, so a server offering both adds work. | Which deployment models are in scope, whether local installs will be tested on a representative endpoint, and which client applications will be exercised. |
| Authorization design (OAuth proxy to a third-party API or not) | When the server acts as an OAuth proxy to a third-party API, the confused deputy problem applies and testers must check consent, client registration and authorization URL handling. This typically raises cost compared with a server that validates its own tokens only. | Whether the server proxies authorization to an upstream provider, which identity providers and grant flows are included, and whether upstream consent behavior is tested or assumed. |
| Tool count and per-tool permissions | The OWASP MCP Security Cheat Sheet advises least privilege per server and per tool, so each tool's permissions and inputs are a separate test surface. More tools with write or administrative actions increase test cases and review time. | The number of tools, which are read-only and which can write, change or delete data, and whether tool descriptions and schemas are reviewed as part of the test. |
| Number of roles and token types | Each role, scope and token type changes what must be checked for privilege escalation, scope minimization and token misuse. Token passthrough is forbidden by the MCP authorization specification, so each accepted token type needs audience and issuer checks. | How many roles, user groups and token types exist, which are in scope for testing, and whether test accounts for each role will be supplied or created by the tester. |
| Environments (staging, production, multi-tenant) | Testing in production or in a multi-tenant deployment adds safety controls, data isolation checks and coordination with the client. Staging parity with production affects how far results transfer, which can require additional validation work. | Which environments will be tested, whether production testing is allowed and under what limits, how tenant isolation is verified, and what the provider needs from the client before testing starts. |
| Third-party and registry dependencies | The OWASP cheat sheet warns against installing MCP servers from unverified public registries without review. Each third-party server, package or dependency added to the scope brings supply chain review, version pinning checks and dependency analysis. | Which third-party servers and packages are in scope, where they were obtained, whether a software composition or supply chain review is included, and how many dependencies are reviewed. |
| Test depth and retest | A baseline test that checks defined categories costs less than an objective-based test that chains issues across tools and identities. Retest effort depends on how many findings are fixed and whether fixes change authorization or tool code. | The test depth and method, the number of retest rounds included, how retest scope is defined, and whether the findings report maps each issue to MCP security guidance and to affected tools. |
How an MCP server penetration test runs from scoping to retest
The sequence turns a loosely described MCP server into a written scope, a tested set of authorization and tool controls, and a findings report with a retest. Each phase has a defined output, and the phases that take longest are usually the ones where the buyer's inventory is incomplete.
Agree scope and rules of engagement
The buyer and the provider agree in writing which MCP servers, clients, environments and accounts are in scope, what testing is permitted, which hours and tenants are off limits, and who receives urgent findings. The provider drafts the scope and the buyer confirms it, usually with its security and platform owners. The step is complete when the signed scope names each server, its deployment model and the test accounts to be used. Duration depends on how many approval parties are involved and how quickly the buyer answers questions.
Build the asset and tool inventory
The buyer supplies the server list, transport type, hosting location, the tools each server exposes with their descriptions and input schemas, and the upstream APIs and data stores each tool reaches. The provider checks this against the running system and records any undocumented tools. The output is an inventory that fixes the test surface. Effort rises with the number of servers, the number of tools per server and how far the inventory differs from what is actually deployed.
Review authorization and session handling
For remote servers that use OAuth, the provider reviews how the server validates token audience, whether it accepts tokens issued for other services, how it handles authorization URLs and redirects, and how sessions are created, bound and ended. The MCP security best practices page treats token passthrough as forbidden, so this review checks for it directly. If the server acts as an OAuth proxy to a third-party API, the confused deputy analysis adds work. The output is a set of tested authorization flows with evidence for each result.
Review tool permissions and scope design
The provider maps each tool to the permissions it uses and tests whether those permissions match what the tool needs. The OWASP MCP Security Cheat Sheet advises least privilege per server and per tool, so over-broad scopes and shared credentials are a central finding area. The provider also reviews tool descriptions for instructions that could mislead a model or user. The output is a permission matrix with each gap marked. Time grows with the number of tools and the number of distinct backend systems behind them.
Test local components in a controlled environment
Where the scope includes local MCP servers, the provider tests them on an isolated test machine or virtual environment that matches the client's standard build. The MCP guidance expects clients to show the exact command before one-click installation, to require explicit user approval and to run servers sandboxed with minimal default privileges, and the test checks each of these. Testing is run against accounts and data created for the engagement. The output is a record of what each local server could reach. The test takes longer when many client configurations or operating systems are in scope.
Assess supply chain of third-party servers
If the deployment uses third-party MCP servers or packages from public registries, the provider reviews where each one came from, whether it was reviewed before use, and how versions are pinned and updated. The OWASP cheat sheet warns against installing servers from unverified registries without review, so this step can add a supply chain review to the scope. The output is a list of components with their origin, version and review status. This step is often the quickest to expand, so the buyer should decide early whether it is included.
Report findings and run the retest
The provider delivers a findings report that ties each finding to the affected server, tool or flow, its evidence, its severity and a recommended fix, using the NIST SP 800-115 reporting approach as the assessment reference. After the buyer applies fixes, the provider retests the same items and records which are closed, which remain open and which are accepted risks. The engagement is complete when the retest report is issued. The buyer should confirm in the quote whether one retest round is included and how long the provider keeps working files.
How the test setup differs for local, remote and proxy MCP servers
A local MCP server runs on a user's machine, started by a desktop client or a developer tool. The test setup centers on the client and the host rather than a network service. The MCP security best practices distinguish local servers from remote ones for this reason, and the tester needs a representative workstation, a client configured the way your users configure it, and a way to observe what the server can read, write and execute.
- Client configuration and approval flows: Testers check whether one-click installation shows the exact command that will run and requires explicit user approval, as the MCP guidance expects.
- Sandboxing and default privileges: Effort rises when the server can reach the file system, environment variables or the network without restriction, because each permission needs a test case.
- Installation sources: If staff install servers from public registries, the test may add a review of those packages and their dependencies.
- Multi-platform builds: Each operating system and client version you support can add setup and retest time.
- Monitoring the host: Testers need agreed logging on the endpoint to show what the server did during each scenario.
Before quoting, ask the provider how many clients, operating systems and installation paths are in scope, and whether the test uses your managed endpoint image.
A remote MCP server runs as a network service that clients reach over HTTP, typically protected by OAuth. The test setup needs a staging deployment with the same authorization server, token settings and transport as production, plus test identities at each privilege level. Most of the effort sits in the authentication and token boundary, so the work depends heavily on how the authorization server is configured and how many roles it issues.
- Authorization server and token handling: Testers verify that the server accepts only tokens issued for it and does not forward tokens it received from clients, since the specification forbids token passthrough.
- Authorization URL and discovery: Effort grows when the server fetches metadata or redirect targets from client-supplied input, because those paths need server-side request forgery checks.
- Session behavior: Session identifiers, expiry and reuse across users are separate test cases.
- Scope design: The number of scopes and how tools map to them change how many authorization paths must be exercised.
- Test identities: Each role or tenant you want covered needs an account, which should be agreed and provisioned before testing starts.
Ask the provider which authorization server and environment will be used, and whether the quote includes testing of scope mappings for every role.
A proxy MCP server sits between an MCP client and a third-party API, using its own OAuth client registration with that API. This pattern adds a second trust boundary, and the confused deputy problem applies: a client may be able to make the proxy act with the privileges it holds at the upstream service. This setup usually needs test accounts on both sides and an understanding of the upstream authorization behavior, so it typically adds effort on top of a remote server test.
- Consent and client registration: Testers check whether user consent is tied to the specific client and whether the proxy prevents one client from reusing consent granted to another.
- Upstream token handling: The proxy must store and use upstream tokens without exposing them to the MCP client, and this needs tests on storage, refresh and revocation.
- Upstream privilege scope: The more the upstream API allows, the more operations the proxy can perform on a user's behalf, and each high-impact operation needs a scenario.
- Upstream dependencies: Testing may depend on sandbox access or vendor rules at the third-party API, which can add coordination time.
- Redirect and callback validation: Authorization redirects need checks for URL validation and parameter handling.
Ask the provider whether the upstream API is in a sandbox they can use, who owns that relationship, and how upstream rate limits or testing restrictions will be handled.
Which frameworks and customer reviews ask for MCP server testing
This table maps the frameworks and customer review processes that most often trigger an MCP server test to what each one expects and where the evidence usually falls short. Use it to decide which requirement drives your scope, then confirm with your auditor or customer which evidence they accept and whether they require a test by a named firm.
| Requirement or review | What it expects for an MCP server or its AI system | Evidence an assessor or customer usually asks for |
|---|---|---|
| EU AI Act Article 15(5) | High-risk AI systems must be resilient against attempts to exploit vulnerabilities, including data and model poisoning, adversarial examples, model evasion and confidentiality attacks. An MCP server that brings tools or data into a high-risk system falls within the system's resilience case. | Documented resilience testing covering the connected tools and data paths, with findings and fixes tracked. Confirm with counsel whether your system is high-risk and which evidence your notified body or market surveillance reviewer expects. |
| HITRUST AI Security Certification, Agentic AI selectable factor | Added in HITRUST CSF v11.9.0 (September 2026), with a mapping to the OWASP Top 10 for Agentic Applications 2026. Expect controls over agent tool use, identity and privilege, and inter-agent communication, which MCP servers expose directly. | Evidence that tool permissions, OAuth scopes and agent identities were reviewed against the ASI categories. Confirm with your HITRUST assessor whether they accept a third-party penetration test as supporting evidence for this factor. |
| Customer AI security review | Enterprise customers ask how an AI product's tools, connectors and MCP integrations authenticate, what data they can reach and whether those paths were tested. Questionnaires such as the CSA AI-CAIQ are common in these reviews. | A test report summary, a list of tested components, remediation status and a statement on retesting. Confirm whether the customer requires a named firm, a report not older than a set period, or a letter confirming scope. |
| MCP security best practices (protocol version 2025-11-25) | Not a certification, but the baseline reviewers use. It covers token passthrough, confused deputy risk in proxy servers, SSRF in OAuth discovery, session hijacking, local server compromise and scope minimization. | Test results mapped to each best practice area in scope. Reviewers often ask which items were excluded and why, so record exclusions in the scope document. |
| Insurer or contractual security requirements | Cyber insurers and customer contracts may require a penetration test of internet-facing components, which can include a remote MCP server. | A signed scope, the test dates and a findings report. Confirm the required test type, minimum depth and whether the insurer accepts a self-assessment instead. |
What the client prepares to keep the test scope and effort predictable
The fastest way to keep an MCP server test on its quoted scope is to hand the tester a complete tool inventory before scoping starts. For each tool, the client should list what it does, which backend systems it reads or writes, the permissions the server holds for that tool, and whether any tool accepts free-form input that reaches a shell, database or file path. The OWASP MCP Security Cheat Sheet advises least privilege per server and per tool, so the permission list is the basis for judging whether each tool was built to that rule. Test accounts are the second item: one per role the server recognizes, plus one with no role, so the provider can check that each permission boundary holds. Staging or test tenants should mirror production authorization settings, not a simplified copy, because a test on a loosened environment produces findings that do not describe the live system.
Authorization effort depends on what the server sits in front of, so the client should provide written documentation of the authorization server and of every third-party API the MCP server calls. That means the token issuer, the registered client details, the scopes the server requests and the audience each token is meant for. If the server acts as an OAuth proxy to a third-party API, the confused deputy question applies and the provider must trace consent and token handling across both systems. Remote servers and local servers also need different setups, so the client should state which deployment model applies and, for local servers, how users install them and which registries they draw from. Missing documentation is the most common cause of extra days, because the tester must reverse engineer behavior that the team could have described in a page.
Three operational items keep the timeline stable: named contacts with authority to approve out-of-scope actions, a defined escalation route for critical findings, and agreed change windows during which the staging environment may be restarted, reconfigured or rate-limited. Each missing contact adds waiting time when a question arises, and an unagreed change freeze can stop testing mid-engagement, which the provider will usually bill as idle time or a rescoped phase. Before requesting a quote, ask the provider to state which of these items it assumes the client supplies, what it will do if one arrives late, and how a changed tool inventory after scoping is priced. A quote that lists these assumptions in writing is easier to hold to than one that does not.
What you receive and whether it satisfies your auditor or customer
An MCP server test produces several distinct documents, and each serves a different reader. Before you sign, confirm which of these the quote includes, who on your side will accept them, and what acceptance looks like, because the deliverables are a large part of the effort that a quote should price.
Executive summary
A short document for the CISO or CIO that states the overall risk of the MCP server, the most important findings in plain terms, and the decisions the leadership team must make. It should describe the test scope and any scope exclusions in one place, so the reader knows what the result does and does not cover. Confirm the length and whether the summary must be restated in a template your governance board uses.
Technical findings with affected tools
The detailed record for engineering teams, with each finding rated for severity, reproduction conditions described at a defensive level, and the exact tools, endpoints or OAuth flows affected. The number of tools and their permissions directly changes how many findings and how much write-up this section needs. Ask the provider to state the severity scale it uses and whether it matches your own risk register.
Mapping to MCP guidance and OWASP categories
Each finding is tied to the relevant control area in the MCP security best practices, such as token passthrough, confused deputy, or scope minimization, and to the matching OWASP category, such as ASI02 Tool Misuse or ASI03 Identity and Privilege Abuse. Auditors and customer security teams use this mapping to check coverage against a known reference rather than a vendor's own list. Confirm which reference set your customer or framework expects.
MCP security best practicesRemediation guidance
Engineering teams receive fix guidance for each finding, such as how to validate token audience, restrict tool permissions, or sandbox a local server with minimal default privileges. Good guidance names the component to change and the way to confirm the change worked. Ask whether remediation advice is included in the fixed fee or billed as separate advisory time, since that changes the quote.
Retest results
After fixes are applied, the provider retests the affected findings and records each as resolved, partially resolved, or still open. A retest is usually priced separately from the first test, so the quote should state how many retest rounds are included and the window in which they must be used. Confirm whether the retest report replaces or supplements the original findings report.
Letter summarizing the work
A letter from the provider describes the test that was performed, the dates, the scope, and the methods used, so you can share it with an auditor or a customer. This letter is a record of work done and is not an audit report, attestation or certification. Confirm with your auditor or customer in advance that a testing letter of this kind is acceptable as evidence, and agree its wording before the test starts.
How long MCP server penetration testing takes and what it needs from you
What makes an MCP server penetration test take more or less effort?
The main drivers are how many tools the server exposes, what permissions sit behind each tool, and whether the server authenticates users through OAuth. The OWASP MCP Security Cheat Sheet advises least privilege per server and per tool, so every tool and its permissions adds something to test. A server that proxies a third-party API needs authorization testing of the confused deputy case, which adds work. Third-party dependencies pulled from public registries can add supply chain review. Ask the provider to list tools, data sources and identity providers in the written scope so each driver is priced explicitly.
How long does an MCP server penetration test run from scoping to report?
No public rate card or standard duration exists for this work, so the timeline comes from the written scope rather than a fixed figure. The phases are scoping, test setup, testing, reporting and then a retest if agreed. Scoping time grows when the server count, environments and authorization model are unclear, so having an inventory ready shortens it. Ask the provider to state each phase, the dates it depends on, and who must act between phases. Timelines in a fixed-scope engagement should be agreed in writing before work starts.
Can our own team test an MCP server internally instead of hiring a provider?
Yes, internal teams can test their own servers, and the MCP security best practices give a useful checklist to work from. The question is whether they can produce evidence that an auditor, customer or insurer will accept. Independence, documented methodology and a findings report tied to the test scope are what buyers usually need. Internal testing also needs safe test environments, so tests do not touch production data or live third-party accounts. Ask any provider, including your own team, to define the scope in writing before testing starts.
What does the client need to provide before an MCP server test starts?
The provider needs enough access and context to test realistically and safely. Typical inputs are:
- A list of MCP servers, their versions and where each runs, locally or remotely
- Tool inventory with the permissions and data each tool can reach
- Authorization design, including the identity provider, OAuth clients and scopes
- A non-production environment with test accounts and test data
- Named contacts for escalation and approval of any test that could affect live systems
Missing inputs usually extend scoping, so confirm them before the quote is final.
Is a retest included in an MCP server penetration test?
Whether a retest is included depends on the written scope, so check the quote rather than assume it. A retest confirms whether the fixes for reported findings work, and it is usually priced separately from the initial test. Ask the provider to state whether retest is included, how many findings it covers, the deadline to request it, and whether it needs a fresh environment. Buyers preparing for an audit or customer review should ask for this line item explicitly.
Does a local MCP server need a different test from a remote one?
Yes. The MCP security best practices separate local servers, which run on a user's machine, from remote servers that use OAuth, and they need different test setups. Local testing focuses on how the client presents the exact command for approval, how the server is sandboxed, and what privileges it holds on the endpoint. Remote testing focuses on authorization, token handling, session management and server-side requests during OAuth discovery. A mixed estate needs both, so the quote should list each deployment model separately.
What does DeployOpen need from us to scope an MCP server test?
DeployOpen scopes MCP server tests in writing before work starts, and most engagements are fixed-scope. Scoping typically covers the server list, the local or remote deployment model, the tools and permissions behind them, the authorization design and the test environment. DeployOpen tests the MCP server, client setup and surrounding agent permissions as agreed. Quotes follow from the written scope, and DeployOpen does not publish a price list, so share the inventory above to receive a quote tied to these drivers.
How DeployOpen scopes, tests, reports and retests MCP servers
DeployOpen prices an MCP server test from a written scope, not from a rate card. The scope sets the number of tools, the deployment model, the authorization design and the depth of testing, and those choices decide the effort. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- We confirm whether the server is local, remote with OAuth, or both, since each needs a different test setup.
- We list every tool, its permissions and the backend systems it reaches, so the written scope reflects real test effort.
- We record whether the server proxies a third-party API, which adds confused deputy and token audience testing to the scope.
How we build
- We test against the MCP security best practices and the OWASP MCP Security Cheat Sheet, mapped to the agreed scope.
- We review third-party server dependencies and registry sources when they fall within the agreed scope.
- We run tests in a controlled environment that matches the client's deployment, with agreed rules of engagement.
How we hand over
- We deliver a findings report that ties each issue to the affected tool, control and MCP guidance item.
- We rate findings by impact and state the fix path for each one so engineering can act on them directly.
- We document the tested scope and exclusions so the client's auditor or customer can see exactly what was covered.
How we support
- We retest agreed findings after fixes and confirm which issues are closed in a follow-up report.
- We offer ongoing support, upgrades and continuous testing as retainers for servers that change often.
- We advise on scope changes, such as new tools or authorization flows, before any additional work starts.

